POST User Guide  POST Version 9.8.1
S2M Averaging

An averaging onto the S2M plane is desired.

Create S2M Plane

In order to average onto an S2M plane we need a suitable one. If you don't already have a matching S2M plane for your configuration you can let POST generate it:

Usage
POST \
--input TRACE.cgns -rbc \
--generateAuxiliaryS2Mesh -xieta length \
--writeS2M -name s2m_generated.dat
This generates an S2 surface with CoordinateXi and CoordinateEta being initialized by integrated distances into axial and radial directions.
Note
In some cases you have to specify which panels are the hub and casing of the machine. E.g. for a typical single stage configuration:
--generateAuxiliaryS2Mesh -xieta length -hub row01Hub_Wall row02Hub_Wall -tip row01Tip_Wall row02Tip_Wall
As this is a process which tries to find the outer contour from the 3D mesh, this sometimes may fail, then playing with -nCuts might help.
Warning
Use only one process to execute this command line.

Averaging

Usage
POST \
--input TRACE.cgns -rbc \ // Input TRACE.cgns with boundary setup
--readS2m -lS2 s2m_generated_undefined.dat \ // Input of auxiliary S2-mesh
--intersect3DS2MPlane \ // Create multiple S3 planes
--averaging \ // Calculation of conservative variables; interpolation; averaging (Flux/Mass/Area)
--createS2MPlane -output ../output/S2M_average.dat // Output in dat format
Note
If your s2m_generated_undefined.dat does not contain CoordinateXi and CoordinateEta use sub-option -xieta for --readS2m.

In order to use this S2M plane as initialization for TRACE, it is advisable to reduce the number of cuts and bands for the i3DS2 task, e.g.:

POST \
--input TRACE.cgns -rbc \
--readS2m -lS2 s2m_generated_undefined.dat \
--intersect3DS2MPlane -nCuts 10 -nBands 8 \ // Create 10 S3 planes with 8 bands each
--averaging \
--createS2MPlane -output ../output/S2M_average.dat
S2m plane

If you want to exactly integrate interface panels of your rows into the S2m mesh, you can use the task intersect3DAndAddInterfacesForS2m instead of intersect3DS2MPlane with the same options. In addition to the cuts generated by the intersect3DS2MPlane task, it re-bands interface panels to make them available for the S2m mesh.

POST \
--input TRACE.cgns -rbc \
--readS2m -lS2 s2m_generated_undefined.dat \
--intersect3DAndAddInterfacesForS2m -nCuts 10 -nBands 8 \ // Create 10 S3 planes with 8 bands each, and reband interface panels
--averaging \
--createS2MPlane -output ../output/S2M_average.dat

Mean Line Distribution

Instead of creating a S2M plane it is also possible to generate a mean line distribution.

Usage
POST \
--input TRACE.cgns -rbc \
--readS2m -lS2 s2m_generated_undefined.dat \
--intersect3DS2MPlane \
--averaging \
--createMeanLineDistribution -output ../output/meanLineDistribution.dat // create mean line instead of S2M plane
Mean line distribution

Involved tasks