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

[blockMesh] blockMesh-grading &cell expansion ratios

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2013, 08:59
Default blockMesh-grading &cell expansion ratios
  #1
New Member
 
Luis Batista
Join Date: Mar 2013
Location: Lisboa / Setúbal
Posts: 17
Rep Power: 13
Luis Batista is on a distinguished road
Dear openFoam Users,

please help me with this simple problem.

I would like to mesh a rectangular area using blockMesh with a grading function to manipulate the cell expansion ratio. This function would tighten the mesh dimensions near the domain boundary.The cell expansion ratio would need to be governed by a sinusoidal function.

In the example below we can read "simpleGrading" and I would like to have other solutions available.

Please explain me how this can be done or point me to similar threads in the forum.

PS:
I am a begginer, please mind that if you loose the time to help me.

Regards,
Luis

"
blocks
(
hex (0 1 2 3 4 5 6 7) // vertex numbers
(10 10 10) // numbers of cells in each direction
simpleGrading (1 2 3) // cell expansion ratios
);
"
Luis Batista is offline   Reply With Quote

Old   April 16, 2013, 16:50
Default
  #2
Member
 
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 50
Rep Power: 17
Yosmcer will become famous soon enough
I am also a beginner, but I saw here that there is an other function for grading:
edgeGrading

It deliver the possibility to grade toward each edge instead of only the directions, but I think you want something more. Hope however it helps.
Yosmcer is offline   Reply With Quote

Old   April 17, 2013, 03:31
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
blockMesh is a very simple tool, I doubt you can use it for this. Either you use a more sophisticated mesher like Pointwise or ICEM or such, or you need to write some code for blockMesh.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   April 17, 2013, 04:57
Default
  #4
New Member
 
Luis Batista
Join Date: Mar 2013
Location: Lisboa / Setúbal
Posts: 17
Rep Power: 13
Luis Batista is on a distinguished road
Quote:
Originally Posted by Yosmcer View Post
I am also a beginner, but I saw here that there is an other function for grading:
edgeGrading

It deliver the possibility to grade toward each edge instead of only the directions, but I think you want something more. Hope however it helps.
Thanks for taking the time to help me.

Your intuition is correct. The option edgeGrading is not what exactly what I need.

Regards,
Luis
Luis Batista is offline   Reply With Quote

Old   April 17, 2013, 04:59
Default
  #5
New Member
 
Luis Batista
Join Date: Mar 2013
Location: Lisboa / Setúbal
Posts: 17
Rep Power: 13
Luis Batista is on a distinguished road
Quote:
Originally Posted by akidess View Post
blockMesh is a very simple tool, I doubt you can use it for this. Either you use a more sophisticated mesher like Pointwise or ICEM or such, or you need to write some code for blockMesh.
Thanks for taking the time to help me.

I also feel that I have to write some code for blockMesh. Can you help me with this and/or point me in the right direction?

Regards,
Luis
Luis Batista is offline   Reply With Quote

Old   April 17, 2013, 05:05
Default
  #6
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 18
colinB is on a distinguished road
Hey Luis Batista,

those guys were also not satisfied with the grading OF provides:

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

I'm not sure if it is exactly what you are looking for
however it eventually gives you a starting point
for own adjustments to the grading tools.

I hope I could contribute
regards
colinB is offline   Reply With Quote

Old   April 17, 2013, 05:19
Default
  #7
New Member
 
Luis Batista
Join Date: Mar 2013
Location: Lisboa / Setúbal
Posts: 17
Rep Power: 13
Luis Batista is on a distinguished road
Quote:
Originally Posted by colinB View Post
Hey Luis Batista,

those guys were also not satisfied with the grading OF provides:

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

I'm not sure if it is exactly what you are looking for
however it eventually gives you a starting point
for own adjustments to the grading tools.

I hope I could contribute
regards
Hello,

It seems that you hit the spot!

I am going to investigate this thread further and come back with an answer and hopefully share my findings.

Thanks for your support,
Luis
Luis Batista is offline   Reply With Quote

Reply

Tags
blockmesh, cell expansion ratio


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
[blockMesh] BlockMesh grading calculator hartinger OpenFOAM Meshing & Mesh Conversion 29 November 28, 2020 11:15
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[blockMesh] Create internal faces as patch in blockMesh m.delta68 OpenFOAM Meshing & Mesh Conversion 14 July 12, 2018 14:43
[blockMesh] BlockMesh Grading Ambiguity: How to Get Desired y1 dancfd OpenFOAM Meshing & Mesh Conversion 6 June 4, 2014 01:04
[blockMesh] grading in the BlockMesh Astarta OpenFOAM Meshing & Mesh Conversion 1 May 23, 2011 15:39


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