POST User Guide  POST Version 9.8.1
File I/O

Tasks that get data in and out of POST.

writeDataSetSummary

Write a summary of the present POST data set, i.e. metadata for families and blocks. The output is written to a specified file (in json format).

Usage
--writeDataSetSummary/-wdss -filename <name>
Parameters
-filenamename of the file to which the output is written (mandatory)
Example
--writeDataSetSummary/-wdss -filename dataSetSummary.json
Since
9.1.079

readInterfaceFiles

This task reads interface files (0D and 1D), written e.g. by TRACE, and overwrites results previously computed with --averaging.

Usage
--readInterfaceFiles/-rif -f [list of Tecplot text files]

For a bd-based GTA chain you can use the -autoSelectFiles option instead of -f. This will let the task select the appropriate bd- and radial-files. Wherever bd-av- and radial-av-files are available, those are chosen over their snapshot counterparts. The directories containing the files can be given with the sub-options -bdDir and -radialDir.

Precondition
  • 0D and/or 1D averagings have already been performed
Note
Task is particularly interesting for unsteady time and frequency domain simulations since it is difficult to mimic with POST the temporal and spatial flux averaging carried out in TRACE.
Since
9.1.

input

Task for handling (multiple) input data files for POST.

The following formats are supported:

File type Extension
CGNS cgns
TECPLOT ASCII dat
Usage
--input/-i <filename> [pictureIndex] [options]
Parameters
filenameSingle file or format string with one integer ('%d') to specify series of pictures. (mandatory)
pictureIndexIndices of pictures in following formats: (optional)
Read all pictures matching the pattern starting from specified index:
<start index>-
Read all pictures matching the pattern in specified index interval:
<start index>-<end index>
-hlSpecify a list of harmonics to be read (deprecated, use -slf instead). (optional)
-hlmSpecify harmonic indices to be associated with harmonic names (deprecated, no longer supported). (optional)
-snSpecify the name of one solution to be read. (optional)
-vnSpecify the names of the variables to be read. (optional)
-iasIgnore all flow solutions, harmonics, etc.. (optional)
-rbcRead boundary conditions and create boundary blocks. (optional)
-slfSpecify the name of the file containing the solutions to be processed. (optional)
-ccTreat multicomponent gas as a constant composition mixture. (optional)
-familySpecify list of block group family names to read. (optional)
-noGhostIgnore all ghost cells while reading. (optional)
-dcrsOmit the check if the reference state is equal in all read CGNS files and use the one of the first file. (optional)
Example
--input/-i picture_%d/TRACE.cgns
--input/-i TRACE.cgns -sn FlowSolution
Read all pictures starting from index 12:
--input/-i picture_%d/TRACE.cgns 12-
--input/-i picture_%d/TRACE.cgns 12-11
Read pictures 3 to 7:
--input/-i picture_%d/TRACE.cgns 3-7
Note
If more than one input is specified, the reference states of these data files must not deviate by more than 1% relative tolerance

output

Task for writing output data from POST.

Usage
--output/-o [filename] [options]

The file type is determined by the specified file extension. The following formats are supported:

File type Extension
CGNS cgns
VTK / Paraview pvtu
TECPLOT binary plt
TECPLOT ASCII dat
Parameters
filenameSingle file or format string with one integer ('%d') to specify series of pictures starting with 0. (optional)
-cmcCreate master CGNS file for the output picture series. (optional)
-stsSet time strands so that Tecplot automatically recognizes solution time. (optional)
-wgcWrite ghost cells in Tecplot output. (optional)
-bfSpecify the block group families to be written to Tecplot file. (optional)
-ffsCreate the output CGNS file from scratch. (optional)
-asAppend solutions to an existing CGNS file. Meta data will not be updated. (optional)
Example
--output/-o POST.cgns --output/-o POST.pvtu -icv --output/-o POST.dat --output/-o POST.plt
--input/-i picture_%d/TRACE.cgns -icv --output/-o POST%03d.plt -sts
--output/-o my.cgns -type boundary
Note
Since version 9.1 the output task also supports the filter options provided by the deleteBlock task (in 'keep' mode)
When intending to restart from a CGNS with multiple solutions, first write the solution for the restart and then add additional solutions with the suboption -as
Using --interpolateCellCenteredToVertexData / -icv is recommended for tecplot output.
The format string '%03d' writes file names with 3 digits, padded with zeros.

writeGta

Write 0D and 1D primitives and relations from global turbomachinery analysis in specified formats.

Usage
--writeGta/-wgta [-tecplotASCII <folder>] [-ulist <file>] [-MTU] [-vertexBased] [-bandCenterAsVertex] [-noPrimitives] [-noRelations] [-noSpanwise]
Example
--writeGta -tecplotASCII ../post/gta -noPrimitives
--writeGta -ulist ../post/gta/GTA.ulst -noSpanwise
--writeGta -tecplotASCII ../post/gta -ulist ../post/gta/GTA.ulst -vertexBased
Parameters
-tecplotASCIIWrite in Tecplot ASCII format to specified directory.
-ulistWrite in ULIST format to specified file.
-MTUFlag to write the values in MTU specific dimensions.
-vertexBasedFlag to write the values interpolated on vertices. Currently only applicable for tecplotASCII.
-bandCenterAsVertexFlag to write the band centers as vertices.
-noPrimitivestecplot: Primitives distributions will be omitted.
-noRelationstecplot: Relations distributions will be omitted.
-noSpanwiseulist: Spanwise distributions will be omitted.
Note
Here the output formats, Tecplot ASCII and/or ULIST, have to be set explicitly.

writeTraceBdVal

The task is mainly designed to write radial distribution files for interface panel families which can be used as boundary values in a subsequent TRACE computation, e.g. if a single row is cut out of a multi-row configuration. If nothing else is specified, files are written for all relevant panel families (entries/exits/interfaces/analysis planes) and all available averaging types.

The files always contain the following variables:

  • Coordinates (X, R, Theta)
  • "PressureStagnationAbs" and "TemperatureStagnationAbs"
  • Flow directions (X, R, ThetaAbs)
  • Pressure

If one of these variables is missing, POST will exit with an error. In addition, quantities for turbulence and transition models ("TurbulentEnergyKinetic","TurbulentDissipationRate", "MachAbs","Gamma", "ReTheta") are written if they exist in the data set. Since the coordinate values are written vertex-based while all other values are cell-centered, the files are written in "BLOCK" format.

Several options exist to modify the behavior of this task (see below).

Usage
--writeTraceBdVal/-wtbv -fileName <name.dat> [optionalOptions]
Parameters
-fileNameFile name (if only a single output file is required) or format string, e.g. bd_%s_%s.dat or bd_%s_%s_%s.dat. The place holders are filled with panel family name, averaging type, and 0D/1D. (mandatory)
-add0DFlag to additionally write 0D data. These are written into separate files and contain the same variables as the 1D files, except for the coordinates. (optional)
-avgTypeSpecify one or more averaging type(s) out of the available types flux, mass, area. (optional)
-bandCenterAsVertexFlag to write the band centers as vertices, yielding Tecplot files in "POINT" format. The coordinates are interpolated to band centers in this case. (optional)
-panelFamilyPanel family (exactly one) for which the boundary values are written. (optional)
-writeAllVarsFlag to write all available (and meaningful) variables. Some variables (e.g. conservative flow variables) are excluded. (optional)
Example
  • Radial distributions for all interfaces and averaging types:
    --writeTraceBdVal/-wtbv -fileName ../output/bdValues/bd_radial_%s_%s.dat
    writes files bd_radial_<panelFamilyName>_<area|mass|flux>.dat to directory ../output/bdValues/.
  • Radial distributions for one panel family and two averaging types in vertex-based format:
    --writeTraceBdVal/-wtbv -bandCenterAsVertex -avgType flux area -panelFamily row02Inlet -fileName ../output/bdValues/bd_radial_%s_%s.dat
    writes files bd_radial_row02Inlet_area.dat and bd_radial_row02Inlet_flux.dat to directory ../output/bdValues/.
  • Radial distributions for one panel family and one averaging type with fixed file name:
    --writeTraceBdVal/-wtbv -avgType flux -panelFamily row02Inlet -fileName TRACE_entry.dat
  • Write flux-averaged values for all available variables and panel families (0D and radial distributions):
    --writeTraceBdVal/-wtbv -avgType flux -writeAllVars -add0D -fileName ../output/BdValues_%s_%s_%s.dat
    writes files BdValues_<panelFamilyName>flux<0D|1D>.dat to directory ../output/.
Precondition
  • Values have to be computed by averaging task in advance (see averaging).
  • Radial bands have to be created for obtaining radial distributions (see createBandedInterfaces).
Warning
So far this task works only for rotational test cases.
Since
8.2

outputIntegralData

This task writes out (band) integral data.

Usage
--outputIntegralData/-oi -fileName <name.dat> -avgType <area|flux|mass> [optionalOptions]

Optional parameters are

Parameters
-dimDimension: 0 for 0D (default), 1 for band integral data
-bandCenterAsVertexFlag to write the band centers as vertices, yielding Tecplot files in "POINT" format. The coordinates are interpolated to band centers in this case.
-famList of panel families
-solList of solution names
-varList of variable names
Precondition
  • Values have to be computed by averaging task in advance (see averaging).
  • Radial bands have to be created for obtaining radial distributions (see createBandedInterfaces).
Since
9.2

writeThermodynamicPropertiesTable

Task to create an ASCII Tecplot format file containing the thermodynamic properties as a function of the temperature for each species

Usage
--writeThermodynamicPropertiesTable/-wTPT [options]
Parameters
-nTempNumber of temperature values. Default: 500.
-minTempMinimum temperature. Default: lower polynomial bound.
-maxTempMaximum temperature. Default: upper polynomial bound.
Example
--writeThermodynamicPropertiesTable/-wTPT
--writeThermodynamicPropertiesTable/-wTPT -nTemp 1500 -minTemp 100 -maxTemp 1500
Precondition
  • Thermally perfect gas model needs to be specified in the CGNS-file.