|
[Sponsors] |
[blockMesh] two sided mesh refinement(in both direction) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 23, 2013, 06:43 |
two sided mesh refinement(in both direction)
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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)
__________________
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. |
|
May 23, 2013, 10:40 |
|
#2 |
Senior Member
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 18 |
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 Last edited by colinB; May 24, 2013 at 02:10. |
|
May 24, 2013, 03:54 |
|
#3 |
Member
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 50
Rep Power: 17 |
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 |
|
|
|
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 |