|
[Sponsors] |
February 12, 2008, 06:19 |
Face based gradient calculation
|
#1 |
Guest
Posts: n/a
|
Hello! I am currently implementing the face based gradient calculation into a custom solver, very similar to the description in the wiki pages. However, I noticed that some Fluent meshes contain elements whose faces are non-plain. This creates troubles while calculating a good normal vector, and the gradient calculation is very wrong even with slightly non-flat faces. Currently, I define the normal vector as the mean of the opposing corners normal vectors (nodes 1,2,3,4: 0.5(21x23+43x41) )
Is there a more elaborate system of doing this? Very nice greetings, and thanks a lot Bernhard (Just for information, I use a face value that is calculated using the different material properties of the individual cells.) |
|
February 12, 2008, 17:34 |
Re: Face based gradient calculation
|
#2 |
Guest
Posts: n/a
|
split the face into triangles? each triangle has a unique normal vector.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gradient calculation in CFX | appu | CFX | 1 | May 28, 2011 07:48 |
gradient calculation in unstructured grid | gray053 | Main CFD Forum | 1 | February 27, 2011 20:26 |
Gradient of Scalar calculation in 3D BFCskew grids | james T | Phoenics | 0 | March 28, 2007 08:12 |
Calculation of face vaules with udf | rom | FLUENT | 0 | November 3, 2005 03:04 |
calculation of velocity gradient at a cylinder per | chaitanya | FLUENT | 0 | February 4, 2002 03:06 |