|
[Sponsors] |
[blockMesh] Block Mesh Simplegrading Question |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 14, 2014, 10:47 |
Block Mesh Simplegrading Question
|
#1 |
New Member
Euan Foster
Join Date: Jan 2014
Posts: 12
Rep Power: 12 |
Dear all,
Currently, I have a complicated blockMesh in that I have specified all elements to be the same length. However this seems very inefficient computationally and I was wondering if anyone could help me out with the simplegrading algorithm. There are sudden expansions and contractions in my mesh and I want the elements to decrease in size where these two sections meet. Is there any equations out there online or any theory based on the length in an axis so I could input a simplegrading number and achieve a specified element length at the end? I appreciate any help I get. Kind regards, Euan Foster. Student |
|
February 14, 2014, 11:27 |
|
#2 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
The number you enter for grading is the expansion ratio e - the ratio of the length of the last cell and the length of the first cell.
e = d_n / d_1 -- > d_1 = e * d_n Now we define x, the expansion ratio of neighbouring cells- d_1 = x * d_2 d_2 = x * d_3 ... d_1 = x^(n-1) * d_n Now, the length of a block is the sum of the lengths of the cells. L = sum[i=1..n] { d_i } = sum[i=1..n] { d_n * e / (x^(i-1)) } Maybe, my equations are not entirely correct, but this way, you can derive relations between block length L, element number n and cell length at one end of the cell d_n. |
|
February 14, 2014, 13:05 |
|
#3 |
New Member
Euan Foster
Join Date: Jan 2014
Posts: 12
Rep Power: 12 |
Ah yeah I thought it was a geometric series or something like. Been a while since I have done them.
I found this post that allows for all that to be done automatically - http://www.cfd-online.com/Forums/ope...alculator.html In some of my sections though I need it to be fine at the start then become more coarse and end fine again. Can this be done without splitting the block up into two separate blocks?? Regards, Euan. Student |
|
February 14, 2014, 13:23 |
|
#4 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
You could define a cellSet and use refineMesh to refine the cells of the cellSet.
|
|
Tags |
blockmesh, simplegrading |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[blockMesh] External flow around cube with blockMesh | Woody8 | OpenFOAM Meshing & Mesh Conversion | 0 | March 31, 2015 15:54 |
[blockMesh] BlockMesh number internal faces and boundary | ynos | OpenFOAM Meshing & Mesh Conversion | 6 | December 13, 2011 06:36 |
ICEM 10 mesh question | DAK565656 | CFX | 6 | May 8, 2007 13:16 |