|
[Sponsors] |
November 2, 2010, 06:59 |
face order in fvMesh constructor
|
#1 | ||
New Member
Patricia
Join Date: Oct 2010
Posts: 22
Rep Power: 16 |
Hello,
I am looking for information about the required order of faces in the faceList when using the constructor Quote:
The following code fragment creates two connected hexahedrons with dimensions (dx,dy,dz)=(0.5,1,1) each. ParaView shows that an extra vertex has been created (first attached image). If I reorder the faces 0..5 as shown in the commented section of the code, the paraFoam output looks good (second attached image). Why is the order of the argument "const Xfer< faceList > &faces" relevant, and is the correct order documented anywhere? Thanks Patricia Here is the code fragment, which creates a fvMesh from a pointField, faceList, owner and neighbour list: Quote:
|
|||
November 2, 2010, 10:01 |
|
#2 |
Senior Member
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 18 |
Hi Patricia,
I haven't worked with this constructor yet, but in general the internal faces of a mesh have to be on top of the faceList (in your case only the face 4(1 4 10 7), therefore it must be the first element). I'm not sure, if the order of the boundary faces is important, too, but you can check (just make sure, that the internal face is the first one). In addition the faces should be defined obeying the right-hand-rule but you have already done this way. Regards, Stefan |
|
November 2, 2010, 10:42 |
|
#3 | |
New Member
Patricia
Join Date: Oct 2010
Posts: 22
Rep Power: 16 |
Thank you, Herbert
after reading your reply I have also found this explanation in the Wiki: Quote:
Thanks Patricia |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 06:50 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |