|
[Sponsors] | |||||
|
|
|
#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.) |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
split the face into triangles? each triangle has a unique normal vector.
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gradient calculation in CFX | appu | CFX | 1 | May 28, 2011 06:48 |
| gradient calculation in unstructured grid | gray053 | Main CFD Forum | 1 | February 27, 2011 19:26 |
| Gradient of Scalar calculation in 3D BFCskew grids | james T | Phoenics | 0 | March 28, 2007 07:12 |
| Calculation of face vaules with udf | rom | FLUENT | 0 | November 3, 2005 02:04 |
| calculation of velocity gradient at a cylinder per | chaitanya | FLUENT | 0 | February 4, 2002 02:06 |