POST User Guide  POST Version 9.8.1
Boundary Layer Analysis

The boundary layer analysis should be evaluated with POST. POST currently supports three different methods to achieve this:

  • The method --fullBoundaryLayerAnalysis creates 1D cuts through the 3D flow field within the task and immediately integrates the flow variables along them. The method is parallelized and scales well to multiple processors. The task also generates the variables produced by the multi-mode model.
  • Two legacy methods, --generateRaysOnWalls and --intersectBoundaryLayer, both generate boundary layer cuts (rays) as a first step and create POST blocks for each ray, which can subsequently be processed in the command chain. These methods differ only in how the rays are generated. If using one of these methods, consider that intersectBoundaryLayer is, in general, prohibitively expensive.

Full boundary layer analysis using VTK

The --fullBoundaryLayerAnalysis task works on the same basic principle as the legacy methods but performs all steps in a single task. This is necessary given the global nature of POST metadata, which makes storing each ray as a PostBlock intractable for large cases, especially when using many processes.

The ray generation also uses VTK (as does intersectBoundaryLayer) but does so in a significantly more efficient way.

In addition to the boundary layer thickness, this task also computes several boundary layer quantities previously output by TRACE in the 2D CGNS file TRACE_2D.cgns.

Usage
POST \
--input TRACE.cgns -rbc \
--calcPressureStagnation --calcVelocityNorm \
--calcMolecularViscosity --shearStressWall \
--fullBoundaryLayerAnalysis -rayLength 0.004 \ // perform the boundary layer analysis
--deleteBlock -dim 3 \
--output BLA.plt
Note
A good first estimate for the -rayLength sub-parameter is 10% of the blade chord length.
Warning
-rayLength should be larger than the expected boundary layer thickness but not excessive. As the termination criterion depends on a global pressure maximum, choosing a -rayLength that will reach a different boundary layer will produce incorrect results.
Note
If you need the 1D Blocks, which were generated by the old methods, pass -generate1DBlocks as a sub-parameter. Note that this has a significant impact on performance.

Involved tasks

Legacy boundary layer analysis using VTK

The use of boundaryLayerCutTask results in a two-step creation of the boundary layer cuts:

  • cutting planes from the 3D block
  • cutting lines from the plane

In this example task the user gets a profile cut with boundary layer thickness distribution.

Usage
POST \
--input TRACE.cgns -rbc \
--calcPressureStagnation --calcVelocityNorm \
--calcMolecularViscosity --shearStressWall \
--readS2m -lS2 s2m_avg_flux.dat \
--intersectLine -cf cut_relMassflowSingle.dat \ // create blade cut
--interpolate1d \
--intersectBoundaryLayer -source cut \ // create line in 3D mesh normal to blade surface
--interpolate3Dto1D \ // interpolate variables onto lines
--nonDimBoundaryLayerValues \ // calculate dimensionless boundary layer values
--mergeAnalysisLines -blc \
--integrateBoundaryLayerEdge \ // integrate boundary layer values
--deleteBlock -dim 3 \
--deleteBlock -dim 2 \
--output IGEL.plt
Warning
The intersection task is computationally expensive. An intersection of a full 3D field with a full 2D surface might take a while.
Use only one process to execute this command line. (For a speed up see S1 Blade Cuts)
Precondition
S2M-Mesh
cutting definition file (intersectPanel)

Involved tasks

Boundary layer analysis using kd-Tree

The creation of rays defined by number of equidistant sampling points and a length is done by using generateRaysOnWalls. That task has be to combined with the interpolation task interpolate3dToLines, that uses a kd-Tree. Therefore, users are encouraged to use the composite task createInterpolatedBoundaryLayerCuts.

Usage
POST \
-input TRACE.cgns -rbc \
--calcPressureStagnation --calcVelocityNorm \
--calcMolecularViscosity --shearStressWall \
--createInterpolatedBoundaryLayerCuts -raySize 400 -rayLength 0.04 -order 2 \
--nonDimBoundaryLayerValues \
--integrateBoundaryLayerEdge -pressureStagnationCriterion 0.999 \
--deleteBlock -dim 3 \
--deleteBlock -dim 1 \
--output bla_surfaces.plt \

Involved tasks

Warning
In order to interpolate values on the generated rays, the task generateRaysOnWalls has to be combined with interpolate3dToLines.
Use only one process to execute this command line.