Pressure results
Is it possible to get pressure results instead of pressure coefficient in result file surface_flow? I can't find any info about it.
|
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 |
Thanks a lot!!!
|
All times are GMT -4. The time now is 04:30. |