Problem description
The simulation result is a temporally averaged statistics file generated using the ComputeStatistics command in TRACE. Since the k-direction of the structured mesh is the homogeneous direction, spatial averaging (favreAverageSpatially) can be applied. For comparison with experimental data a wake profile has to be extracted at a specified \(x\)-position behind the blade.
LES statistics result with spatial averaging and cut through wake.
- Note
- The blocks must not be split in the homogeneous direction for spatial averaging.
Input files
To use the intersection tasks, two Tecplot files have to be generated, which specify the cut positions. The first specifies the \(x\)-position by means of an \(xr\)-polyline:
TITLE = "Input cut positions for intersection"
VARIABLES = "CoordinateX" "CoordinateR"
ZONE T = "WakePlane"
i=2, j=1, k=1, ZONETYPE=Ordered
DATAPACKING = POINT
0.15063804 0
0.15063804 1
Only two points are needed and the range of CoordinateR needs to include the \(z\)-range covered by the configuration.
The second file just has to specify that the resulting WakePlane has to be cut at half-span:
TITLE = "Input cut positions for intersection"
VARIABLES = "CoordinateEta"
ZONE T = "Cutting Definition"
i=1, j=1, k=1, ZONETYPE=Ordered
DATAPACKING = POINT
AUXDATA PanelFamilies = "WakePlane"
AUXDATA IntersectionFamily = "Wake"
0.5
Process chain
The following POST command will do the job:
POST \
--input ../output/cgns/TRACE.statistics.merged.cgns \
--calcMach \
--calcPressureStagnation \
--favreAverageSpatially -index k \
--deleteBlock -keep -type analysis2d \
--generateQ3DS2M \
--intersectPanel -cf cut_xPosition_xr.dat \
--interpolate2d \
--intersectLine -cf cut_eta0.5.dat \
--interpolate1d -vertexBased \
--mergeAnalysisLines \
--deleteBlock -famtype S1BladeCutPieces \
--deleteBlock -keep -dim 1 \
--deletePhysics -sol XiEta \
--output ../output/dat/wake.dat
- Compute stagnation pressure (and Mach number because it is not included in statistics file).
- Favre average along homogeneous direction.
- Delete the original blocks and just keep the averaged blocks.
- Generate an S2m surface for the new averaged blocks to use it with the intersectLine task.
- Cut the wake plane through the averaged blocks at the specified \(x\)-position.
- Interpolate the solution onto the created plane.
- Cut the wake profile through the wake plane at half-span.
- Interpolate the solution from the plane onto the vertices of the wake profile.
- Merge the pieces of the wake profile into one single block.
- Delete the pieces.
- Delete everything but the 1D block (S2m surface, averaged blocks).
- Delete the additional
XiEta solutions on the wake profile.
- Note
- Due to the tasks
generateQ3DS2m and mergeAnalysisLines, this has to be done on 1 process.
Involved tasks