POST User Guide  POST Version 9.8.1
Derived Variables

Tasks that compute additional flow variables. (e.g. temperature, entropy)

calcForceAndTorque

Computation of force and the axial torque at solid surfaces as an integral value per panel family or panel container. For a single solid face the values of the force is given by

\[ \vec F = (p_w \vec n + \tau_w \vec u_t) A \]

where \(p_{w}\) is the pressure at the face, \(\vec n\) is the outward pointing unit face normal, \( \tau_{w}\) is the wall shear stress, \(\vec u_t\) is the part of the normalized velocity at the inner cell next to the face parallel to the face, and \(A\) is the face area.

The axial component of the torque \(M_x\) is given by

\[ M_x = r F_\theta \]

where \(r\) is the radius of the face center and \(F_\theta\) the circumferential component of the force vector \(\vec F\).

Use the outputIntegralData task to write the result into a dat-file. For rotational configurations the cylindrical components, \(F_x\), \(F_r\), and \(F_\theta\), and for translational configurations the Cartesian components \(F_x\), \(F_y\), and \(F_z\) of \(\vec F\) are computed. The axial component of the torque is computed only in case of a rotational configuration.

Usage
--calcForceAndTorque/-cfat
See also
Computing force and axial torque
Precondition
Since
9.2

calcLambda2

Computation of \( \lambda_2 \) for visualization of vortex structures, which is the second largest eigenvalue of matrix

\[ T_{ij} = S_{ik}S_{kj} + W_{ik}W_{kj} \]

while \( S \) and \( W \) represent the strain rate and vorticiy.

Usage
--calcLambda2/-cl2
Automatically executed tasks
Since
7.3

calcSurgeMargin

Computation of surge margin of a specific control volume with respect to a given working line.

Usage
--calcSurgeMargin / -csm
Parameters
-wlnRead specified working line file in Tecplot format (mandatory option)
-cdnEvaluate specified control domain. (mandatory option)
Note
TecPlot file must contain only one zone containing one workingline defined by the two variables "MassFlowReduced" & "PressureRatio" in SI units.
Example
--calcSurgeMargin/-csm -wln <workingline_name> -cdn <userdomain_name>
Minimal working example:
POST --input TRACE_2D.cgns -rbc --calcconservativevariables --averagingbyarea --averagingbymassflow --signed --averagingbyflux --averaginginversion --buildturbomachine --globalturbomachineryanalysis --calcSurgeMargin -wln <workingline_name.dat> -cdn <control_domain_name>
Since
9.7

calcTemperatureStagnationRot

Computation of stagnation temperature in rotating frame. The quantity is computed in all blocks, rotating and stationary alike.

Usage
--calcTemperatureStagnationRot / -ctsr
Note
only implemented for ideal gas
only implemented for rotational configurations
Since
9.3

calcConservativeVariables

This task transforms primitive to conservative variables as preparation for averaging routines. The task is generalized for arbitrary dimensions and arbitrary grid locations.

Usage
--calcConservativeVariables/-cconv
Automatically executed tasks

calcStrainRateTensor

Computation of the strain rate tensor

\[ S_{ij} = \frac{1}{2} \left( \frac{\partial U_i}{\partial x_j} + \frac{\partial U_j}{\partial x_i} \right) \]

and its norm

\[ S_{norm} = \sqrt{2 S_{ij} S_{ij}} \]

Usage
--calcStrainRateTensor/-csrt
Automatically executed tasks
Since
7.3

gradient

Task to compute the spatial gradients for a given variable set

Usage
--gradient/-grad [options]
Parameters
-nameVariable list.
-velocityCalculate the velocity gradient.
-magnitudeCalculate magnitudes of gradients.
-uggUse Green-Gauss to calculate gradients for unstructured zones.(default)
-ufaUse Least-Square (Full Augmentation) to calculate gradients for unstructured zones.
-unnUse Least-Square (Node Neighbors) to calculate gradients for unstructured zones.
Example
--gradient/-grad -velocity -magnitude
--gradient/-grad -name Density Pressure
--gradient/-grad -ufa
Precondition
  • Data must be real.
  • The task works for 3D blocks only. All other blocks are skipped.
