CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] two sided mesh refinement(in both direction) (https://www.cfd-online.com/Forums/openfoam-meshing/118233-two-sided-mesh-refinement-both-direction.html)

immortality May 23, 2013 07:43

two sided mesh refinement(in both direction)
 
Hi
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
Code:

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?

colinB May 23, 2013 11:40

the keyword is doubleGrading see below:



http://www.cfd-online.com/Forums/ope...e-grading.html

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

regards

Yosmcer May 24, 2013 04:54

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: http://openfoamwiki.net/index.php/Contrib_blockMeshDG


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