diff --git a/doc/changelog.d/1103.miscellaneous.md b/doc/changelog.d/1103.miscellaneous.md new file mode 100644 index 0000000000..cb6a5cebee --- /dev/null +++ b/doc/changelog.d/1103.miscellaneous.md @@ -0,0 +1 @@ +Create solver_translation.rst \ No newline at end of file diff --git a/doc/source/images/fe2ansys_abaqus_import.png b/doc/source/images/fe2ansys_abaqus_import.png new file mode 100644 index 0000000000..fecf07a6f6 Binary files /dev/null and b/doc/source/images/fe2ansys_abaqus_import.png differ diff --git a/doc/source/images/fe2ansys_cdb_export.png b/doc/source/images/fe2ansys_cdb_export.png new file mode 100644 index 0000000000..1841e23740 Binary files /dev/null and b/doc/source/images/fe2ansys_cdb_export.png differ diff --git a/doc/source/user_guide/solver_translation.rst b/doc/source/user_guide/solver_translation.rst new file mode 100644 index 0000000000..8b70e60222 --- /dev/null +++ b/doc/source/user_guide/solver_translation.rst @@ -0,0 +1,52 @@ +.. _ref_index_solver_translation: + +****************** +Solver translation +****************** + +Solver translation (commonly known as FE2Ansys) translates Abaqus input deck to Ansys solver decks (MAPDL and LS-DYNA). +The translation ensures that the abaqus model can be used in Ansys without recreating them from scratch. +It helps to save time and efforts even though minor manual adjustments may be required. +The manual adjustments like redefining boundary conditions, loads, and material properties, +ensures that the model behaves as expected in Ansys solver deck. + +The following example shows the translation of Abaqus input file to MAPDL file format: + +1. Import the Abaqus file. + + .. code-block:: python + + file_io = prime.FileIO(model=model) + import_results = file_io.import_abaqus_inp( + r"E:/test2/Abaqus_Input_multistep.inp", + prime.ImportAbaqusParams(model), + ) + print(import_results) + + The import_abaqus_inp imports the abaqus file as mesh, extracts simulation specific information from the abaqus file and + stores the information in Prime as a JSON document. :class:`ImportAbaqusParams ` + allows you to set the parameters for importing the model. The example uses default parameters for importing the model. + + **Output**: + + .. figure:: ../images/fe2ansys_abaqus_import.png + +2. Export the file in MAPDL format. + + .. code-block:: python + + mapdl_params = prime.ExportMapdlCdbParams(model=model) + mesh_file_cdb = os.path.join(r"E:\test3\Abaqus_Input_multistep.cdb") + export_cdb_result = file_io.export_mapdl_cdb( + mesh_file_cdb, + params=mapdl_params, + ) + print(export_cdb_result) + + :class:`ExportMapdlCdbParams ` allows setting parameters to control + the export of MAPDL CDB files. + + :class:`ExportMapdlCdbResults ` contains the summary + result of the export process in json format. This writes the .cdb file to the specified location. + + .. figure:: ../images/fe2ansys_cdb_export.png diff --git a/doc/styles/config/vocabularies/ANSYS/accept.txt b/doc/styles/config/vocabularies/ANSYS/accept.txt index 2187858b64..ca7b5c07a5 100644 --- a/doc/styles/config/vocabularies/ANSYS/accept.txt +++ b/doc/styles/config/vocabularies/ANSYS/accept.txt @@ -1,4 +1,5 @@ abc +(?i)Abaqus (?i)Ansys (?i)Apis AutoMesh @@ -15,11 +16,13 @@ Fluent Meshing's geodesical hexahedra hexcore +_inp ignore_orientation ignore_self_proximity IGA [Ii]sogeometric JTOpen +JSON [Ll]inux [Ll]ucid Material Point Manager