CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Native Meshers: blockMesh (
-   -   blockMesh - help (

atareen64 June 16, 2011 11:10

blockMesh - help
2 Attachment(s)
Dear All,

I created a half laval-nozzle mesh using blockMesh and I put some effort into it. When I ran blockMesh, the mesh got created but with a lot of warnings like 'zero or negative pyramid volume'. And even though I am able to view the mesh in paraview, the I can't run the solver on it because it fails three mesh checks.

I have a hunch as to what could be wrong with the mesh but I'm not sure. Can anybody look at the mesh or the blockMesh warnings and tell me what's going on?

I'm uploading the mesh and a test case so anybody can generate blockMesh without trouble.

Thanks a lot!


MartinB June 16, 2011 12:13

Hi Ammar,

change the z-coordinates of your vertices from ( x y 5.0 ) to ( x y -5.0 ). Be careful with your vertices 76, 77, 78, 79 when using a replace command in a text editor.

As an alternative you can renumber all the hex blocks: take the last four digits and place them before the first four digits.

Have fun


atareen64 June 16, 2011 15:32


Thank you for that suggestion, it worked. Silly mistake, Thanks a lot!


All times are GMT -4. The time now is 00:09.