Blade pressure distributions
Some quantity, e.g. a pressure coefficient distribution, should be visualized on a constant relative mass flow position.
S1 blade cuts
- Usage
POST \
--input TRACE.cgns -rbc \
--createBandedInterfaces \
--averaging \
--readS2m -lS2 s2m.dat \
--intersectLine -cf cut.dat \
--interpolate1d -vertexBased \
--bladePressureDistribution \
--deleteBlock -dim 3 \
--deleteBlock -dim 2 \
--deleteBlock -bnl S2MSurface \
--mergeAnalysisLines \
--deleteBlock -famtype S1BladeCutPieces \
--s1coordinates \
--deletePhysics -sol XiEta \
--output ../output/post_coefficients.plt
- Warning
- Use only one process to execute this command line.
- Precondition
- S2M-Mesh
-
cutting definition file (intersectPanel)
Isentropic Mach number
To speed up this process the command line can be splitted in a parallel and serial part with file IO in between.
mpirun -np 40 POST \
--input TRACE.cgns -rbc \
--createBandedInterfaces \
--averaging \
--readS2m -lS2 s2m.dat \
--intersectLine -cf cut.dat \
--interpolate1d -vertexBased \
--bladePressureDistribution \
--deleteBlock -dim 3 \
--deleteBlock -dim 2 \
--deleteBlock -bnl S2MSurface \
--output S1Blade_cuts_pieces.cgns
POST \
--input S1Blade_cuts_pieces.cgns
--mergeAnalysisLines \
--deleteBlock -famtype S1BladeCutPieces \
--s1coordinates \
--deletePhysics -sol XiEta \
--output ../output/post_coefficients.plt
The use of the 2D CGNS output from TRACE is also possible. Drop the use of -rbc and --deleteBlock -dim 3 in the command line above.
Calculation of relations values involving blade geometry
The following task chain is suitable for calculating relations (e.g. ReynoldsInflow, ReynoldsOutflow, CoefDiffusion) in a block group called 'R1' based on the chord of a blade.
POST \
--input TRACE.cgns -rbc -family R1 \
--createBandedInterfaces \
--readS2m -lS2 s2m_generated_undefined.dat \
--interpolateS2MToBoundary \
--averaging \
--intersectLine -cf blade_cuts.dat \
--interpolate1d -vertexBased \
--mergeAnalysisLines \
--deleteBlock -famtype S1BladeCutPieces \
--storeReferenceValues -avgType mass \
--deleteBlock -dim 1 -keep \
--s1coordinates \
--deletePhysics -sol XiEta \
--s1relations \
--assembleRadialDistributions \
--writeS1Average -tecplotASCII ../output
Here, several blade cuts (intersectLine) are performed at different constant relative mass flow and various values (s1relations) are calculated using mass-averaged reference values (storeReferenceValues) for the inlet respectively the outlet of the block group.
However, if the inlet/outlet of the block group is not to be used as a reference, S3 surfaces can also be used as user-defined control domains.
POST \
--input TRACE.cgns -rbc -family R1 \
--createBandedInterfaces \
--intersectPanel -gf s2m_generated_undefined.dat -cf rotorCD_cuts.dat -bf blade_cuts.dat \
--addControlDomain -name RotorCD -mainInlet IP_ISO_XI_CUT_0.227000 -mainOutlet IP_ISO_XI_CUT_0.484000 \
--readS2m -lS2 s2m_generated_undefined.dat \
--interpolateS2MToBoundary \
--averaging \
--intersectLine -cf blade_cuts.dat \
--interpolate1d -vertexBased \
--mergeAnalysisLines \
--deleteBlock -famtype S1BladeCutPieces \
--storeReferenceValues -avgType mass -cd RotorCD \
--deleteBlock -dim 1 -keep \
--s1coordinates \
--deletePhysics -sol XiEta \
--s1relations \
--assembleRadialDistributions \
--writeS1Average -tecplotASCII ../output
First, two S3 surfaces are created (intersectPanel) at the front and rear edges and combined into a control domain (addControlDomain).
Involved tasks