CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Questions on Vertex Normal for 2D Cases

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2017, 20:13
Default Questions on Vertex Normal for 2D Cases
  #1
New Member
 
Join Date: Apr 2016
Posts: 3
Rep Power: 10
Joel Ho is on a distinguished road
Hi there,

I am wondering why in the function CPhysicalGeometry::SetBoundControlVolume, the vertex normal for 2D is calculated with:

Code:
vertex[iMarker][iVertex]->SetNodes_Coord(Coord_Elem_CG, Coord_Vertex);
I could be misunderstanding the code but my impression is that it should be:
Code:
vertex[iMarker][iVertex]->SetNodes_Coord(Coord_Edge_CG, Coord_Vertex);
Could there be something that I am missing there? Any help is greatly appreciated. The above code was found in: SU2/Common/src/geometry_structure.cpp.

Thanks
Joel
Joel Ho is offline   Reply With Quote

Reply

Tags
boundary cells, dual mesh, normal to edge, su2


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
How to get normal vector to the face? Viatcheslav Kulikov FLUENT 1 August 31, 2017 04:03
UDF to Access Wall Normal Concentration Gradient Daniel Tanner Fluent UDF and Scheme Programming 4 February 18, 2015 15:35
NACA0012 geometry/design software needed Franny Main CFD Forum 13 July 7, 2007 16:57
[surface handling] SurfaceMeshTriangulate lam OpenFOAM Meshing & Mesh Conversion 0 April 27, 2007 12:41


All times are GMT -4. The time now is 22:20.