|
[Sponsors] |
June 14, 2017, 16:15 |
blockMeshdict
|
#1 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
Point (3.0001 3.0001 0.43) is not inside the mesh or on a face or edge.
Bounding box of the mesh0 600 0) (2000 2000 3000) getting this error I guess it is a simple one !!!! \ thank you |
|
June 14, 2017, 18:11 |
|
#3 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15 |
Your Y coordinate is not within the bounds.
|
|
June 15, 2017, 07:59 |
|
#4 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
okay I have an STL file with bounding box coordinates
Bounding Box : (648.269 661.283 0) (1518.03 1708.36 2014.5) how do I make sure that my STL file is inside that blockMesh? |
|
June 15, 2017, 15:07 |
|
#5 |
Senior Member
|
Into your terminal type
Code:
Blockmesh touch 1.foam paraview 1.foam Code:
Apply File --> open --> constant/triSurface/yourFile.stl Apply Last edited by student666; June 15, 2017 at 16:12. |
|
June 19, 2017, 05:20 |
|
#6 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
thanks, man
|
|
June 19, 2017, 08:16 |
|
#7 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
convertToMeters 1;
vertices ( (48 660 -2015) (2000 660 -2015) (2000 3000 -2015) (48 3000 -2015) (48 660 4000) (2000 660 4000) (2000 3000 4000) (48 3000 4000) ); blocks ( hex (0 1 2 3 4 5 6 7) (20 20 20) simpleGrading (1 1 1) ); edges ( ); boundary ( frontAndBack { type patch; faces ( (0 4 7 3) (2 6 5 1) ); } inlet { type patch; faces ( (4 5 6 7) ); } outlet { type patch; faces ( (0 3 2 1) ); } lowerWall { type wall; faces ( (1 5 4 0) ); } upperWall { type patch; faces ( (3 7 6 2) ); } ); this is my blockMeshdict i am still getting the same error |
|
June 19, 2017, 17:29 |
|
#8 | |
Senior Member
|
Quote:
So your blockMeshDict has to be a cube bigger that contains the bounding box of the STL file. You have to rearrange position of the vertexes. Some notes: 1 - I still can't figure out what you're trying to do, are you using snappyHexMesh? 2 - If I were you, I would have a further reading of the user guide.. 3 - If point 2 is not enough I think that google can help you with this issue; by these times there are many video tutorials that can help you 4 - if point 1 is true, then https://www.google.it/url?sa=t&rct=j...G0TqQaKFG0MCGw ... it's a good starting point Good luck. |
||
June 20, 2017, 15:36 |
|
#9 | |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
Quote:
i have read that i tried on the basis of it still cant figure this out would you please help me out and yes i am using snappyHexMesh as you can see that my stl file is inside bounding box. i studied what you told me to according to the best of my knowledge i was able to work through my way espically with bonding box the error which i get is it is showing the same problem i have attached my blockmeshdict bounding box.PNG bounding box2.PNG error.PNG b1.PNG b2.PNG |
||
June 20, 2017, 16:59 |
|
#10 |
Senior Member
|
Ok, so with this picture I can see that stl file is inside your background mesh, but openfoam is complaining about your
Code:
locationInMesh (3.0001 3.0001 0.48) I build your backgoround mesh and the point that is not inside the mesh (the sphere). It is now easier to see that the point is not inside the mesh... You have to move your Code:
locationInMesh |
|
June 20, 2017, 17:25 |
|
#11 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
what all do you need?
|
|
June 20, 2017, 17:35 |
|
#13 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
||
June 21, 2017, 18:18 |
|
#14 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
hey sorry to bother you again
but I tried everything it just doesn't work |
|
June 21, 2017, 18:36 |
|
#15 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15 |
Can you upload your case folder perhaps?
|
|
June 21, 2017, 18:40 |
|
#16 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
there you go
as you would have seen from previous conversation that i had with student 666 it seems like my stl file is very much inside the block but i cant figure this location in mesh thing i have attached both the files blockMeshDict.txt snappyhexmesh.txt |
|
June 21, 2017, 18:47 |
|
#17 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15 |
Try something like this
Code:
locationInMesh (51.00235 662.000231 -2000.00234); |
|
June 21, 2017, 18:48 |
|
#18 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
same error sorry
|
|
June 21, 2017, 19:21 |
|
#19 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15 |
I can recreate your original error
Code:
--> FOAM FATAL ERROR: Point (3.0001 3.0001 0.43) is not inside the mesh or on a face or edge. Bounding box of the mesh:(48 660 -2015) (2000 3000 4000) From function Foam::labelList Foam::refinementParameters::findCells(const Foam::polyMesh&) const in file snappyHexMeshDriver/refinementParameters/refinementParameters.C at line 103. FOAM exiting |
|
June 21, 2017, 19:45 |
|
#20 |
New Member
ABHINAVMOHAN
Join Date: Jun 2017
Posts: 16
Rep Power: 9 |
i am sending you my case through private message or you could provide me your email-id?
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] 2:1 refined 2D blockMeshDict with mergePatchPairs? | chrisb2244 | OpenFOAM Meshing & Mesh Conversion | 0 | December 2, 2014 00:52 |
[Other] blockMeshDict not Matching Boundary | HassanDarian | OpenFOAM Meshing & Mesh Conversion | 0 | March 19, 2014 14:30 |
[blockMesh] OpenFOAM blockMeshDict | sihaqqi | OpenFOAM Meshing & Mesh Conversion | 2 | February 1, 2013 04:49 |
PLease somebody help:problem while changing blockMeshDict file | vivek070176 | OpenFOAM Installation | 1 | June 11, 2010 18:51 |
[blockMesh] A script for combining two blockMeshDict | yingfeng | OpenFOAM Meshing & Mesh Conversion | 0 | August 26, 2009 17:05 |