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

Retrieve wall grid points in their original order, for area computation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2015, 13:19
Default Retrieve wall grid points in their original order, for area computation
  #1
New Member
 
Amit Kamboj
Join Date: Jan 2015
Posts: 11
Rep Power: 11
amitkamboj is on a distinguished road
Hello,

I am trying to modify the AREA calculation implementation in grid_structure.cpp to suit my requirement. The case I am running is a 2D axis symmetric problem. The reason I felt I need to edit the current implementation is because the current implementation is based on area calculation for airfoil sections which have two surfaces. Whereas in my case, I require the area enclosed by the body and the X-axis.

I was using the Airfoil coordinates info stored in,
Xcoord_Airfoil[iVertex]
Ycoord_Airfoil[iVertex]
Zcoord_Airfoil[iVertex]

This worked pretty well for simple cases like circle. But dealing with little complex geometries I realised the grid variation is NOT stored in the order points are located on the connector.

I would like to get the X,Y,Z coordinates in the order they are present on the connector. Or any other way to calculate area for 2D axis symmetric body will also be helpful.

Would be grateful for any help.

Thanks in Advance.
amitkamboj is offline   Reply With Quote

Old   May 12, 2015, 17:54
Default
  #2
New Member
 
Santiago Padron
Join Date: May 2013
Posts: 17
Rep Power: 13
Santiago Padron is on a distinguished road
I would make sure you know the way the program that made the mesh exports the points to the su2 mesh file. That should potentially help with keeping track of how the points are stored.
Santiago Padron is offline   Reply With Quote

Reply

Tags
airfoil coordinates, area calculation


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
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 16:33
convergence for higher grid points sandip Phoenics 3 April 15, 2009 14:25
"grid points" or "grid interface" ztdep Main CFD Forum 1 June 6, 2007 16:00
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 06:59
Grid Independent Solution Chuck Leakeas Main CFD Forum 2 May 26, 2000 12:18


All times are GMT -4. The time now is 18:13.