CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing & Mesh Conversion (
-   -   Icem cfd multidomain mesh conversion (

Attesz March 9, 2012 04:27

Icem cfd multidomain mesh conversion
Hi all,

I have a mesh constisting of 3 domains. Each of them are connected by one interface in icemcfd. I want to use the MRFSimpleFoam, so I export the mesh in Fluent V6format, and run the fluentMeshToFoam. However, the conversion fails. Here is the error message. Any suggestion?



Cannot find match for first face. cell model: tet first model face: 3(1 2 3) Mesh faces:

    From function create3DCellShape(const label cellIndex, const labelList& faceLabels, const labelListList& faces, const labelList& owner, const labelList& neighbour, const label fluentCellModelID)
    in file create3DCellShape.C at line 185.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/"
#1  Foam::error::abort() in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/"
 in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
 in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
#4  __libc_start_main in "/lib64/"
 in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"

bigphil March 9, 2012 05:44


Maybe if you try flutent3DMeshToFoam instead of fluentMeshToFoam?

Also, exporting each domain separately to separate cases and then merging the meshes and stitching them is an option (using mergeMeshes and stitchMesh).


waiter120 May 2, 2013 11:03

Hello, for everyone. I want share my solution of converting ICEM CFD hex mesh to OpenFOAM mesh.
This was found thanks to this amazing forum and all of its users.

So my recipe is like that.

1. Prepare mesh in ICEM CFD with all name selections
2. Export it to FLUENT_V6 (for my present experience, you don’t need specify BC in Output -> Boundary Condition (If I am wrong, please correct me))
3. Read mesh in FLUENT
4. Modify names of BC
4a. If you case is multi region (like chtMultiregionFoam). In FLUENT change type of coupled wall. From Wall to Interior (+ add interior- prefix to its name)
5. Change write-type to ascii “file/ binary-files? no”
6. Write .cas file
7. In OpenFOAM work directory
7a. fluentMeshToFoam –wrireZones fluent.cas
7b. splitMeshRegions -cellZones -overwrite

That’s ALL )))

All times are GMT -4. The time now is 16:38.