CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... (http://www.cfd-online.com/Forums/openfoam-meshing-other/)
-   -   Converting multiregions mesh from Icem CFD to OpenFoam (http://www.cfd-online.com/Forums/openfoam-meshing-other/118839-converting-multiregions-mesh-icem-cfd-openfoam.html)

mscheng June 5, 2013 10:17

Converting multiregions mesh from Icem CFD to OpenFoam
 
Hi FOAMERs,

how to convert multiregions mesh from Icem CFD to OpenFoam ?

Thanks!
mscheng

billie June 6, 2013 02:08

Quote:

Originally Posted by mscheng (Post 432220)
Hi FOAMERs,

how to convert multiregions mesh from Icem CFD to OpenFoam ?

Thanks!
mscheng

Icem should be able to export the mesh to Fluent format. Afterwards you can use fluent3DMeshToFoam. It handles multiple regions well. If you prefix the internal faces with inte_* they are properly recognized as faceZones. The same goes for fluid_* for fluids, solid_* for solids which creates the cellZones. wall_*, inflow_* outflow_* creates the appropriate patches.

mscheng June 6, 2013 02:16

Quote:

Originally Posted by billie (Post 432343)
Icem should be able to export the mesh to Fluent format. Afterwards you can use fluent3DMeshToFoam. It handles multiple regions well. If you prefix the internal faces with inte_* they are properly recognized as faceZones. The same goes for fluid_* for fluids, solid_* for solids which creates the cellZones. wall_*, inflow_* outflow_* creates the appropriate patches.

Hi billie,

can you show me detailed steps to do it?

billie June 6, 2013 03:03

Quote:

Originally Posted by mscheng (Post 432344)
Hi billie,

can you show me detailed steps to do it?

I think I already told you what to do:
Use the naming convention I mentioned above in your Icem project.
Export the mesh to fluent fomat
Run fluent3dMeshToFoam on the exported mesh.

Probably there will be errors as fluent3dMeshToFoam requires some OpenFoam project files like controlDict in your system folder. Maybe there are others.

The steps required are also dependent on what you are up to with your mesh. Check if there are tutorials matching your task and try to run them first. Afterwards adapt the tutorial to your case.

mscheng June 6, 2013 03:28

Quote:

Originally Posted by billie (Post 432357)
I think I already told you what to do:
Use the naming convention I mentioned above in your Icem project.
Export the mesh to fluent fomat
Run fluent3dMeshToFoam on the exported mesh.

Probably there will be errors as fluent3dMeshToFoam requires some OpenFoam project files like controlDict in your system folder. Maybe there are others.

The steps required are also dependent on what you are up to with your mesh. Check if there are tutorials matching your task and try to run them first. Afterwards adapt the tutorial to your case.

Hi, billie,
According to your method, I have tried it, but it only generate a polymesh folder. I need a polymesh for fluid and one for solid.

billie June 6, 2013 03:43

Quote:

Originally Posted by mscheng (Post 432359)
Hi, billie,
According to your method, I have tried it, but it only generate a polymesh folder. I need a polymesh for fluid and one for solid.

Take a look at the splitMeshRegions utility.


All times are GMT -4. The time now is 00:29.