Page 1 of 1

Import mesh from ICEM to Code_Saturne via CGNS

Posted: Mon Dec 14, 2020 5:12 pm
by Ruonan
Dear all,

Please could you help me with some confusions about import mesh from ICEM to Code_Saturne via CGNS format?

1. When export mesh from ICEM, I changed three options from default to: "Create default BC patches-Yes", "Entities to use for BC patch-Face elements", "Create Bar and Node elements-Yes", see the figure below. Is this correct?
export mesh from ICEM.png

2. When import mesh to Code_Saturne 6.0.5 via GUI, I changed two options "Add face groups" and "Add cell groups" from default "off" to "zone", see the figure below. Is this correct? What does the options "off, section, zone" here mean?
input mesh to saturne.png

Thank you very much for your help! :)

Best regards,
Ruonan

Re: Import mesh from ICEM to Code_Saturne via CGNS

Posted: Tue Dec 15, 2020 12:12 am
by Yvan Fournier
Hello,

Did you check the detailed documentation ? https://www.code-saturne.org/cms/sites/ ... tdesc_cgns

Your settings seem OK. Did you check/visualize the mesh import in code_saturne in "processeiing only" or "mesh quality only" mode (under mesh/execution mode) ?

Best regards,

Yvan

Re: Import mesh from ICEM to Code_Saturne via CGNS

Posted: Tue Dec 15, 2020 3:18 pm
by Ruonan
Hello Yvan,

Thanks for the link to CGNS documentation. I learned from that.

I selected "Mesh preprocessing only" under Mesh-Execution mode, ran preprocessing and got a preprocessor.log file (attached below). I found there are no errors in it. Perhaps my settings about meshes are OK.

Best regards,
Ruonan

Re: Import mesh from ICEM to Code_Saturne via CGNS

Posted: Tue Dec 15, 2020 6:31 pm
by Yvan Fournier
Hello,

Did you visualize the generated post-processing mesh ? And check the zones appearing in the run_solver.log ?

That should tell you whether everything worked as expected.

Regards,

Yvan

Re: Import mesh from ICEM to Code_Saturne via CGNS

Posted: Mon Dec 21, 2020 3:25 pm
by Ruonan
Hello Yvan,

Thanks for your reply. I checked "surface with edges" of the results in paraview, which looks good. And the zones appeared in run_solver.log correctly. So I think the mesh importing worked well.

Best regards,
Ruonan