- **Main CFD Forum**
(*http://www.cfd-online.com/Forums/main/*)

- - **Algorithm for finding surface normals**
(*http://www.cfd-online.com/Forums/main/77743-algorithm-finding-surface-normals.html*)

Algorithm for finding surface normalshi 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 ? |

Mesh normalsIf 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... |

All times are GMT -4. The time now is 16:58. |