CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] locationInMesh Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2009, 13:42
Default locationInMesh Error
  #1
Member
 
James Baker
Join Date: Dec 2009
Posts: 35
Rep Power: 16
fijinx is on a distinguished road
I am very new to openFoam and am just trying to get it running at this point. However, I keep getting the error:


Refinement phase
----------------



Point (-0.018 -0.018 -0.018) is not inside the mesh or on a face or edge.
Bounding box of the mesh-0.254 -0.762 -0.762) (1.778 0.762 0.762)

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

FOAM exiting

. No matter if I choose a point inside the stl or outside (still within the bounding box) I get the same error. Any help is appreciated.

here is my setup which clearly shows the surface within the bounding box.

fijinx is offline   Reply With Quote

Old   December 16, 2009, 13:49
Default
  #2
Senior Member
 
Anonymous
Join Date: Mar 2009
Posts: 110
Rep Power: 17
madad2005 is on a distinguished road
Have a look here:

http://www.cfd-online.com/Forums/ope...-mesh-but.html

I had the same issue and I finally resolved it by manipulating the order of my initial bounding box. Can't help you much more than that, I'm afraid.
madad2005 is offline   Reply With Quote

Old   December 16, 2009, 14:34
Default
  #3
Member
 
James Baker
Join Date: Dec 2009
Posts: 35
Rep Power: 16
fijinx is on a distinguished road
Worked great, thank you!
fijinx is offline   Reply With Quote

Old   June 20, 2017, 14:30
Default same problem
  #4
New Member
 
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 8
abhinavmohan is on a distinguished road
convertToMeters 1;

vertices
(
(48 660 -2015) //0
(2000 660 -2015) //1
(2000 3000 -2015) //2
(48 3000 -2015) //3
(48 660 4000) //4
(2000 660 4000) //5
(2000 3000 4000) //6
(48 3000 4000) //7
);

blocks
(
hex (0 1 2 3 4 5 6 7) (20 8 8) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
frontAndBack
{
type patch;
faces
(
(1 2 6 5)
(0 4 7 3)
);
}
inlet
{
type patch;
faces
(
(4 5 6 7)
);
}
outlet
{
type patch;
faces
(
(0 3 2 1)
);
}
lowerWall
{
type wall;
faces
(
(0 1 5 4)
);
}
upperWall
{
type patch;
faces
(
(3 7 6 2)
);
}
);




bounding box.PNG

bounding box2.PNG

same problem can`t figure this out.

even though my STL file is in the box
abhinavmohan is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 16:19.