CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] two sided mesh refinement(in both direction)

Register Blogs Community New Posts Updated Threads Search

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2013, 06:43
Default two sided mesh refinement(in both direction)
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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?
__________________
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
Default
  #2
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 18
colinB is on a distinguished road
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
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
Default
  #3
Member
 
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 50
Rep Power: 17
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: http://openfoamwiki.net/index.php/Contrib_blockMeshDG
immortality likes this.
Yosmcer 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
[snappyHexMesh] problems generating clean mesh Christian_tt OpenFOAM Meshing & Mesh Conversion 2 June 20, 2019 05:39
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
Define total mesh diclpacement in theta Direction omidiut CFX 1 November 10, 2013 04:28
[blockMesh] apparently the mesh doesn't want to be created in one direction Maxime Thomas OpenFOAM Meshing & Mesh Conversion 1 August 18, 2012 06:05
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


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