CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing & Mesh Conversion (
-   -   nonClose surfaces error by conversion from Star CCM+ to OpenFOAM (

fshak92 January 11, 2013 18:25

nonClose surfaces error by conversion from Star CCM+ to OpenFOAM
I've created a 2d mesh on an airfoil in Star CCM+ and then converted it by ccm26ToFoam to OpenFOAM.
It worked and the residuals were not so bad.
For having the orthogonal mesh around airfoil, i added some prism layer in star ccm around airfoil but when i converted it to OpenFOAM i couldn't run the simulation even for 1 iteration.With checkMesh,i've got some errors for example many nonClosed surfaces on the surface of the airfoil.
Checking mesh in StarCCM did not give me these errors.
Does anybody know what the problem is?

You can see the errors after first iteration here:
Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

#0 Foam::error:: printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/"
#2 in "/lib/x86_64-linux-gnu/"
#3 Foam::surfaceInterpolation::makeWeights() const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/"
#4 Foam::surfaceInterpolation::weights() const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/"
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/simpleFoam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/"
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/simpleFoam"
Floating point exception (core dumped)


Thanks in advance.

nimasam February 6, 2013 02:44

Dear omid
OpenFOAM is a 3D solver, as you create a mesh in 2D and import it in OpenFOAM, it will convert your 2D mesh into a 3D one, by increment of thickness , However it would be great if you put your checkMesh report here not result of run ;)

behne August 14, 2014 07:09

same error
I have exatly the same error. I use a hexa mesh (3D airfoil) built in ICEM and converted with fluent3dmeshtofoam. The Simulation ran (k-w SST without wallfunctions) before i changend the yplus value to 1. OF checkmesh was OK except the high aspect ratio.
Any ideas? And what is about surface interpolation?

Mesh stats
points: 248488
internal points: 0
faces: 495908
internal faces: 247420
cells: 123888
faces per cell: 6
boundary patches: 6
point zones: 0
face zones: 1
cell zones: 1

Overall number of cells of each type:
hexahedra: 123888
prisms: 0
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
AIRFOIL 356 712 ok (non-closed singly connected)
FRONTANDBACK 247776 248488 ok (non-closed singly connected)
INLET 59 120 ok (non-closed singly connected)
OUTLET 59 120 ok (non-closed singly connected)
BOTTOM 119 240 ok (non-closed singly connected)
TOP 119 240 ok (non-closed singly connected)

Checking geometry...
Overall domain bounding box (-50 -50 0) (51 50 0.1)
Mesh (non-empty, non-wedge) directions (1 1 1)
Mesh (non-empty) directions (1 1 1)
Boundary openness (2.61847e-20 1.5194e-19 7.92671e-17) OK.
***High aspect ratio cells found, Max aspect ratio: 154854, number of cells 35670
<<Writing 35670 cells with high aspect ratio to set highAspectRatioCells
Minimum face area = 4.88849e-10. Maximum face area = 1.43075. Face area magnitudes OK.
Min volume = 4.88849e-11. Max volume = 0.143075. Total volume = 1004.98. Cell volumes OK.
Mesh non-orthogonality Max: 46.3972 average: 24.0621
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 2.5668 OK.
Coupled point location match (average 0) OK.

All times are GMT -4. The time now is 13:40.