|
[Sponsors] |
[blockMesh] Hyperbolic tangent stretching using BlockMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 26, 2013, 15:20 |
Hyperbolic tangent stretching using BlockMesh
|
#1 |
Senior Member
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15 |
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 |
|
August 29, 2013, 11:48 |
|
#2 |
Member
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 50
Rep Power: 16 |
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. |
|
August 29, 2013, 11:56 |
|
#3 |
Senior Member
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15 |
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... |
|
August 29, 2013, 12:39 |
|
#4 |
Member
Yosmcer Mocktai
Join Date: Apr 2013
Location: Behind a computer
Posts: 50
Rep Power: 16 |
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? |
|
August 29, 2013, 12:42 |
|
#5 |
Senior Member
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15 |
arg, that's not really what I am looking for, but thanks anyway!
|
|
August 29, 2013, 14:43 |
|
#6 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |