CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Boundary openness (https://www.cfd-online.com/Forums/openfoam-solving/57996-boundary-openness.html)

t42 February 5, 2009 07:02

Hi Forum, for a case of CFD
 
Hi Forum,

for a case of CFD i created a mesh with Cubit 11.0
and converted it into a Fluent-Mesh. I imported the mesh into OpenFoam with fluent3DMeshToFoam and everything was allright.

But when i did checkMesh then Boundary openness was about a scale of 1e-5 in the x-direction.

Does somebody has an idea to solve this problem.
Iám new in CFD.

for better understanding i post the error message of checkMesh:

"Checking topology...
Boundary definition OK.
Point usage OK.
Upper triangular ordering OK.
***Open cells found, number of cells: 54. This problem may be fixable using the zipUpMesh utility.
<<Writing 54 cells with over used edges to set zipUpCells
Face vertices OK.
Face-face connectivity OK.
Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces ...
Patch Faces Points Surface
wall_1 0 0 ok (empty)
sideset_zone_21 2677 2789 ok (not multiply connected)
sideset_zone_22 2677 2789 ok (not multiply connected)
sideset_zone_23 73438 73673 multiply connected surface (shared edge)
<<Writing 7 conflicting points to set nonManifoldPoints

Checking geometry...
Domain bounding box: (-0.446233 -0.157002 0.0975904) (-0.198251 0.838998 0.334923)
***Boundary openness (0.000656546 1.6448e-16 1.00521e-14) possible hole in boundary description.
***Open cells found, max cell openness: 1, number of open cells 54
<<Writing 54 non closed cells to set nonClosedCells
Minumum face area = 7.18776e-06. Maximum face area = 2.64301e-05. Face area magnitudes OK.
Min volume = 2.84406e-08. Max volume = 1.0496e-07. Total volume = 0.0442321. Cell volumes OK.
Mesh non-orthogonality Max: 26.3664 average: 3.77831
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.488558 OK.
Min/max edge length = 0.002 0.00617666 OK.
All angles in faces OK.
Face flatness (1 = flat, 0 = butterfly) : average = 0.999997 min = 0.987202
All face flatness OK.

Failed 3 mesh checks.

End"

tian February 5, 2009 07:16

Hi Marcus, I also use CUBIT
 
Hi Marcus,

I also use CUBIT 11.1 and I import the mesh in OF with: fluentMeshToFoam.

Did you try it also and checked the mesh again?

Bye
Thomas

t42 February 5, 2009 08:10

But fluentMeshToFoam is only f
 
But fluentMeshToFoam is only for 2D cases, isnīt it ?

t42 February 5, 2009 08:12

But fluentMeshToFoam is only f
 
But fluentMeshToFoam is only for 2D cases, isnīt it ?

tian February 5, 2009 08:18

Hi Marcus, I used it also f
 
Hi Marcus,

I used it also for 3D cases.

By the way, I got also some crazy error message if I used Fluent to OpenFOAM but all errors arised from my mistake in CUBIT.

Bye
Thomas

t42 February 5, 2009 08:20

I tried to make fluentMeshToFo
 
I tried to make fluentMeshToFoam, but there is still an error:

I post it:

T42@CFD:~/OpenFOAM/OpenFOAM-1.4.1/Cases> fluentMeshToFoam . WPcupopt ./WPcupopt/wpcupgasflowrev.msh -scale 0.001
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : fluentMeshToFoam . WPcupopt ./WPcupopt/wpcupgasflowrev.msh -scale 0.001
Date : Feb 05 2009
Time : 14:14:03
Host : CFD
PID : 12813
Root : /home/T42/OpenFOAM/OpenFOAM-1.4.1/Cases
Case : WPcupopt
Nprocs : 1
Create time



--> FOAM FATAL ERROR : fluentMeshToFoam: file "./WPcupopt/wpcupgasflowrev.msh" not found

From function fluentToFoam::main(int argc, char *argv[])
in file fluentMeshToFoam.L at line 894.

FOAM exiting

T42@CFD:~/OpenFOAM/OpenFOAM-1.4.1/Cases> fluentMeshToFoam . WPcupopt ./WPcupopt/wpcupgasflow.msh -scale 0.001
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : fluentMeshToFoam . WPcupopt ./WPcupopt/wpcupgasflow.msh -scale 0.001
Date : Feb 05 2009
Time : 14:14:30
Host : CFD
PID : 12819
Root : /home/T42/OpenFOAM/OpenFOAM-1.4.1/Cases
Case : WPcupopt
Nprocs : 1
Create time

Dimension of grid: 3
Number of points: 744773
Reading points
number of faces: 2155194
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Number of cells: 705275
Other readCellGroupData: 18 1 367a3 1 4
Reading uniform cells
Other readCellGroupData: 19 367a4 ac2fb 1 4
Reading uniform cells
Read zone1:3 name:wall_1 patchTypeID:wall
Reading zone data
Read zone1:5 name:interior patchTypeID:interior
Reading zone data
Read zone1:21 name:sideset_zone_21 patchTypeID:wall
Reading zone data
Read zone1:22 name:sideset_zone_22 patchTypeID:wall
Reading zone data
Read zone1:23 name:sideset_zone_23 patchTypeID:wall
Reading zone data
Read zone1:24 name:fluid_1 patchTypeID:fluid
Reading zone data
Read zone1:25 name:fluid_2 patchTypeID:fluid
Reading zone data


FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells
Building patch-less mesh...--> FOAM Warning :
From function polyMesh::polyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 577
Found 78738 undefined faces in mesh; adding to default patch.
done.

Building boundary and internal patches.
Creating patch 0 for zone: 3 start: 1 end: 0 type: wall name: wall_1
Creating patch 1 for zone: 5 start: 1 end: 2076402 type: interior name: interior
Creating patch 2 for zone: 21 start: 2076403 end: 2079079 type: wall name: sideset_zone_21
Creating patch 3 for zone: 22 start: 2079080 end: 2081756 type: wall name: sideset_zone_22
Creating patch 4 for zone: 23 start: 2081757 end: 2155194 type: wall name: sideset_zone_23
#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/T42/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/home/T42/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib64/libc.so.6"
#3 main in "/home/T42/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/fluentMeshTo Foam"
#4 __libc_start_main in "/lib64/libc.so.6"
#5 __gxx_personality_v0 in "/home/T42/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/fluentMeshTo Foam"
Speicherzugriffsfehler
T42@CFD:~/OpenFOAM/OpenFOAM-1.4.1/Cases> checkMesh . WPcupopt
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : checkMesh . WPcupopt
Date : Feb 05 2009
Time : 14:15:23
Host : CFD
PID : 12890
Root : /home/T42/OpenFOAM/OpenFOAM-1.4.1/Cases
Case : WPcupopt
Nprocs : 1
Create time

Create polyMesh for time = constant



--> FOAM FATAL ERROR : Cannot find file "points" in directory "constant/polyMesh"

From function Time::findInstance(const word& dir, const word& name)
in file db/Time/findInstance.C at line 133.

FOAM exiting

t42 February 5, 2009 08:23

I tried to make fluentMeshToFo
 
I tried to make fluentMeshToFoam, but there is still an error:

I post it:

T42@CFD:~/OpenFOAM/OpenFOAM-1.4.1/Cases> fluentMeshToFoam . WPcupopt ./WPcupopt/wpcupgasflowrev.msh -scale 0.001
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : fluentMeshToFoam . WPcupopt ./WPcupopt/wpcupgasflowrev.msh -scale 0.001
Date : Feb 05 2009
Time : 14:14:03
Host : CFD
PID : 12813
Root : /home/T42/OpenFOAM/OpenFOAM-1.4.1/Cases
Case : WPcupopt
Nprocs : 1
Create time



--> FOAM FATAL ERROR : fluentMeshToFoam: file "./WPcupopt/wpcupgasflowrev.msh" not found

From function fluentToFoam::main(int argc, char *argv[])
in file fluentMeshToFoam.L at line 894.

FOAM exiting

T42@CFD:~/OpenFOAM/OpenFOAM-1.4.1/Cases> fluentMeshToFoam . WPcupopt ./WPcupopt/wpcupgasflow.msh -scale 0.001
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : fluentMeshToFoam . WPcupopt ./WPcupopt/wpcupgasflow.msh -scale 0.001
Date : Feb 05 2009
Time : 14:14:30
Host : CFD
PID : 12819
Root : /home/T42/OpenFOAM/OpenFOAM-1.4.1/Cases
Case : WPcupopt
Nprocs : 1
Create time

Dimension of grid: 3
Number of points: 744773
Reading points
number of faces: 2155194
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Number of cells: 705275
Other readCellGroupData: 18 1 367a3 1 4
Reading uniform cells
Other readCellGroupData: 19 367a4 ac2fb 1 4
Reading uniform cells
Read zone1:3 name:wall_1 patchTypeID:wall
Reading zone data
Read zone1:5 name:interior patchTypeID:interior
Reading zone data
Read zone1:21 name:sideset_zone_21 patchTypeID:wall
Reading zone data
Read zone1:22 name:sideset_zone_22 patchTypeID:wall
Reading zone data
Read zone1:23 name:sideset_zone_23 patchTypeID:wall
Reading zone data
Read zone1:24 name:fluid_1 patchTypeID:fluid
Reading zone data
Read zone1:25 name:fluid_2 patchTypeID:fluid
Reading zone data


FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells
Building patch-less mesh...--> FOAM Warning :
From function polyMesh::polyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 577
Found 78738 undefined faces in mesh; adding to default patch.
done.

Building boundary and internal patches.
Creating patch 0 for zone: 3 start: 1 end: 0 type: wall name: wall_1
Creating patch 1 for zone: 5 start: 1 end: 2076402 type: interior name: interior
Creating patch 2 for zone: 21 start: 2076403 end: 2079079 type: wall name: sideset_zone_21
Creating patch 3 for zone: 22 start: 2079080 end: 2081756 type: wall name: sideset_zone_22
Creating patch 4 for zone: 23 start: 2081757 end: 2155194 type: wall name: sideset_zone_23
#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/T42/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/home/T42/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib64/libc.so.6"
#3 main in "/home/T42/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/fluentMeshTo Foam"
#4 __libc_start_main in "/lib64/libc.so.6"
#5 __gxx_personality_v0 in "/home/T42/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/fluentMeshTo Foam"
Speicherzugriffsfehler
T42@CFD:~/OpenFOAM/OpenFOAM-1.4.1/Cases> checkMesh . WPcupopt
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : checkMesh . WPcupopt
Date : Feb 05 2009
Time : 14:15:23
Host : CFD
PID : 12890
Root : /home/T42/OpenFOAM/OpenFOAM-1.4.1/Cases
Case : WPcupopt
Nprocs : 1
Create time

Create polyMesh for time = constant



--> FOAM FATAL ERROR : Cannot find file "points" in directory "constant/polyMesh"

From function Time::findInstance(const word& dir, const word& name)
in file db/Time/findInstance.C at line 133.

FOAM exiting

tian February 5, 2009 08:29

Hi, maybe you can send me y
 
Hi,

maybe you can send me your CUB file? This evening I can have a look and test it with OF1.5.

Bye
Thomas

openfoam_user March 26, 2010 10:26

Hi Markus,

I have encounter the same problem.

I have generated a 3D mesh with icemcfd hexa and saved the grid in fluent-v6 format.

Then I have used the fluent3DMeshToFoam utility. With success.

Then checkMesh :

Checking geometry...
Overall domain bounding box (-0.05910710787 -2.422435604 -4.610000591) (4.70996259 3.217448683 11.30000039)
Mesh (non-empty, non-wedge) directions (1 1 1)
Mesh (non-empty) directions (1 1 1)
***Boundary openness (0.373133555033 0.0329782447309 -6.55655408494e-11) possible hole in boundary description.
***Open cells found, max cell openness: 1, number of open cells 29457


Have you solved the problem of boundary openness ?

Regards,

Stephane.

openfoam_user March 26, 2010 10:35

1 Attachment(s)
Hi,

To better understand the problem I have attached a picture showing the cells of the nonClosedCells set !

Stephane.

openfoam_user April 7, 2010 10:56

Hi,

nobody has ever encountered this problem and solved it ?

Stephane.


All times are GMT -4. The time now is 03:20.