Using a Fluent mesh

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Cbarnaud
Posts: 36
Joined: Tue Oct 22, 2019 10:28 am

Using a Fluent mesh

Post by Cbarnaud »

Hello,

I have a question for the community: I got a mesh from Fluent in a .msh format and I translate it with ICEM to a cgns format. I would like to import it into Code_Saturne/Salome and place the boundaries conditions on groups which are already existing.
The problem is that the groups recognized as "groups of Nodes" and not "groups of faces", how should I deal with it? I can see them in the meshing process but I don't know what to do with it after, once the med file is exported.
I've tried the preprocessing shown in the "Shear Driven Cavity Flow" tutorial but it didn't work. I can't get the list of boundaries.

Best regards,
Camille.
Yvan Fournier
Posts: 4222
Joined: Mon Feb 20, 2012 3:25 pm

Re: Using a Fluent mesh

Post by Yvan Fournier »

Hello,

Once the mesh is exported, options are limited (and defining BCs at faces instead of vertices is an option in the ICEM export, so that is the best place to change it).

In code_saturne, in the GUI, you have a few import options specific to CGNS which may help when using meshes generated by ICEM for example, which allow adding groups based on face or cell sections in the file. You may try those.

Regards,

Yvan
Cbarnaud
Posts: 36
Joined: Tue Oct 22, 2019 10:28 am

Re: Using a Fluent mesh

Post by Cbarnaud »

Thanks for your answer, it helps a lot.

I explored ICEM and translate perfectly a mesh from fluent to code_saturne (in CGNS format).
I will share it for those who need it :
. In ICEM-CFD, import your mesh in .msh format. (Parts are already defined, so you have nothing to change.)
. Go to mesh >> output
. Set the output solver to 'CGNS'
. Follow the steps to export your mesh (a lot of saves to do)
. Then it will stop on a screen where you have options, there is a choice between faces and nodes for BC (choose wisely)

Finally, it's done. It's not obvious: the first time I did it, an automatic setup has been set so I get BC on nodes and not on faces. I don't know why but I tried several times before the options screen pop-up.

Camille.
Post Reply