CFD Online Logo CFD Online URL
Home > Forums > SU2

Pressure results

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

LinkBack Thread Tools Display Modes
Old   March 21, 2013, 17:56
Default Pressure results
New Member
Join Date: Jan 2013
Posts: 14
Rep Power: 6
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
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 363
Rep Power: 7
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);

fpalacios is offline   Reply With Quote

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


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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
How to read pressure at discrete points paka OpenFOAM 15 July 21, 2008 05:03
High pressure concentration results @ the inlet Kuh CFX 0 June 24, 2007 23:42
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09: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 02:48.