import multi domain mesh

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
daniele
Posts: 158
Joined: Wed Feb 01, 2017 11:42 am

import multi domain mesh

Post by daniele »

Dear all,

I have a .cgns meshing file, created with Ansys Meshing. I cannot find the way of making Saturne recongnize the different subdomains defined (volumes defined with different names) in the original file.
All defined boundary faces (and the internal faces between domains) are well recognized and visible in Paraview, but I could find no way to separate the domain in its subdomains: an unique whole domain is imported.

I guess there is a trivial way to solve the issue... but I could not find it!

Thank you in advance for your help.

Besr regards,

daniele
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: import multi domain mesh

Post by Yvan Fournier »

Hello,

Do you need to import only a part of the mesh or distinguish different parts ?

In any case, different meshing tools generate different subsets of CGNS, and CGNS initially had no general way of tagging volume zones in a manner similar to boundary conditions...

For unstructured meshes generated with Ansys meshing, you usually simply need to activate the "Add cell groups" option in the "Calculation Environment/Meshes Selection/List of meshes" section, choosing "section" for the appropriate mesh in the combo box.

Best regards,

Yvan
daniele
Posts: 158
Joined: Wed Feb 01, 2017 11:42 am

Re: import multi domain mesh

Post by daniele »

Thanks Yvan,

I used the "zone" option and not the "section" one in the "add cell groups"...
It is ok now.

Thanks a lot.

Best regards,

Daniele
daniele
Posts: 158
Joined: Wed Feb 01, 2017 11:42 am

Re: import multi domain mesh

Post by daniele »

Still one problem...
What is the standard way to treat internal boundaries between sub-domains?
A wall is placed on all internal interfaces, instead of an internal fluid surface.

Thanks in advance.

Best regards,

daniele
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: import multi domain mesh

Post by Yvan Fournier »

Hello,

Internal surfaces should not have walls, but simply be fluid faces (with given groups based on the mesh definition).

But this depends on how you generated your mesh: if faces from different subdomains share the same vertices, you will have interanl fluid faces. If the vertices are different (even if they have the same coordinates but different numbers/ids), you will have boundaries.

If you have boundaries you do not want, you can select boundary faces and used mesh joining in the preprocessing stage.

If you want boundaries but have internal faces, you can use the "thin walls" (renamed "insert boundaries" in V5.0) instead.

Best regards,

Yvan
Post Reply