|
[Sponsors] |
March 16, 2016, 13:50 |
edgeGrading
|
#1 |
Member
Join Date: Feb 2016
Posts: 32
Rep Power: 10 |
Hi everyone,
I'm a beginner with openFOAM. I have some problem to understand edgeGrading...I understood that I have to define the expansion ratio for each edge of the hexahedron. They are grouped along the three directions, so the first 4 edges are all the edges along X1 and so on for X2 and X3. The thing I can't understand is to which edge corresponds each number in the parenthesis . How are they ordered? Thanks! |
|
March 17, 2016, 22:39 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
I would think they are ordered from 0 to 11 within the parenthesis with edge 0 etc. being defined as described here: http://cfd.direct/openfoam/user-guide/blockMesh/ No? Cheers, Antimony |
|
March 18, 2016, 06:51 |
|
#3 |
Member
Join Date: Feb 2016
Posts: 32
Rep Power: 10 |
Hi Antimony!
Thank you for your reply! You're right. In my case, I had this error: Inconsistent number of faces between block pair 2 and 7 and I thought it was due to grading, but it wasn't. The problem was the way I had defined the blocks: I didn't take care of the order of vertices in the hex(...), but now I understood that this order defines axis X1, X2 and X3 for each block. Is it correct? |
|
March 19, 2016, 11:28 |
|
#4 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Generally if you have inconsistent number of faces, it usually means that the number of cells between the different blocks has a mismatch. Unless you are duplicating vertices (and therefore duplicating edges), the common edge shared by two blocks will need to have the same number of divisions. And yes, the ordering of the vertices determines the axes and consequently, whether or not your cells are "proper". In case your order of vertices is wrong, you will end up with cells with negative volumes which blockMesh will report during its run. Hope this helps. Cheers, Antimony |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh not producing straight lines when using edgeGrading | ivan_CFD | OpenFOAM Meshing & Mesh Conversion | 0 | February 1, 2019 10:21 |
[blockMesh] Multi-grading: Inconsistent point locations between blocks | Flowkersma | OpenFOAM Meshing & Mesh Conversion | 2 | August 2, 2015 15:34 |
Problems simulating deformation | sur4j | OpenFOAM | 0 | January 26, 2014 10:07 |
[blockMesh] EdgeGrading changes geomety | anita | OpenFOAM Meshing & Mesh Conversion | 7 | March 2, 2009 12:16 |
BlockMeshrefineMesh bug | iagmanu | OpenFOAM Bugs | 0 | February 25, 2008 09:49 |