|
[Sponsors] |
July 2, 2010, 02:24 |
Algorithm for finding surface normals
|
#1 |
New Member
Join Date: May 2010
Posts: 7
Rep Power: 16 |
hi to all ....
As I have done unstructured meshing on symmetric aircraft using ICEM-CFD. Now i required to know how to fine positions of surface normals. Can anybody help me finding so. or any algorithm is there for finding surface normals using euler method ? |
|
July 2, 2010, 21:34 |
Mesh normals
|
#2 |
Member
Marco Evangelos Biancolini
Join Date: May 2009
Location: Rome - Italy
Posts: 80
Rep Power: 17 |
If you need the normal of a surface element it can be easily computed using the cross product (http://en.wikipedia.org/wiki/Cross_product).
For a triangular element (with nodes at p1 p2 p3): n = vers ( (p2-p1) x (p3-p1) ) where vers(v)=v / |v| is used to have a versor. If you use the half of the cross product only you get the oriented Area, very useful if you need nodal normal that can be calculated summing all the contributions of connected elements. For a 4 nodes element the normal is usually defined by the cross product of the diagonals... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible | velan | OpenFOAM Meshing & Mesh Conversion | 3 | October 22, 2015 12:05 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
[Gmsh] boundaries with gmshToFoam | ouafa | OpenFOAM Meshing & Mesh Conversion | 7 | May 21, 2010 13:43 |
CFX4: Free surface grid movement algorithm | JEYA | CFX | 0 | November 7, 2007 08:47 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |