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

Calculation of boundary normals

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2016, 15:00
Default Calculation of boundary normals
  #1
Member
 
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 13
kmandar is on a distinguished road
Hi,

Can anyone please point me to the part of the code which calculates the boundary normals?

I believe the normal components can be output in the variable Normal using:

Code:
vertex[iMarker][iVertex]->GetNormal(Normal);
for the iVertex on the boundary iMarker.

However, I am not sure how (and where in the code) the value of these normal vectors are calculated based on the input mesh file.

Thanks,
Mandar
kmandar is offline   Reply With Quote

Old   March 31, 2016, 02:09
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Hi Mandar,
Take a look at

void CPhysicalGeometry::SetBoundControlVolume(CConfig *config, unsigned short action) {

in geometry_structure.cpp

and CVertex::SetNodes_Coord

in dual_grid_structure.cpp

Best,
Francisco
fpalacios is offline   Reply With Quote

Old   April 1, 2016, 12:00
Default
  #3
Member
 
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 13
kmandar is on a distinguished road
Hi Francisco,

That helps!

Thanks a lot,
Mandar
kmandar is offline   Reply With Quote

Reply

Tags
normal boundary


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 10:49
Match Control and Symmetry Boundary Condtions in a quasi 2D calculation peterputer ANSYS Meshing & Geometry 0 May 15, 2012 09:53


All times are GMT -4. The time now is 10:50.