PREP User Guide  PREP Version 9.8.1
Creating Analysis Surfaces with PREP

This page describes how the PREP task intersectPanel can be used to create analysis surfaces, e.g. for online post-processing in TRACE.

The resulting surfaces are divided into blocks. The borders of these blocks are located exactly on the borders of the 3D-Block. So every Block only know the part of the panel which is located in this borders. The elements are unstructured triangles and lying in bands, if specified. In addition one element is part of only one cell and knows this cell index.

The cgns-file will be extended with the resulting surfaces:

Example
PREP --intersectPanel --intersectGridFile grid.dat -cgns TRACE.cgns

This command performs a direct cut of the volume with the input grid. The input grid file grid.dat contains a simple small grid just including the region where the cut lies. It is given in x-r-Coordinates and has two additional values, Coordinate_Xi and Coordinate_Eta, indicating the initial cutting line. It could look like this:

grid.dat:

TITLE = "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
...

The resulting surfaces looks like the input grid, except that they are divided into blocks and the elements are unstructured triangles.

Optionally, two additional arguments can be given.

Example
PREP --intersectPanel --intersectGridFile grid.dat --intersectCutFile cut.dat --intersectBandFile band.dat -cgns TRACE.cgns

The file cut.dat contains a list of values for \(\xi\) or \(\eta\) specifying where to cut.

cut.dat:

TITLE = "Input cut positions for intersection"
VARIABLES = "CoordinateXi"
ZONE T = "Cutting Definition"
i=6, j=1, k=1, ZONETYPE=Ordered
DATAPACKING = POINT
0.100000
0.300000
0.400000
0.510000
0.700000
0.900000
Warning
DON'T cut on the edge of your 'Grid Definition' or somewhere you don't have defined the values!

The file band.dat is only needed if bands should be created on the analysis surface. Like the 'Cutting Definition' it is a list of values but this time with the other variable. Only the inner band values have to be specified.

band.dat:

TITLE = "Input band positions for intersection"
VARIABLES = "CoordinateEta"
ZONE T = "Band Definition"
i=5, j=1, k=1, ZONETYPE=Ordered
DATAPACKING = POINT
0.100000
0.300000
0.500000
0.700000
0.900000
Note
You can create the last two files with the 'discrete point' extraction from Tecplot.
Only Tecplot-files in ASCII with DATAPACKING=POINT are accepted and every file can only have one zone!