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

Pressure results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2013, 17:56
Default Pressure results
  #1
New Member
 
Milosz
Join Date: Jan 2013
Posts: 14
Rep Power: 13
curky is on a distinguished road
Is it possible to get pressure results instead of pressure coefficient in result file surface_flow? I can't find any info about it.
curky is offline   Reply With Quote

Old   March 21, 2013, 21:48
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
Yep, this is a minor modification in the code.

Anyway, the volumetric solution provides the value of the pressure (note that the latest version of SU2 has a new I/O)

If you want to change the surface output, just localize in the output_structure.cpp the following code
for (iMarker = 0; iMarker < config->GetnMarker_All(); iMarker++)
if (config->GetMarker_All_Plotting(iMarker) == YES)
for(iVertex = 0; iVertex < geometry->nVertex[iMarker]; iVertex++) {
iPoint = geometry->vertex[iMarker][iVertex]->GetNode();
aux_press[iPoint] = FlowSolution->GetCPressure(iMarker,iVertex);
}

and change
FlowSolution->GetCPressure(iMarker,iVertex); by FlowSolution->node[iPoint]->GetPressure(false);

Best,
Francisco
fpalacios is offline   Reply With Quote

Old   March 22, 2013, 19:05
Default
  #3
New Member
 
Milosz
Join Date: Jan 2013
Posts: 14
Rep Power: 13
curky is on a distinguished road
Thanks a lot!!!
curky is offline   Reply With Quote

Reply


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
How to read pressure at discrete points paka OpenFOAM 16 April 28, 2020 08:26
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
High pressure concentration results @ the inlet Kuh CFX 0 June 25, 2007 00:42
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11
pressure gradient term in low speed flow Atit Koonsrisuk Main CFD Forum 2 January 10, 2002 11:52


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