CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Native Meshers: blockMesh

two sided mesh refinement(in both direction)

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

Like Tree2Likes
  • 1 Post By colinB
  • 1 Post By Yosmcer

LinkBack Thread Tools Display Modes
Old   May 23, 2013, 06:43
Default two sided mesh refinement(in both direction)
Senior Member
immortality's Avatar
Join Date: Oct 2012
Location: Iran
Posts: 2,210
Rep Power: 19
immortality is on a distinguished road
I wondering if is there a way to have a mesh grow/decrease ratio in both sides of a block without the need to break it to two blocks.
in the customary way it has ratio only in one direction
hex (1 2 5 4 10 11 14 13) (100 10 1) simpleGrading (.5 8 1)
is there a feature to refine mesh with a ratio in both directions like FLUENT and maybe other softwares?
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 23, 2013, 10:40
Senior Member
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 12
colinB is on a distinguished road
the keyword is doubleGrading see below:

be prepared it is a do-it-yourself feature of OF

immortality likes this.

Last edited by colinB; May 24, 2013 at 02:10.
colinB is offline   Reply With Quote

Old   May 24, 2013, 03:54
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 48
Rep Power: 10
Yosmcer will become famous soon enough
The other grading method in the tutorial is edgeGrading but it only allow to decompose according to the edges instead of only direction. This do not allow to have different direction of grading on the same edge.

So the solution seams to be to use this king of script. However, I's possible that you need to update it to be compatible with your openFOAM version.

Instructions seams to be there:
immortality likes this.
Yosmcer is offline   Reply With Quote


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
Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Native Meshers: snappyHexMesh and Others 13 July 4, 2017 16:27
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Native Meshers: snappyHexMesh and Others 8 September 13, 2012 09:28
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
basic of mesh refinement arya CFX 4 June 19, 2007 12:21

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