about the fluent format mesh for openfoam
Dear All,
My mesh was generated from ICEM and then output as the FLUENT V6 format. In the mesh file, actually, first the node information is list and then all the face information. The confusing for me now is the face information. For each triangular face, we have the following line for it: Code:
n0 n1 n2 cr cl Code:
This is an example of the triangular face format; the actual number of nodes depends on the element type. The ordering of the cell indices is important. The first cell, cr, is the cell on the right side of the face and cl is the cell on the left side. Code:
http://www.tchpc.tcd.ie/fluent/Unpacked_ISOs/TGrid__4.0_Documentation/tgrid4.0/help/html/ug/node380.htm The second question from the boundary face. In my case, I found that for all the physical boundary faces (like walls, inlet, ......, but excluding the inter-processor boundary faces), cr is non-zero whihle cl is zero. Since this is boundary face, so the non-zero cr must correspond to the interior cell what contains that face of interest. If I still assume face area vectors from owner (left) to neighbor (right) cells, this seems contradictory to my understanding: the normal of the boundary faces always point outwards, i.e. the interior cell is always owner. Does anybody help me about this issue? Thanks. OFFO |
Hi OFFO,
Sorry, I came to this thread since you asked me, but I'm having a hard time to understand what exactly you want to know or do!?
Bruno |
Thanks, Bruno.
I just would like to ask how the cr and cl in the fluent mesh file correspond to the owner and neighbor cells in openfoam. Because I always use fluent mesh format to convert it into openfoam format. Thanks. |
Hi OFFO,
The best I can do is to tell you to study the source code of the utility fluent3DMeshToFoam. The location for this code is given by this command: Code:
echo $FOAM_UTILITIES/mesh/conversion/fluent3DMeshToFoam Also, try having a look into the threads at this subforum: OpenFOAM Meshing Format & General Technical Good luck! Best regards, Bruno |
All times are GMT -4. The time now is 10:24. |