CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

snapyHexMesh Bounding box

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2012, 15:28
Default snapyHexMesh Bounding box
  #1
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 14
vmsandip2011 is on a distinguished road
Hi
I have simple question.
Do snapyHexMesh always have a bounding box ?
If we have a internal flow still do we need bounding box and for what reason we need it in internal flow cases.
My another question is how do we select a particular surface for refinement
do we use loctionMesh option for that, is it a starting point of mesh ?
Please reply.
Thanks .
vmsandip2011 is offline   Reply With Quote

Old   May 19, 2012, 05:44
Default
  #2
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Hi;
don't know about the bounding box, you should try but I think it needs it anyway.
locationInMesh is a point of the mesh you want to keep. For instance let's say you are running a car. snappyHexMesh wants to know whether you want to simulate the internal of the car (mesh within the car then, where the driver sits) or the external flow (mesh outside of the car, where the air if flowing due to the motion of the car).

About the refinement of the surface, you need to add that surface within the refinementSurfaces such as:

Code:
 refinementSurfaces
{
        your_surface_name
        {
            //Surface-wise min and max refinement level
            level (3 3);
        }
}
lovecraft22 is offline   Reply With Quote

Old   May 19, 2012, 18:55
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

About the bounding box: snappyHexMesh needs an already existing mesh to work with and usually a bounding box is the easiest and simplest mesht to start with.
You can think of snappyHexMesh as an semi-autonomous discrete-space sculptor It can chisel, cut, mold, slice (and perhaps splice) cells into the form that corresponds to the criteria required.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 21, 2012, 12:27
Default snappyHexMesh Bounding Box
  #4
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 14
vmsandip2011 is on a distinguished road
Hi Bruno
Thanks for the reply.
I understood that it refines the mesh.

But as I have seen in OpenFOAM tutorials almost all are external flow cases(where snappyHexMesh is used) that is why it is required the bounding box, but is it necessary(bounding box) for internal flow too?

with regards,
Ravindra.
vmsandip2011 is offline   Reply With Quote

Old   May 21, 2012, 13:35
Default
  #5
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 17
sail is on a distinguished road
Quote:
Originally Posted by vmsandip2011 View Post
Hi Bruno
Thanks for the reply.
I understood that it refines the mesh.

But as I have seen in OpenFOAM tutorials almost all are external flow cases(where snappyHexMesh is used) that is why it is required the bounding box, but is it necessary(bounding box) for internal flow too?

with regards,
Ravindra.
it doesn't need to be a box, can be any shape you like.

but it does need to have an existing mesh to work with, so even for internal flows the easiest thing to do is to produce a box with blockMesh and start from there.
__________________
http://www.leadingedge.it/
Naval architecture and CFD consultancy
sail is offline   Reply With Quote

Old   May 26, 2012, 03:13
Default snapyHexMesh Bounding box
  #6
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 14
vmsandip2011 is on a distinguished road
Thanks for the reply
I have got one such case.

with regards,
vmsandip2011 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
[surface handling] Command line tool for finding the bounding box of an STL file terrybarnaby OpenFOAM Meshing & Mesh Conversion 8 November 4, 2016 14:09
directMappedPatch and Badly formed bounding box om3ro OpenFOAM Bugs 2 April 1, 2010 07:01
SnappyHexMesh plane surface bounding box podallaire OpenFOAM Bugs 22 August 26, 2009 08:34
bounding box in tgrid 3.6.8 Anthony ANSYS Meshing & Geometry 4 July 30, 2009 13:23
bounding box in tgrid 3.6 Anthony ANSYS 0 July 28, 2009 09:43


All times are GMT -4. The time now is 03:54.