CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

Hyperbolic tangent stretching using BlockMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 26, 2013, 14:20
Default Hyperbolic tangent stretching using BlockMesh
  #1
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Atlanta
Posts: 139
Rep Power: 6
Joachim is on a distinguished road
Hello everyone!

I was wondering, is it possible to use hyperbolic tangent stretching with blockMesh? I have been searching for a while, but I haven't found anything other than simpleGrading...

Thank you very much!

Joachim
Joachim is offline   Reply With Quote

Old   August 29, 2013, 10:48
Default
  #2
Member
 
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 41
Rep Power: 8
Yosmcer will become famous soon enough
Quote:
Originally Posted by Joachim View Post
I haven't found anything other than simpleGrading.
Hello, you have also edgeGrading.
However, I don't really understand what you want to be "hyperbolic tangent", so it may be of no help.
Yosmcer is offline   Reply With Quote

Old   August 29, 2013, 10:56
Default
  #3
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Atlanta
Posts: 139
Rep Power: 6
Joachim is on a distinguished road
Thank you Yosmcer.
Basically, I don't want to have a constant cell expansion ratio across the domain. I would like to change the node distribution along the edge...
Joachim is offline   Reply With Quote

Old   August 29, 2013, 11:39
Default
  #4
Member
 
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 41
Rep Power: 8
Yosmcer will become famous soon enough
So edgeGrading will not do the trick (it alow only to define the grading for all edges).

I know no integrated solutions to do what you want, but add-on solutions exist, with name double grading:

http://code.google.com/p/blockmeshdg/

Is this what you are looking for?
Yosmcer is offline   Reply With Quote

Old   August 29, 2013, 11:42
Default
  #5
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Atlanta
Posts: 139
Rep Power: 6
Joachim is on a distinguished road
arg, that's not really what I am looking for, but thanks anyway!
Joachim is offline   Reply With Quote

Old   August 29, 2013, 13:43
Default
  #6
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
Hi Joachim,

The short answer to your question will be "no", but if you compare the code linked above with the standard version of blockMesh, then you should be able to identify, where the grading is implemented.

From there on it is "merely" a matter of implementing your own preferred stretching function.

Kind regards

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
set of xyz data in blockMesh psk OpenFOAM Native Meshers: blockMesh 12 August 27, 2013 08:37
How to prescribe a hyperbolic tangent profile into a transition interface of a field cfd_explorer OpenFOAM 0 August 13, 2012 04:44
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 12:59
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 8 March 12, 2008 05:58
grid generator using hyperbolic tangent function Garham Main CFD Forum 3 November 11, 2006 13:04


All times are GMT -4. The time now is 12:37.