CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] blockMesh warning negative volume (https://www.cfd-online.com/Forums/openfoam-meshing/147105-blockmesh-warning-negative-volume.html)

pizzaspinate January 13, 2015 08:09

blockMesh warning negative volume
 
Hi guys,

I try to blockMesh my geometry but I get the following warnings when doing so:

FOAM Warning:
From function cellModel::mag (const labelList&, const pointField&)
in file meshes/meshShapes/cellModel/cellModel.c at line 128
zero or negative pyramid volume: -3.3333e+09 for face 1
FOAM Warning:
From function cellModel::mag (const labelList&, const pointField&)
in file blockMesh/blockMeshTopology.C at line 255
negative volume block: 0, probably defined inside out

What is the reason for this?
Where can I find meshes/meshShapes/cellModel/cellModel.c and blockMesh/blockMeshTopology.C?

Thank you very much in advance for your help

fertinaz January 13, 2015 08:30

would you share your blockMeshDict?

pizzaspinate January 13, 2015 08:32

uuupss, realised my mistake and solved the problem :-)

MaralMohajer April 13, 2016 10:11

Negative Valumes in BlockMesh
 
Quote:

Originally Posted by pizzaspinate (Post 527294)
uuupss, realised my mistake and solved the problem :-)

Hii

What was your mistake ?
I'm facing same problem .

Regardss
Maral

Antimony May 15, 2016 07:30

Hi Maral,

Check the order in which you have defined your vertices and the way you have called them while defining the hex block.

As an example, assuming that you are creating a cuboid, the way I would define it is to start at the lower z value, from the bottom left point and continue in a anticlockwise way to the top left point. And then do the same for the higher z value.

I have noticed that this way allows you to avoid the inside out problem.

Hope this helps.

Cheers,
Antimony


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