Note
If no variables are specified the gradients for Density, VelocityX, VelocityY, VelocityZ and Pressure are calculated.
The options -ufa, -ugg and -unn are used only for unstructured data. They will be ignored for structured data.
Warning
The option -velocity cannot be combined with the option -name. It will be ignored.

calcCompressibilityFactor

Computation of compressibility factor.

\[ Z = \frac{p}{\rho{} R T} \]

Usage
--calcCompressibilityFactor / -cCompFac
Note
Works for ideal, thermally perfect and real gas.
Since
9.8

calcFundamentalDerivative

Computation of fundamental derivative of gas dynamics.

\[ \Gamma = 1 + \frac{\rho}{a} \biggl(\frac{\partial{}a}{\partial\rho}\biggr)_{s} \]

Usage
--calcFundamentalDerivative / -cFundDeriv
Note
Works for ideal, thermally perfect and real gas.
Since
9.8

calcMach

Computation of Mach number in the relative frame of reference.

\[ Ma = \frac{\sqrt{u^2 + v^2 + w^2}}{\sqrt{\gamma R T}} \]

Usage
--calcMach / -cM
Precondition
Works on real data.
Note
Works for ideal and thermally perfect gas.
Since
7.3
Note
Works for real gas.
Since
9.8

calcMolecularViscosity

Compute molecular viscosity using the Sutherland law.

\[ \mu = \mu_0 \frac{T_0 + C}{T + C} \left(\frac{T}{T_0}\right)^{1.5} \]

Usage
--calcMolecularViscosity/-cMV
Automatically executed tasks
Since
7.3

calcReynoldsNumber

Compute Reynolds number based on reference length stored in cgns-file (default).

\[ Re = \frac{\rho c v}{\mu} \]

Usage
--calcReynoldsNumber/-cRe [-refLength <length> | -refLengthEdge]
Parameters
-refLengthSpecify a length in [m] that will be used as rerference length .
-refLengthEdgeLocal edge length, computed as cube root of the cell volume, will be used as reference length in each cell individually based on .
Example
--calcReynoldsNumber/-cRe -refLength 0.01
Precondition
Molecular viscosity (use task calcMolecularViscosity)
Since
9.2

calcStreamwiseVorticity

Computation of streamwise vorticity

\[ \omega_{\mathrm{s}} = \vec \omega \cdot U / \| U \| \]

Usage
--calcStreamwiseVorticity/-cstv
Automatically executed tasks
calcVorticityVector
Since
9.5

calcTemperature

Computation of static temperature.

Usage
--calcTemperature/-ct
Note
works for ideal and thermally perfect gas
Since
7.3

calcTemperatureStagnation

Computation of stagnation temperature.

Usage
--calcTemperatureStagnation / -cts
Note
works for ideal and thermally perfect gas
Since
7.3

calcVorticityVector

Computation of vorticity vector

\[ \vec W = \nabla \times \vec U = \left ( \begin{array}{cc} \frac{\partial U_z}{\partial y} -\frac{\partial U_y}{\partial z} \\ \frac{\partial U_x}{\partial z} -\frac{\partial U_z}{\partial x} \\ \frac{\partial U_y}{\partial x} -\frac{\partial U_x}{\partial y} \end{array} \right) \]

and its norm

\[ W_{norm} = \left | \vec W \right | = \sqrt{W_x^2 + W_y^2 + W_z^2} \]

Usage
--calcVorticityVector/-cvv
Automatically executed tasks
gradient
Since
7.3

qCriterion

Computation of Q-Criterion for visualization of vortex structures

\[ \text{Q-Criterion} = \frac{1}{2} \left( W_{norm}^2 - S_{norm}^2 \right) \]

Usage
--qCriterion/-qc
Automatically executed tasks
Since
8.2

vortexDetection

The present task combines required calculations for vorticity \( W \), Q-Criterion and \( \lambda_2 \) in order to visualize vortex structures. For more details see documentation of executed tasks. Velocity gradient and strain rate tensors are deleted by default.

Usage
--vortexDetection/-vd [-del <variable>]
Parameters
-delSpecify variables which shall be deleted after executing all tasks (whereas default values are not deleted).
Example
--vortexDetection/-vd -del VelocityX
Automatically executed tasks
Since
8.2.27