CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... (
-   -   FluentMeshToFoam (

CRT May 21, 2012 09:53

Hi all,

I have a mesh file created with icem, I would like to do the simulations in OpenFOAM. I used FluentMeshToFoam to convert my file and use it. When I check the mesh all seems to be ok, however when I try to visualize the mesh with paraFoam, I can open the file and visualize the outline, but when i switch to wireframe the program breaks as well as my computer.

Do you think that there is a problem with my Mesh, maybe with paraFoam?

What i did in detail
fluent.msh file (2D unstructured mesh) converted using FluentMeshToFoam in a case folder . Within this case folder I have a system folder with the main files ( controlDict, fvSchemes and fvSolution), another folder 0 which is empty, and a constant folder with the g, Rasproperties and Transportproperties files.

from this step I get.
Create time

Dimension of grid: 2
Number of points: 906697
Reading points
Number of cells: 899548
Other readCellGroupData: d 1 db9dc 1 0
Reading mixed cells
number of faces: 1806259
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Read zone1:13 name:FLU patchTypeID:fluid
Reading zone data
Read zone1:14 name:int_FLU patchTypeID:interior
Reading zone data
Read zone1:15 name:WALL patchTypeID:wall
Reading zone data
Read zone1:16 name:AXIS patchTypeID:axis
Reading zone data
Read zone1:17 name:INLET patchTypeID:mass-flow-inlet
Reading zone data
Read zone1:18 name:GAPTOP patchTypeID:outflow
Reading zone data


dimension of grid: 2
Grid is 2-D. Extruding in z-direction by: 0.00781488
Creating shapes for 2-D cells
Building patch-less mesh...--> FOAM Warning :
From function polyMesh::polyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 614
Found 1823356 undefined faces in mesh; adding to default patch.

Building boundary and internal patches.
Creating patch 0 for zone: 14 start: 1 end: 1781999 type: interior name: int_FLU
Creating patch 1 for zone: 15 start: 1782000 end: 1804452 type: wall name: WALL
Creating patch 2 for zone: 16 start: 1804453 end: 1806185 type: axis name: AXIS
Creating patch 3 for zone: 17 start: 1806186 end: 1806249 type: mass-flow-inlet name: INLET
Creating patch 4 for zone: 18 start: 1806250 end: 1806259 type: outflow name: GAPTOP
Creating patch for front and back planes

Patch int_FLU is internal to the mesh and is not being added to the boundary.
Adding new patch WALL of type wall as patch 0
Adding new patch AXIS of type symmetryPlane as patch 1
Adding new patch INLET of type patch as patch 2
Adding new patch GAPTOP of type patch as patch 3
Adding new patch frontAndBackPlanes of type empty as patch 4

Writing mesh... to "constant/polyMesh" done.


If i check the mesh I get:

carles@ISMGT31:~/OpenFOAM/carles-2.1.0/run/2> checkMesh
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.x |
| \\ / A nd | Web: |
| \\/ M anipulation | |
Build : 2.0.x-97cf67d69932
Exec : checkMesh
Date : May 21 2012
Time : 15:40:40
Host : ISMGT31
PID : 7832
Case : /home/carles/OpenFOAM/carles-2.1.0/run/2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
points: 1813394
internal points: 0
faces: 3605355
internal faces: 1781999
cells: 899548
boundary patches: 5
point zones: 0
face zones: 0
cell zones: 0

Overall number of cells of each type:
hexahedra: 889614
prisms: 9934
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 0

Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces ...
Patch Faces Points Surface topology
WALL 22453 44910 ok (non-closed singly connected)
AXIS 1733 3468 ok (non-closed singly connected)
INLET 64 130 ok (non-closed singly connected)
GAPTOP 10 22 ok (non-closed singly connected)
frontAndBackPlanes 1799096 1813394 ok (non-closed singly connected)

Checking geometry...
Overall domain bounding box (-4.73491e-12 0 -0.00390744) (0.38 0.091 0.00390744)
Mesh (non-empty, non-wedge) directions (1 1 0)
Mesh (non-empty) directions (1 1 0)
All edges aligned with or perpendicular to non-empty directions.
Boundary openness (-6.20526e-17 -3.94744e-16 2.47734e-20) OK.
Max cell openness = 2.33542e-16 OK.
Max aspect ratio = 4.02168 OK.
Minumum face area = 3.67793e-09. Maximum face area = 3.57831e-06. Face area magnitudes OK.
Min volume = 2.87426e-11. Max volume = 1.281e-09. Total volume = 0.000242844. Cell volumes OK.
Mesh non-orthogonality Max: 20.4403 average: 4.16882
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.622065 OK.
Coupled point location match (average 0) OK.

Mesh OK.


All seems to be right

I run paraFoam, select just internalMesh and then click apply.
The program load the file, but as i said, when in the display menu i switch to wireframe the program is collapsed even the computer so I have to "restart" my computer in a bad way...

I hope someone could help me, at least to give some advice about possible errors, because itīs quite strange due to I could visualize it some time ago. I donīt know why I canīt visualize it any more...

I changed the graphic card of my computer, but i think itīs not the problem since i could visualize another mesh from tutorials cases so on.

Thanks a lot,

wyldckat May 22, 2012 16:06

Hi Carles,

Try running like this:

paraFoam -builtin
Best regards,

CRT May 24, 2012 06:12

Hi bruno,

Thanks for your reply.

What does this command do?
I didnīt try and the program seems to work. Thatīs why i donīt want to touch nothing else ;).

those interested check: http://


wyldckat May 24, 2012 16:07

Hi Carles,

When in doubt:

paraFoam -help
The "-builtin" option uses the internal reader that ParaView has for OpenFOAM. There are several differences between OpenFOAM's official reader and the internal reader, but in the end it's nice to have both options, since this way more possibilities are available.

Best regards,

All times are GMT -4. The time now is 07:37.