For a given geometry intersecting surfaces for analysis should be generated.
Universal cut
Input are Tecplot ASCII files with a 2D structured grid with xyz coordinates
Grid file with a sphere definition
Grid file with a wave definition
- Usage
POST \
--input TRACE.cgns \
--intersectPanel -gf sphere.dat -cn sphere \
--intersectPanel -gf wave.dat -cn wave \
--interpolate2d \
--deleteBlock -dim 3 \
--interpolateCellCenteredToVertexData \
--output Universal_Cut.plt
Resulting analysis surfaces in a turbomachine
S1 cut
- Precondition
- cutting definition files (see intersectPanel)
- Example
- Example for a grid file mapping coordinates X,R to Xi,Eta
TITLE = "Example input grid for intersection"
VARIABLES = "CoordinateX", "CoordinateR", "CoordinateXi", "CoordinateEta"
ZONE T = "Grid Definition"
i=8, j=19, k=1, ZONETYPE=Ordered
DATAPACKING = POINT
0.000000 0.000000 0.000000 0.000000
0.000000 0.142857 0.000000 0.142857
0.000000 0.285714 0.000000 0.285714
0.000000 0.428571 0.000000 0.428571
...
or use a S2M plane from Averaging
Example for a cut definition file
TITLE = "Cutting Definition"
VARIABLES = "RelativeMassflow"
ZONE T = "FlowSolution"
i=10, j=1, k=1, ZONETYPE=Ordered
DATAPACKING = POINT
DT=(SINGLE)
0.100000
0.200000
...
- Usage
POST \
--input TRACE.cgns \
--intersectPanel -gf S2m.dat -cf cut_S1.dat \
--interpolate2d \
--deleteBlock -dim 3 \
--interpolateCellCenteredToVertexData \
--output S1_cut.plt
S1 cuts with constant relative mass flow
S3 cut
- Usage
POST \
--input TRACE.cgns \
--intersectPanel -gf S2m.dat -cf cut_S3.dat \
--intersectPanel -gf S2m.dat -cf cut_S3.dat -bf cut_band.dat \
--interpolate2d \
--deleteBlock -dim 3 \
--interpolateCellCenteredToVertexData \
--output S3_cut.plt
Example for a cut definition file
TITLE = "Cutting Definition"
VARIABLES = "CoordinateXi"
ZONE T = "FlowSolution"
i=10, j=1, k=1, ZONETYPE=Ordered
DATAPACKING = POINT
DT=(SINGLE)
0.100000
0.200000
...
Example for a band definition file
TITLE = "Band Definition"
VARIABLES = "CoordinateEta"
ZONE T = "FlowSolution"
i=9, j=1, k=1, ZONETYPE=Ordered
DATAPACKING = POINT
DT=(SINGLE)
0.100000
0.200000
...
S3 cuts
XR Polyline
Example for a polyline cut file
TITLE = "Cutting Definition"
VARIABLES = "CoordinateX"
"CoordinateR"
ZONE T="xrPolyline"
STRANDID=0, SOLUTIONTIME=0
I=95, J=1, K=1, ZONETYPE=Ordered
DATAPACKING=POINT
DT=(SINGLE SINGLE )
0.200000 0.000000
0.200000 0.050000
0.200000 0.100000
0.200000 0.150000
...
- Usage
POST \
--input TRACE.cgns \
--intersectPanel -cf cut_XR.dat \
--interpolate2d \
--deleteBlock -dim 3 \
--interpolateCellCenteredToVertexData \
--output xr_cut.plt
Extract iso surface
Extract an analysis surface with an arbitrary variable
- Usage
POST \
--input TRACE.cgns \
--calcCylindricalCoordinates \
--interpolateCellCenteredToVertexData \
--extractIsoSurface -var CoordinateR -value 0.17 \
--interpolate2D \
--deleteBlock -dim 3 \
--output IsoSurfaces.plt
Integral values on cuts
You can combine all shown types of cuts with the averaging task to get integral values.
POST \
--input TRACE.cgns -rbc \
--intersectPanel -gf sphere.dat -cn sphere \
--averaging \
--outputIntegralData -fileName sphere_average.dat -avgType area
To get radial distributions on the banded analysis surfaces use the turbomachinery analysis
POST \
--input TRACE.cgns -rbc \
--intersectPanel -gf S2m.dat -cf cut_S3.dat -bf cut_band.dat \
--createBandedInterfaces
--averaging \
--TurbomachineryAnalysis_0D1D
Involved tasks