CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] Exporting OpenFoam multiregion mesh to Fluent (https://www.cfd-online.com/Forums/openfoam-meshing/241127-exporting-openfoam-multiregion-mesh-fluent.html)

khalil.bmch February 9, 2022 15:15

Exporting OpenFoam multiregion mesh to Fluent
 
Hello Everyone,
I have generated a .unv Mesh with Salome which is basically just two cubes of different materials sharing an interface.
I want to use Fluent as a solver to solve for heat transfer. So I used OpenFoam to convert my .unv file to openfoam’s format using "ideasUnvtoFoam", after that I usually use "foamMeshtoFluent" command and everything works fine. Except that this time I need two "cell zones" in Fluent to assign 2 different materials and this method only generates one cell zone.
I then used the OpenFoam command "splitMeshRegions -cellzones -overwrite” to split the domain and the resulting mesh was indeed split when I visualize it in Paraview, but the problem remains when it comes to reading it in Fluent, still one cell zone.
I hope someone can help, thank you.

enrico_agostini August 2, 2022 10:52

follow up
 
Hi Khalil, do you have any news? I want to do something similar, but using simply snappyHexMesh. Did you find any solution that works?

khalil.bmch August 2, 2022 14:33

Hello Enrico,

I solved this problem by generating as many meshes as cell zones, then appending them successively in Ansys Fluent.
So you have to import the first mesh (corresponding to your first region), then append the second one to it. Doing so generates a new cell zone in Fluent. Just don't forget to correctly configure the interface and you're good to go !


All times are GMT -4. The time now is 15:27.