Export to cgns creates unreadable cgns file
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.
Recently I tried to export a Salome 9.6.0 generated mesh to a cgns file for use in a SU2 solver. The resulting file could not be opened either by SU2, Paraview or cgnsview, so it appears to be corrupt. Has anyone ever come across the same problem, and found a solution for it?
BR
Hein
Hello Hein, I've came across this problem I did not manege to fix but I've found an workaround.
I've attached a script that exports the mesh to SU2.
ExportSU2File("Mesh_1","OutputMesh",["GroupToInclude1","GroupToInclude2"],["GroupToExclude"])
- Mesh_1 is the name of the mesh in Salome that you want to export
- OutputMesh is the name of the output file that will be created, (with an .su2 extension)
- GroupToIncluden is the name of the groups you want to export (usually Input, Output, Symmetry, Body ...) You must create group of faces of the boundaries of your interest otherwise you will export only the volume mesh. To create groups in Salome: Create Group --> select Edges ... (if 2D mesh), Faces ... (if 3D mesh), choose a name of the group, pick select from geometry, and select the conveniente faces in the geometry file. If you don't see any, you shall go back to the Geometry module and explode the geometry which contains the mesh.
- GroupToExclude groups that you don't want to add to your mesh
Could not attach the file.
https://drive.google.com/file/d/1xft-PHWZzuUdTZBHiTeOGHzbR64ydX-s/view?usp=sharing
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.
- History
-
Activate by h.w.olthof on Jul 19, 2021 12:47 PM