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

snapyHexMesh Bounding box

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 18, 2012, 14:28
Default snapyHexMesh Bounding box
  #1
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 6
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, 04:44
Default
  #2
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 464
Rep Power: 10
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, 17:55
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,644
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 11:27
Default snappyHexMesh Bounding Box
  #4
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 6
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, 12:35
Default
  #5
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 9
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, 02:13
Default snapyHexMesh Bounding box
  #6
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 6
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

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


All times are GMT -4. The time now is 09:24.