POST User Guide  POST Version 9.8.1
S2m Planes

Tasks that create S2m data sets.

interpolateS2MToBoundary

Interpolate relative mass flow, eta and channel height from S2M block to all boundaries.

Usage
--interpolateS2MToBoundary/-s2mToBd

readS2m

This task reads a S2M file and optionally creates CoordinateXi and CoordinateEta.

Usage
--readS2m/-rS2m -lS2 <path of the S2M file> [-xieta <index|length|xhrel>]
Parameters
-lS2name of the resulting control domain
-xietaIf used, the task will create CoordinateXi and CoordinateEta based on the option called. (optional)

intersect3DS2MPlane

Task to generate ξ = const cuts (ξ = running length) of a 3D configuration using the S2M-plane.

Usage
--intersect3DS2MPlane/-i3DS2 [options]
Parameters
-nCutsSpecify number of cuts. (optional)
-nBandsSpecify number of bands. (optional)
-mainCut only main block groups (ROTOR, STATOR, DUCT_R, DUCT_S). (optional)
-xiRangeOptionally specify range of ξ as a tuple of minimum and maximum. (optional)
-etaRangeOptionally specify range of η as a tuple of minimum and maximum. (optional)
-etaExpCoeffUse an exponential function for η distribution specifying the amplitude (and a scaling factor). (optional)
At least the amplitude \(A\) must be specified. Its value should be larger than 1. The second optional parameter is the scaling factor \(s\). It is used to manipulate the divisor. Its default value is \( s = 1\):

\[ f(x) = \frac{1}{2} \frac{e^{2 A x} - 1}{e^{s A} - 1} \]

<exponential coefficient> [scaling factor]
A scaling factor lower than 1 will result in an equidistant distribution in the center region.
-etaRelDistUse an exponential function for η distribution specifying the first relative distance and the stretching ratio.
Two parameters have to be given. The first value is the first relative distance and must be lower than 1. The second factor is the stretching ratio:
<relative first distance> <stretching ratio>
-etaLocationUse η distribution at both sides or at one side only (default: both). Allowed values:
<both|lower|upper>
Example
--intersect3DS2MPlane/-i3DS2 -nCuts 101 -nBands 25
--intersect3DS2MPlane/-i3DS2 -nCuts 82 -nBands 30 -main -xiRange 0.3 0.8
Use different exponential functions:
--intersect3DS2MPlane/-i3DS2 -etaExpCoeff 3
--intersect3DS2MPlane/-i3DS2 -etaExpCoeff 3 0.95
--intersect3DS2MPlane/-i3DS2 -etaExpCoeff 1.5 0.9
Use relative first distance and stretching ratio
--intersect3DS2MPlane/-i3DS2 -etaRelDist 0.01 1.3
Use exponential function at the lower side only
--intersect3DS2MPlane/-i3DS2 -etaExpCoeff 3 0.9 -etaLocation lower
Use stretching at the upper side only
--intersect3DS2MPlane/-i3DS2 -etaRelDist 0.02 1.2 -etaLocation upper

intersect3DAndAddInterfacesForS2m

This task generates re-banded copies of interface panels and calls task intersect3DS2MPlane to generate const-xi cuts. Both can be integrated into an S2M-plane

Usage
--intersect3DAndAddInterfacesForS2m/-i3DIfS2 [options]
Note
See intersect3DS2MPlane for the documentation of options.
Automatically executed tasks
Since
9.1

createS2MPlane

This Task creates and writes a S2M Plane based on previous averaging.

Usage
--createS2MPlane/-s2m -output <path/fileName> [-sol <name>] [-avgType <mass|area|flux>]
Parameters
-outputName of output file including directory. (mandatory)
-solName of solution whose data is taken. (optional, default: "FlowSolution")
-avgTypeTypes of averages to use (area, mass, flux). (optional)
Precondition
Suitable interfaces with averaged data, see S2M Averaging
Automatically executed tasks

createMeanLineDistribution

This task creates and writes a 1D mesh with averaged data from xi-const analysis planes.

Usage
--createMeanLineDistribution/-mld -output <path/fileName> [-sol <name>]
Parameters
-outputName of output file including directory. (mandatory)
-solName of solution whose data is taken. (optional, default: "FlowSolution")
Precondition
Suitable interfaces with averaged data, see S2M Averaging
Automatically executed tasks
  • buildMeanLineDistribution
  • writeMeanLineDistribution

S2MRTP

The s2m RTP (RTP=Recursive Tetrahedron decomposition and Projection to a raster grid) task provides a fast s2m-averaging of the configuration. A Cartesian S2M-mesh is defined as a bounding box of the loaded block groups. Starting from each cell of this 2D-bounding-box the s2m-rtp averaging intersects all cells in circumferential direction. The 3D-cells are recursively split into tetrahedrons (based on the deep-factor) and averaged volumetrically along the circumferential intersection lines and projected to the 2d-cells of the bounding-box. The averaging intersects areas with air and metal. The ratio of air and metal in circumferential direction is represented by the additional variable "Porostiy".
This method is also ideal for comparisons of non-identical geometries (e.g. endwall-optimization). With this method qualitative statements can be made. It has to be clarified, that no quantitative statements can be derived.

Usage
--createS2mByProjection/-s2mRTP [optionalOptions]
Parameters
-autodeepFlag to use adaptive deep refinement (defined deep factor is ignored!).(optional)
-deeprecursive refinement steps (optional)
-nAxialnumber of cells in axial direction for cartesian bounding box (optional)
-nRadialnumber of cells in radial direction for cartesian bounding box (optional)
-r_maxset r_max of bounding box manually (optional)
-r_minset r_min of bounding box manually (optional)
-x_maxset x_max of bounding box manually (optional)
-x_minset x_min of bounding box manually (optional)

The s2mRTP task provides a fast s2m-averaging in a defined bounding box. The bounding box surrounds all block groups that are loaded in the –input task.

Example
--s2mRTP -autodeep
As alternative to defining a deep factor, autodeep-mode can be used. The deep-factor is adaptive adjusted depending on the size of the 3D-cell

--s2mRTP -nAxial 1000 -nRadial 1000
The number of cells in radial and/or axial direction can be set by the user. The default value for both directions is 500.

--s2mRTP -r_min 0.02
The coordinates of the bounding box can be manipulated. By default, the bounding box surrounds all loaded block groups.

Since
9.3