CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

Algorithm for finding surface normals

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 2, 2010, 01:24
Post Algorithm for finding surface normals
  #1
New Member
 
Join Date: May 2010
Posts: 7
Rep Power: 7
Deevyendu is on a distinguished road
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 ?
Deevyendu is offline   Reply With Quote

Old   July 2, 2010, 20:34
Default Mesh normals
  #2
meb
Member
 
Marco Evangelos Biancolini
Join Date: May 2009
Location: Rome - Italy
Posts: 77
Rep Power: 8
meb is on a distinguished road
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...
meb is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Gmsh nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 19 Yesterday 05:10
Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 July 14, 2015 05:54
boundaries with gmshToFoam‏ ouafa Open Source Meshers: Gmsh, Netgen, CGNS, ... 7 May 21, 2010 12: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 12, 2001 23:19


All times are GMT -4. The time now is 19:48.