|
[Sponsors] |
March 21, 2013, 17:56 |
Pressure results
|
#1 |
New Member
Milosz
Join Date: Jan 2013
Posts: 14
Rep Power: 13 |
Is it possible to get pressure results instead of pressure coefficient in result file surface_flow? I can't find any info about it.
|
|
March 21, 2013, 21:48 |
|
#2 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
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 |
|
March 22, 2013, 19:05 |
|
#3 |
New Member
Milosz
Join Date: Jan 2013
Posts: 14
Rep Power: 13 |
Thanks a lot!!!
|
|
|
|
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 |