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

[blockMesh] Hyperbolic tangent stretching using BlockMesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2013, 15:20
Default Hyperbolic tangent stretching using BlockMesh
  #1
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15
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, 11:48
Default
  #2
Member
 
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 50
Rep Power: 16
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, 11:56
Default
  #3
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15
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, 12:39
Default
  #4
Member
 
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 50
Rep Power: 16
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, 12:42
Default
  #5
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15
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, 14:43
Default
  #6
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prescribe a hyperbolic tangent profile into a transition interface of a field cfd_explorer OpenFOAM 1 March 5, 2021 18:21
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 20:15
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 09:37
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 03:02.