Output Fields#
This page presents all the output fields supported by different output types, including, the surface and volume solutions, as well as slices, isosurfaces, probe/surface-integral monitors and UserDefinedField
.
Universal Fields#
The following fields are supported by Surface, Volume, Slice and UserDefinedField types of output:
Name |
Description |
---|---|
|
Coefficient of pressure. \(C_p=(\frac{p-p_\infty}{\frac{1}{2}\rho_\infty{U_{ref}}^2})\) |
|
Coefficient of total pressure \(C_{p_t}=(\frac{p_t-p_\infty}{\frac{1}{2}\rho_\infty{U_{ref}}^2})\) |
|
Gradient of primitive solution |
|
k and omega when using the kOmegaSST model |
|
Mach number |
|
Turbulent viscosity |
|
Ratio between turbulent viscosity and freestream dynamic viscosity, \(\mu_t/{\mu_\infty}\) |
|
Spalart-Allmaras variable, nuHat |
|
Primitive solution, Outputs rho, u, v, w, p (density, 3 velocities and pressure) |
|
Q criterion |
|
5 components of the N-S residual |
|
Residual for the transition model |
|
Residual for the turbulence model |
|
Entropy |
|
Solution for the N-S equation in conservative form |
|
Solution for the transition model |
|
Solution for the turbulence model |
|
Temperature |
|
Velocity vector divided by reference freestream velocity |
|
Velocity X component divided by reference freestream velocity |
|
Velocity Y component divided by reference freestream velocity |
|
Velocity Z component divided by reference freestream velocity |
|
Velocity magnitude divided by reference freestream velocity |
|
Pressure divided by reference freestream pressure |
|
Vorticity vector |
|
Vorticity magnitude |
|
Vorticity X component |
|
Vorticity Y component |
|
Vorticity Z component |
|
Wall distance |
|
Sensor showing where the numericalDissipationFactor has been increased |
|
Residual for the heat equation solver |
|
Velocity vector from which velocity of a non-inertial frame is subtracted (velocity of the rotating zone) and is then divided by reference freestream velocity. Equals 0 on any no-slip walls within rotational blocks. More information can be found here. |
|
Low-Mach preconditioner factor |
|
Velocity in units of m/s |
|
Velocity X component in units of m/s |
|
Velocity Y component in units of m/s |
|
Velocity Z component in units of m/s |
|
Velocity Magnitude in units of m/s |
|
Pressure in units of Pa |
Volume and Slice Specific Fields#
The following fields are specifically supported by VolumeOutput
and SliceOutput
:
Name |
Description |
---|---|
|
Outputs BET disk related metrics, including variables such as |
|
Same as above but each BETdisk has its own |
|
Linear residual of Navier-Stokes solver |
|
Linear residual of turbulence solver |
|
Linear residual of transition solver |
|
DDES output for Spalart-Allmaras solver |
|
DDES output for kOmegaSST solver |
|
Local CFL number |
Surface Specific Fields#
The following fields are specifically supported by SurfaceOutput
and SurfaceProbeOutput
:
Name |
Description |
---|---|
|
skin friction coefficient vector, = \(C_{f_{Vec}}[3]=\frac{\tau_{wall}[3]}{\frac{1}{2}\rho_\infty U_{ref}^2}\) where \(\tau_{wall}[3]\) is the 3-D wall shear stress vector |
|
Magnitude of |
|
Heat flux computed from nondimensional quantities. Multiply by \(\rho_\infty C_\infty^3\) to find the dimensional values. |
|
Wall normal direction (may not be a unit vector). Note: This variable does not support time averaging. |
|
\(\frac{\tau_{viscous}[3]-(p-p_\infty)*normal[3]}{\rho_\infty C_\infty^2}\), where \(\tau_{viscous}[3]\) is the 3-D viscous stress vector and \(normal[3]\) is the 3-D unit normal vector pointing from solid to fluid |
|
Non-dimensional wall distance, \(y^+\) |
|
(beta feature) : This metric is a local indicator of the quality of the wall model. A value less than 1.25 indicates a good estimation of the wall shear stress. Between 1.25 and 10 indicates lower confidence, and values greater than 10 are not reliable for wall shear stress estimation. |
|
Surface heat transfer coefficient (static temperature as reference) |
|
Surface heat transfer coefficient (total temperature as reference) |
|
Wall shear stress magnitude |
|
Wall shear stress magnitude in units of Pa |
IsoSurface Specific Fields#
The following fields are specifically supported by IsoSurfaceOutput
:
Name |
Description |
---|---|
|
Mach number |
|
Q criterion |
|
Entropy |
|
Temperature |
|
Coefficient of pressure |
|
Coefficient of total pressure |
|
Turbulent viscosity |
|
Spalart-Almaras variable |
|
Vorticity magnitude |
|
Vorticity X component |
|
Vorticity Y component |
|
Vorticity Z component |
|
Velocity magnitude divided by reference freestream velocity |
|
Velocity X component divided by reference freestream velocity |
|
Velocity Y component divided by reference freestream velocity |
|
Velocity Z component divided by reference freestream velocity |
User Variables#
Another way to define output fields is to use UserVariable
found in User Defined Expressions.
User defined Variables can access multiple solver variables and undergo mathematical operations.
Please refer to Variables section for more details about this feature as well as some usage examples.
User Defined Fields#
Users can use the UserDefinedField
below to specify custom expressions to calculate outputs based on some solver variables. Please refer to the User Defined Postprocessing Tutorial for more details.
- class UserDefinedField[source]#
Bases:
Flow360BaseModel
Defines additional fields that can be used as output variables.
Example
Compute
Mach
usingUserDefinedField
(Showcase use, already supported in Output Fields):
>>> fl.UserDefinedField( ... name="Mach_UDF", ... expression="double Mach = sqrt(primitiveVars[1] * primitiveVars[1] + " ... + "primitiveVars[2] * primitiveVars[2] + primitiveVars[3] * primitiveVars[3])" ... + " / sqrt(gamma * primitiveVars[4] / primitiveVars[0]);", ... )
Compute
PressureForce
usingUserDefinedField
:
>>> fl.UserDefinedField( ... name="PressureForce", ... expression="double prel = primitiveVars[4] - pressureFreestream; " ... + "PressureForce[0] = prel * nodeNormals[0]; " ... + "PressureForce[1] = prel * nodeNormals[1]; " ... + "PressureForce[2] = prel * nodeNormals[2];", ... )