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

Add layers- symmetric boundary condition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 28, 2009, 05:38
Default Add layers- symmetric boundary condition
  #1
Senior Member
 
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 8
prapanj is on a distinguished road
Hi,

I have attached a rough picture of the domain I am planning to solve. The floor and ceiling mentioned in the fig are actually symmetry boundary conditions. So I want layers to be added all through the cylinder wall. But this doesn't happen( even after I played with a number of parameters). What I actually want is to have layers present from the floor till ceiling around the cylinder. For some reason the layers thin down towards the floor and ceiling and no layers are seen at the floor and ceiling.

Can any one tell me if I can achieve what i want?

Thank you

prapanj
Attached Images
File Type: png path3208.png (25.1 KB, 39 views)

Last edited by prapanj; May 28, 2009 at 05:40. Reason: wanted to add tags so that people can find this post by a search and get use out of it.
prapanj is offline   Reply With Quote

Old   May 28, 2009, 06:27
Default
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

I assume you are using snappyHexMesh. As far as I know, what you want to do is still not possible with the current version of snappyHexMesh. I also have the same problem as you do, and if you search here in the forum you will notice we are not the only ones.

Maybe an option would be to add layers both to the cylinder and symmetry planes.

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   May 28, 2009, 06:34
Default
  #3
Senior Member
 
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 8
prapanj is on a distinguished road
Hi Santos,

Good to know there are few more in the same boat I considered using a complete blockMesh grid, like a H grid. But I am going to have another cylinder and will have to constantly rotate these. So it's going to be difficult. I need a y+ of 1.0 for my case. If I just go for surface-wise refinement, I will end up in too many cells. The best option for me is to add layers. Another problem is that I am unable to add more than 10 layers. Do you know of any parameters that relaxes snappy to add layers in difficult times too .( )

Prapanj.

PS: sorry about not mentioning this as a snappyHexMesh issue though I was posting this under snappyhexmesh section.
prapanj is offline   Reply With Quote

Old   May 28, 2009, 08:26
Default
  #4
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
Try playing around with expansionRatio, minThickness, finalLayerRatio and nGrow. Unfortunately, I am not totally sure what is the effect of each of these parameters.

Good luck!

Jose Santos
santos is offline   Reply With Quote

Old   May 28, 2009, 23:49
Default
  #5
Senior Member
 
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 8
prapanj is on a distinguished road
Santos,

I think I understand what those parameters do.

expansion ratio: is the relative thickness of the layers. If the inner most is one, the next will be 1.5 and the third will be 2.25 etc if it is set to 1.5.

minthickness: It is to prevent the layer becoming thinner than this value.

finalLayerratio: It is the ratio between outer most layer's width and the next outer cell. I understand that finalLayer ratio and expansion ratio are the two parameters that let us get the layer thickness we need.

I am not sure what nGrow does. I think I will be able to add more layers only by setting the advanced parameters or the mesh Quality parameters. Because layers are added after the domain is meshed. And during layer addition, the surrounding mesh is moved outward.

Thanks

Prapanj.
prapanj 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
UDS problem with wall boundary condition Alex F. FLUENT 14 August 6, 2014 05:08
how to set up a wall boundary condition according to calculated wall shear stress? gameoverli OpenFOAM Pre-Processing 1 May 21, 2009 08:28
pressure boundary condition in fractional step Jean-Fran├žois Corbett Main CFD Forum 3 January 10, 2006 09:49
Dynamic Temperature Boundary Condition Kshitij FLUENT 0 October 12, 2005 13:40
Boundary layers problem carlos ortiz FLUENT 0 September 20, 2004 20:55


All times are GMT -4. The time now is 06:08.