These command lines reflect the current possibilies of POST to perform the post-processing. This means it is not necessarily the correct or the high-performance way.
Create files containing only geometry
- S2 mesh with CoordinateXi and CoordinateEta
POST --input cgns_steady/TRACE.cgns -rbc \
--generateAuxiliaryS2Mesh -simple -nCuts 14 \
--writeS2M -name ../post_geom/S2m.dat
- Warning
- Use only one one process.
- Tecplot file containing only walls without any flow solution
POST --input cgns_steady/TRACE.cgns -rbc \
--deleteBlock -bc Solid -keep \
--deletePhysics -sol FlowSolution \
--output ../post_geom/solid.plt
Recall some commands to post process the steady computation
- S2M plane and mean line distribution
POST --input cgns_steady/TRACE.cgns -rbc \
--readS2m -lS2 ../post_geom/S2m_undefined.dat \
--intersect3DS2MPlane \
--averaging \
--createS2MPlane -output ../post_steady/S2m_average.dat \
--createMeanLineDistribution -output ../post_steady/meanLine.dat
- airfoil cuts containing blade pressure distribution and boundary layer values
POST --input cgns_steady/TRACE.cgns -rbc \
--createBandedInterfaces \
--calcPressureStagnation \
--calcVelocityNorm \
--calcMolecularViscosity \
--shearStressWall \
--frictionVelocity \
--averaging \
--readS2m -lS2 ../post_steady/S2m_average_flux.dat \
--intersectLine -cf bladeCuts.dat \
--interpolate1d -order 1 \
--bladePressureDistribution \
--calcCoefFriction \
--intersectBoundaryLayer -source cut \
--interpolate3Dto1D \
--deleteBlock -dim 1 -keep \
--output ../post_steady/temp_airfoil_cut_pieces.cgns
POST --input ../post_steady/temp_airfoil_cut_pieces.cgns \
--nonDimBoundaryLayerValues \
--mergeAnalysisLines -blc \
--integrateBoundaryLayerEdge \
--deleteBlock -famtype BoundaryLayerCut \
--mergeAnalysisLines \
--deleteBlock -famtype S1BladeCutPieces \
--s1coordinates \
--deletePhysics -sol XiEta \
--output ../post_steady/bladeCuts.plt
- Warning
- Use only one process to execute the second command line
- 3D Tecplot file with 3D zones including some derived variables
POST --input cgns_steady/TRACE.cgns \
--calcTurbomachineryFieldVariables \
--vortexDetection \
--interpolateCellCenteredToVertexData \
--calcCylindricalCoordinates \
--output ../post_steady/POST_mean.plt
- blade pressure distribution on walls
POST --input cgns_steady/TRACE.cgns -rbc \
--createBandedInterfaces \
--calcMolecularViscosity \
--shearStressWall \
--deleteBlock -dim 3 \
--frictionVelocity \
--averaging \
--readS2m -lS2 ../post_steady/S2m_average_flux.dat \
--bladePressureDistributionSolid2d \
--calcCoefFrictionSolid2D \
--deleteBlock -bc Solid -keep \
--interpolateCellCenteredToVertexData \
--calcCylindricalCoordinates \
--output ../post_steady/POST_2D_MisCpCf.plt
- Tecplot file with S1 planes and some derived variables
POST --input cgns_steady/TRACE.cgns \
--calcSchlieren \
--intersectPanel -gf ../post_steady/S2m_average_flux.dat -cf S1Cuts.dat \
--interpolate2D \
--deleteBlock -type analysis2d -keep \
--calcTurbomachineryFieldVariables \
--calcTurbulenceIntensity \
--interpolateCellCenteredToVertexData \
--calcCylindricalCoordinates \
--output ../post_steady/POST_2D_S1_mean.plt
- 0D and 1D values at interfaces and S3 planes and a Tecplot file with these planes
POST --input cgns_steady/TRACE.cgns -rbc \
--createBandedInterfaces \
--intersectPanel -gf ../post_steady/S2m_average_flux.dat -cf S3Cuts.dat -bf S3Bands.dat \
--averaging \
--deleteBlock -dim 2 -keep \
--TurbomachineryAnalysis_0D1D -tecplotASCII ../post_steady \
--interpolateCellCenteredToVertexData \
--calcCylindricalCoordinates \
--output ../post_steady/POST_2D_BDS3_mean.plt
Now the modified commandlines for a phase lag simulation
The used configuration here has an angular velocity of 20000 rpm and 28 time steps per period are used for the unsteady simulation. The number of segments in the rotor are 16 and in the stator 29. That is the reason why the whole annulus has to used for the post-processing.
- S2M plane and mean line distribution
POST --input cgns_unsteady/TRACE.fourier.cgns -rbc \
--duplicateData -annulus \
--readS2m -lS2 ../post_geom/S2m_undefined.dat \
--intersect3DS2MPlane \
--reconstructTimeHistory -f 333.33333 -nPics 233 \
--averagingUnsteady \
--deleteBlock -dim 3 \
--createS2MPlane -output ../post_unsteady/S2m_average.dat \
--createMeanLineDistribution -output ../post_unsteady/meanLine.dat
- airfoil cuts containing blade pressure distribution and boundary layer values
POST --input cgns_unsteady/TRACE.fourier.cgns -rbc \
--createBandedInterfaces \
--readS2m -lS2 ../post_unsteady/S2m_average_flux.dat \
--intersectLine -cf bladeCuts.dat \
--reconstructTimeHistory -f 333.33333 -nPics 233 \
--calcPressureStagnation \
--calcVelocityNorm \
--calcMolecularViscosity \
--shearStressWall \
--frictionVelocity \
--averagingUnsteady \
--interpolate1d \
--bladePressureDistribution \
--calcCoefFriction \
--intersectBoundaryLayer -source cut \
--interpolate3Dto1D \
--deleteBlock -dim 1 -keep \
--output ../post_unsteady/temp_airfoil_cut_pieces.cgns
POST --input ../post_unsteady/temp_airfoil_cut_pieces.cgns \
--nonDimBoundaryLayerValues \
--mergeAnalysisLines -blc \
--integrateBoundaryLayerEdge \
--deleteBlock -famtype BoundaryLayerCut \
--mergeAnalysisLines \
--deleteBlock -famtype S1BladeCutPieces \
--s1coordinates \
--deletePhysics -sol XiEta \
--output ../post_unsteady/bladeCuts.plt
- Warning
- For the calculation of isentropic Mach number the relative mass flow should be used for definition of the cut.
-
Use only one process to execute the second command line
- 3D Tecplot file with 3D zones including some derived variables
POST --input cgns_unsteady/TRACE.fourier.cgns \
--reconstructTimeHistory -f 333.33333 -nPics 233 \
--calcTurbomachineryFieldVariables \
--vortexDetection \
--timeAverage \
--interpolateCellCenteredToVertexData \
--calcCylindricalCoordinates \
--output ../post_unsteady/POST_mean.plt
- blade pressure distribution on walls
POST --input cgns_unsteady/TRACE.fourier.cgns -rbc --createBandedInterfaces \
--duplicateData -annulus \
--readS2m -lS2 ../post_unsteady/S2m_average_flux.dat \
--reconstructTimeHistory -f 333.33333 -nPics 233 \
--calcMolecularViscosity \
--shearStressWall \
--deleteBlock -dim 3 \
--frictionVelocity \
--averagingUnsteady \
--bladePressureDistributionSolid2d \
--calcCoefFrictionSolid2D \
--deleteBlock -bc Solid -keep \
--interpolateCellCenteredToVertexData \
--calcCylindricalCoordinates \
--output ../post_unsteady/POST_2D_MisCpCf.plt
- Tecplot file with S1 planes and some derived variables
POST --input cgns_unsteady/TRACE.fourier.cgns \
--intersectPanel -gf ../post_unsteady/S2m_average_flux.dat -cf S1Cuts.dat \
--reconstructTimeHistory -f 333.33333 -nPics 233 \
--calcSchlieren \
--interpolate2D \
--deleteBlock -type analysis2d -keep \
--calcTurbomachineryFieldVariables \
--calcTurbulenceIntensity \
--timeAverage \
--interpolateCellCenteredToVertexData \
--calcCylindricalCoordinates \
--output ../post_unsteady/POST_2D_S1_mean.plt
- 0D and 1D values at interfaces and S3 planes and a Tecplot file with these planes
POST --input cgns_unsteady/TRACE.fourier.cgns -rbc \
--createBandedInterfaces \
--intersectPanel -gf ../post_unsteady/S2m_average_flux.dat -cf S3Cuts.dat -bf S3Bands.dat \
--duplicateData -annulus \
--reconstructTimeHistory -f 333.33333 -nPics 233 \
--averagingUnsteady \
--TurbomachineryAnalysis_0D1D -tecplotASCII ../post_unsteady
POST --input cgns_unsteady/TRACE.fourier.cgns -hl 0 -rbc \
--intersectPanel -gf ../post_unsteady/S2m_average_flux.dat -cf S3Cuts.dat -bf S3Bands.dat \
--interpolate2D \
--deleteBlock -dim 2 -keep \
--interpolateCellCenteredToVertexData \
--calcCylindricalCoordinates \
--output ../post_unsteady/POST_2D_BDS3_mean.plt
Involved tasks