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

[blockMesh] how to create a dense mesh in blockMeshdict?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2015, 15:11
Smile how to create a dense mesh in blockMeshdict?
  #1
New Member
 
Shanmukhi
Join Date: Jul 2015
Posts: 2
Rep Power: 0
Shanmukhi is on a distinguished road
hello Every1,
I am A.Shanmukhi Krishna ,
I am very new to OpenFoam ., I am practicing the tutorials to get a basic knowledge of coding and to create a blockMeshdict.

So my problem is that I had made an mixing elbow and its meshing by coding in the bolckMeshdict , then I want to make the mesh dense near the both the edges of the walls by 'simpleGrading' option.

I am able to make the mesh dense only on one side by changing (i.e increasing or decreasing the values of 'x' 'y' & 'z' ) but

My problem is how to make mesh dense on both the sides of the walls.

Here I am giving my 'block '
blocks
(
hex (13 12 1 0 27 26 15 14) (30 20 1) simpleGrading (1 2.5 1) //_0
hex (12 11 2 1 26 25 16 15) (20 20 1) simpleGrading (1 2.5 1) //_1
hex (11 8 3 2 25 22 17 16) (8 20 1) simpleGrading (1 2.5 1) //_2
hex (8 7 4 3 22 21 18 17) (20 20 1) simpleGrading (1 2.5 1) //_3
hex (7 6 5 4 21 20 19 18) (30 20 1) simpleGrading (1 2.5 1) //_4
hex (10 9 8 11 24 23 22 25) (8 20 1) simpleGrading (1 2.5 1) //_5
);


So here in the top . I had changed the simple grading 'Y' direction value to make mesh denser at one side of the wall , but I want on both the sides,

Can anyone help me for this ..


Thankyou .,

Shanmukhi
Shanmukhi is offline   Reply With Quote

Old   August 3, 2015, 15:23
Default
  #2
Senior Member
 
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 220
Rep Power: 19
tas38 is on a distinguished road
Quote:
Originally Posted by Shanmukhi View Post
hello Every1,
I am A.Shanmukhi Krishna ,
I am very new to OpenFoam ., I am practicing the tutorials to get a basic knowledge of coding and to create a blockMeshdict.

So my problem is that I had made an mixing elbow and its meshing by coding in the bolckMeshdict , then I want to make the mesh dense near the both the edges of the walls by 'simpleGrading' option.

I am able to make the mesh dense only on one side by changing (i.e increasing or decreasing the values of 'x' 'y' & 'z' ) but

My problem is how to make mesh dense on both the sides of the walls.

Here I am giving my 'block '
blocks
(
hex (13 12 1 0 27 26 15 14) (30 20 1) simpleGrading (1 2.5 1) //_0
hex (12 11 2 1 26 25 16 15) (20 20 1) simpleGrading (1 2.5 1) //_1
hex (11 8 3 2 25 22 17 16) (8 20 1) simpleGrading (1 2.5 1) //_2
hex (8 7 4 3 22 21 18 17) (20 20 1) simpleGrading (1 2.5 1) //_3
hex (7 6 5 4 21 20 19 18) (30 20 1) simpleGrading (1 2.5 1) //_4
hex (10 9 8 11 24 23 22 25) (8 20 1) simpleGrading (1 2.5 1) //_5
);


So here in the top . I had changed the simple grading 'Y' direction value to make mesh denser at one side of the wall , but I want on both the sides,

Can anyone help me for this ..


Thankyou .,

Shanmukhi
"Two-way" grading of an edge was implemented in OF version 2.4+. So if you are using and older version, you can only perform simple edge mesh grading (1-direction).

See section 5.3.1.4 of the linked page for details:

http://cfd.direct/openfoam/user-guide/blockmesh/
tas38 is offline   Reply With Quote

Reply

Tags
blockmesh simplegrading


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
[ICEM] Airfoils meshing, how create a more dense mesh region? Bigio ANSYS Meshing & Geometry 9 March 8, 2022 15:32
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
How Can I create the mesh by using a quarter of mesh? sasanghomi FLUENT 0 July 29, 2013 17:15
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
Actuator disk model audrich FLUENT 0 September 21, 2009 08:06


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