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/)
-   -   [snappyHexMesh] snappyHexMesh error (https://www.cfd-online.com/Forums/openfoam-meshing/115596-snappyhexmesh-error.html)

Lana April 3, 2013 02:53

snappyHexMesh error
 
Hello Foamers
I am trying to do snappyHexMesh my aerodynamic model.
What I am confused now is the locationInMesh. I put the point inside the region to be meshed. But the error came out like below.

--> FOAM FATAL ERROR:
Point (-9 0.00048 -2.2) is not inside the mesh or on a face or edge.
Bounding box of the mesh:(-10 -5 -2.8) (20 5 4.7)

From function refinementParameters::findCells(const polyMesh&) const
in file autoHexMesh/autoHexMeshDriver/refinementParameters/refinementParameters.C at line 122.

Help!

Thanx!

nimasam April 3, 2013 05:18

it is inside region but may be it is placed on cell face, remember
it should be in side cell not on cell faces ;), play with it , it will work

Lana April 4, 2013 03:24

Thanx!
I have tried it but no luck it does not work.
Is there any other problem with the error
From function refinementParameters::findCells(const polyMesh&) const
in file autoHexMesh/autoHexMeshDriver/refinementParameters/refinementParameters.C at line 122.

nimasam April 4, 2013 09:06

a basic question :) did you create any based mesh with blockMesh at all?
as you know, you should first make a base domain with blockMesh, then you can use snappyhexMesh to create your geometry in base domain

Lana April 4, 2013 20:07

Yes, I have created blockMesh and checked in paraview. the mesh does exist.

wyldckat April 14, 2013 08:39

Greetings Lana,

Not much information to work with...
  1. Where exactly is the point you are defining for "locationInMesh"?
    • From the first post, it seems that the point is inside the initial mesh, but it seems to either have land on a surface of the geometry or on a face/vertez of one of the initial mesh's cells.
    • It also possible that you've placed the point inside a zone in the mesh that is not meshed... which could occur if the base mesh is already missing cells inside the indicated bounding box.
  2. Without at least an image of your initial base mesh and geometry inside it, it's very hard to diagnose the problem. Can you provide an image or a simplified version of your case?
  3. Have you tried HelyxOS? http://sourceforge.net/p/helyx-os/wiki/Home/
Best regards,
Bruno


All times are GMT -4. The time now is 06:39.