CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

snappyHexMesh error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 3, 2013, 02:53
Default snappyHexMesh error
  #1
New Member
 
Join Date: Apr 2013
Posts: 8
Rep Power: 4
Lana is on a distinguished road
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!
Lana is offline   Reply With Quote

Old   April 3, 2013, 05:18
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   April 4, 2013, 03:24
Default
  #3
New Member
 
Join Date: Apr 2013
Posts: 8
Rep Power: 4
Lana is on a distinguished road
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.
Lana is offline   Reply With Quote

Old   April 4, 2013, 09:06
Default
  #4
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   April 4, 2013, 20:07
Default
  #5
New Member
 
Join Date: Apr 2013
Posts: 8
Rep Power: 4
Lana is on a distinguished road
Yes, I have created blockMesh and checked in paraview. the mesh does exist.
Lana is offline   Reply With Quote

Old   April 14, 2013, 08:39
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user defined function cfduser CFX 0 April 29, 2006 10:58


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