This page will list and describe some post-processing tools that have been developed in the group for post-processing flow solution and optimization results.
PPRES is a script that can be used to:
Extract a number of section shape and Cp slices
Extract the solution on the surface for plotting, and compute Cp, Cf, y+, etc.
Force breakdown by pressure/friction and by component (wing/tail/fuselage)
Compute the y+ values, including average and distribution
PPRES is included with the Jetstream distribution in jetstream/grid_utils. To make this, along with all the other grid utilities, do
>> cd ~/jetstream/grid_utils/code
>> make
which should produce the PPRES executable in your ~/bin directory.
Run the PPRES executable in a directory where you have a converged solution. At runtime it will ask for:
The names of the grid, connectivity, and solution files, e.g. newgrid.g, grid.con, results.q. For the grid file, remember to use newgrid.g if you're post-processing an optimization or have any shape change (e.g. used jtstrm%setADVs).
Important: The grid size (number of nodes) specified in the connectivity file must match the size of the grid file. If it doesn't, e.g. if you used GRID%SCALE /= 1, PPRES will misidentify the aerodynamic surfaces. If you used GRID%SCALE /= 1, you will need to create a new connectivity file corresponding to this grid size.
Whether to nondimensionalize the force coefficients. If no, the coefficients will be reported as CD*S as in Jetstream. If yes, they will be reported as CD, where the normalizing area, S, is the projected area computed from the wing type surfaces (e.g. bctypes 1 and 101).
Enter the streamwise and vertical coordinates about which to compute the pitching moment.
Would you like to use the default settings for Tref, etc. Unless your case specifies otherwise, select yes.
Enter the number of span stations at which to take section/Cp slices
Enter a span fraction value (between 0-1) for each section station you want extracted.
Do you want to use a different total span value with which to locate the section slices? Typically select no.
It will then output:
forces.dat: A breakdown of pressure and friction forces, as well as by wing/tail/fuselage component (if types 101, 102, 103 are specified in the connectivity file). It will also show the y+ distribution.
surfaceCPCF.dat: A Tecplot file with the surface geometry and solution, Cp, Cf, etc. for visualization
distro.cp: A Tecplot file with the section/Cp slices. Each span station is in its own zone.