|
[Sponsors] |
[Commercial meshers] about the fluent format mesh for openfoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2014, 14:55 |
about the fluent format mesh for openfoam
|
#1 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
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. Direction is determined by the right-hand rule. It states that, if you curl the fingers of your right hand in the order of the nodes, your thumb will point to the right side of the face. In 2D grids, the k vector pointing outside the grid plane is used to determine the right-hand-side cell ( cr) from k*r . 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 |
|
April 16, 2014, 15:20 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
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 |
|
April 16, 2014, 15:22 |
|
#3 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
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. |
|
April 16, 2014, 15:44 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 13:41 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
few quesions on ANSYS ICEMCFD and FLUENT | Prakash.Paudel | ANSYS | 0 | August 12, 2010 12:07 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 18:10 |
Convert FLUENT mesh to some other format for STAR? | Jiaying Xu | FLUENT | 3 | December 5, 2002 08:15 |