Loading [MathJax]/extensions/tex2jax.js
MAIA bb96820c
Multiphysics at AIA
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Post-Processing Properties

Read the time-step properties for slice probing.

Averages solutions during solving.

initializes data for spatial averaging

restartTimeStep

MInt PostprocesssingSolver::m_restartTimeStep
default = 0

This property determines the timestep to restart from. Is only active, if restartFile is set.

  • timestep


Keywords: GENERAL, GLOBAL

pp_fileName

MInt PostprocesssingSolver::m_postprocessFileName
default = ""

Provide a file that is used for postprocessing (e.g. spatial averaging or probing).

  • filename


Keywords: POSTPROCESSING

apeSourceTermsAverages

vector<MInt> PostProcessing::m_activeSourceTerms
default = none

Names of the coupling source terms to use.
The possible source term names are stored in s_sourceTermNames.
Keywords: COUPLING, PHYSICS, SOURCE_TERM

pp_averageInterval

MInt PostProcessing::m_averageInterval
default = 1

This property determines the time step interval used for averaging solutions.

  • interval

Keywords: POSTPROCESSING

pp_averageStartTimestep

MInt PostProcessing::m_averageStartTimestep
default = 0

This property determines the start timestep used for averaging.

  • timestep

Keywords: POSTPROCESSING

pp_averageStopTimestep

MInt PostProcessing::m_averageStopTimestep
default = 0

This property determines the stop timestep used for averaging.

  • timestep

Keywords: POSTPROCESSING

pp_averageRestart

MInt PostProcessing::m_averageRestart
default = 0

This property determines if we should restart from our last averaging.

  • 0 disabled
  • 1 enabled

Keywords: GENERAL, POSTPROCESSING

pp_skewness

MInt PostprocesssingSolver::m_square
default = 0

This property determines if squares are computed for RMS values when PP_AVERAGE_PRE/IN/POST is activated.

  • 0 deactivated
  • 1 active


Keywords: POSTPROCESSING

pp_skewness

MInt PostprocesssingSolver::m_skewness
default = 0

This property determines if skewness is computed when PP_AVERAGE_PRE/IN/POST is activated.

  • 0 deactivated
  • 1 active


Keywords: POSTPROCESSING

pp_kurtosis

MInt PostprocesssingSolver::m_kurtosis
default = 0

This property determines if kurtosis (and skewness) is computed when PP_AVERAGE_PRE/IN/POST is activated.

  • 0 deactivated
  • 1 active


Keywords: POSTPROCESSING

pp_twoPass

MInt PostprocesssingSolver::m_twoPass
default = 0

This property determines if two-pass averaging is performed in PP_AVERAGE_PRE/POST.
Either m_twoPass or m_useKahan should be activated.

  • 0 deactivated
  • 1 active


Keywords: POSTPROCESSING

pp_useKahan

MInt PostprocesssingSolver::m_useKahan
default = 0

This property determines if kahan summation is performed in PP_AVERAGE_PRE/IN/POST.
Either m_twoPass or m_useKahan should be activated.

  • 0 deactivated
  • 1 active


Keywords: POSTPROCESSING

pp_averageVorticity

MInt PostProcessing::m_averageVorticity
default = 0
This property determines if the vorticity vector is considered in the computation of averages.

  • 0 disabled
  • 1 enabled

Keywords: POSTPROCESSING

pp_averageSpeedOfSound

MInt PostprocesssingSolver::m_averageSpeedOfSound
default = 0

This property determines if the speed of sound and its derivatives are considered in the computation of averages.

  • 0 disabled
  • 1 enabled

Keywords: POSTPROCESSING

statisticCombustionAnalysis

MBool FvCartesianSolver::m_statisticCombustionAnalysis
default = false

Sets the acoustic analysis /n possible values are:

  • true - on
  • false - off

Keywords: COMBUSTION, ACOUSTIC, ANALYSIS

pp_movingAverageInterval

MInt PostprocesssingSolver::m_movingAverageInterval
default = 1

This property determines the interval between timesteps considered for moving average, e.g. if set to 2 at an averaging timestep n (see pp_averagStartTimestep, pp_averageStopTimestep, pp_averageInterval) the timesteps n, n-2, n-4, ... are used to compute the moving average.
Note: this has to be a factor of m_averageInterval
See also pp_movingAverageDataPoints, pp_averageVorticity.
Keywords: POSTPROCESSING

pp_movingAverageStartTimestep

MInt PostProcessing::m_movingAverageStartTimestep
default = 0

This property determines the start timestep used for averaging.
Keywords: POSTPROCESSING, MOVINGAVERAGE

pp_movingAverageStopTimestep

MInt PostProcessing::m_movingAverageStopTimestep
default = 0

This property determines the stop timestep used for averaging.
Keywords: POSTPROCESSING, MOVINGAVERAGE

pp_movingAverageDataPoints

MInt PostprocesssingSolver::m_movingAverageDataPoints
default = empty

This property determines the number of timesteps (data points) used for moving average computation.
See also pp_movingAverageInterval, pp_averageVorticity.

  • integer &ge 2


Keywords: POSTPROCESSING

pp_probeCoordinates

MFloat** Solver::m_probeCoordinates
default = (0,0,0), ... ,(0,0,0)

This property defines the probe coordinates.

  • coordinates

Keywords: POSTPROCESSING

pp_probePath

MString PostProcessing::m_probePath
default = "./probes/"

This property defines the path for storing probe files.

  • relative path

Keywords: GENERAL, POSTPROCESSING

pp_probeLineDirection

MInt* PostprocesssingSolver::m_probeLineDirection
default = empty
This property determines the coordinate direction for each probe line (size: number of probe lines).

  • 0 x
  • 1 y
  • 2 z (3D)

Keywords: POSTPROCESSING

pp_probeLineCoordinates

MInt** PostprocesssingSolver::m_probeLineCoordinates
default = empty
This property determines the coordinate(s) of the probe line(s).
In 3D the first provided value corresponds to the lower of the remaining directions (e.g. x if probeLineDirection=1(=y)).

  • coordinate array of size (nDim-1)*(number of probe lines)

Keywords: POSTPROCESSING

pp_probeLineInterval

MInt PostProcessing::m_probeLineInterval
default = none

This property determines the time step interval used for line probing.
Keywords: POSTPROCESSING, PROBELINE

MInt PostProcessing::m_probeLineStartTimestep

This property determines the start timestep used for line probing.
default = 0
Keywords: POSTPROCESSING, PROBELINE

pp_probeLineStopTimestep

MInt PostProcessing::m_probeLineStopTimestep
default = numeric_limits<MInt>::max()

This property determines the stop timestep used for line probing.
Keywords: POSTPROCESSING, PROBELINE

pp_sliceAiaFileFormat

MInt PostprocesssingSolver::m_sliceAiaFileFormat
default = 0

This property determines if the slice files are written in the Aia File Format and therefore readable by the Aia Paraview Reader.

  • 0 deactivated
  • 1 active


Keywords: GLOBAL, POSTPROCESSING

_optimizedSliceIo

MBool PostprocesssingSolver::m_optimizedSliceIo
default = 0

This property accelerates the slice IO for big files.
If this option is not working for a specific case, set it to false.
1 active
Keywords: GLOBAL, POSTPROCESSING

pp_sliceAxis

MString * PostprocesssingSolver::m_sliceAxis

This property determines the axis of the probe slice(s).

  • x x axis
  • y y axis
  • z z axis


Keywords: GLOBAL, POSTPROCESSING

pp_probeSliceDir

MFloat * PostprocesssingSolver::m_probeSliceDir

This property determines the x, y or z-coordinates of the axes.
Possible values are: all coordinates inside the domain
Values that are exactly between two cell centers don't work (e.g. 0) Keywords: GLOBAL, POSTPROCESSING

pp_probeSliceDir

MInt PostprocesssingSolver::m_probeSliceDir

This property determines the directions of the probe slice(s).

  • 0 x
  • 1 y
  • 2 z


Keywords: GLOBAL, POSTPROCESSING

pp_probeSliceCoordinate

MInt PostprocesssingSolver::m_probeSliceCoordinate

default = empty
This property determines the coordinate of the probe slice(s) in the remaining direction (size: number of probe slices).

  • coordinate

Keywords: POSTPROCESSING

pp_probeSliceInterval

MInt PostProcessing::m_probeSliceInterval
default = none

This property determines the time step interval used for averaging solutions.

  • interval

Keywords: POSTPROCESSING, SLICE

pp_probeSliceStartTimestep

MInt PostProcessing::m_probeSliceStartTimestep
default = 0

This property determines the start timestep used for slice probing.

  • timestep

Keywords: POSTPROCESSING, SLICE

pp_probeSliceStopTimestep

MInt PostProcessing::m_probeSliceStopTimestep
default = numeric_limits<MInt>::max()

This property determines the stop timestep used for slice probing.

  • timestep

Keywords: POSTPROCESSING

Author
A. Niemoeller
Date
23.04.14
Parameters
[in]gridpointer to the grid

pp_spatialDirection1

MInt PostprocesssingSolver::m_spatialDirection1
default = -1

This property determines the first direction for spatial averaging.
If pp_spatialDirection1 and pp_spatialDirection2 are both -1, spatial averaging of the whole flow field on a single point is performed.
If one of the two directions is unequal -1, spatial averaging on a line in the specified direction is performed.
If both directions are unequal -1 and not equal to each other, same is done for a slice in these two directions (3D only).

  • -1 no direction
  • 0 x
  • 1 y
  • 2 z (3D only)


Keywords: POSTPROCESSING

pp_spatialDirection2

MInt PostprocesssingSolver::m_spatialDirection2
default = -1

This property determines the second direction for spatial averaging.
See pp_spatialDirection1 for more information.
Keywords: POSTPROCESSING

pp_arbLinePoints

MFloat* PostProcessing::m_arbLinePoints

default = 0
This property determines the start/end points of arbitrary probe lines.
Specify each point with an x, y and z (3D only) component.
A line is defined by two points and the number of lines is determined by the given total number of points.

  • coordinate

Keywords: POSTPROCESSING

pp_noPointsArbLine

MInt* PostProcessing::m_noArbLineIds

default = empty
This property determines the number of probing points for each arbitrary line.
Note: the number of points written to disk can be less than the provided number of points, e.g. when the line starts/ends outside the computational domain.

  • integer ≥ 2

Keywords: POSTPROCESSING

pp_arbSlicePoints

MFloat* PostProcessing::m_arbSlicePoints

default = empty
This property defines the points which span arbitrary probe slices. Specify each point with an x, y and z component.
A slice is defined by three points, the number of slices is determined by the given total number of points.
Given points a, b and c for a slice (with vectors b-a and c-a nonparallel), the positions on the slice are determined by
p_ij = a + 1/(i-1)*(b-a) + 1/(j-1)*(c-a)
The parameters i and j (number of points in direction b-a and c-a) are determined by the property pp_noPointsArbSlice.

  • coordinates

Keywords: POSTPROCESSING

pp_noPointsArbSlice

MInt* PostProcessing::m_noArbSlicePoints

default = empty
Number of points on the two directions of arbitrary probe slices, give a count for each direction of each slice. See property pp_arbSlicePoints for more information.

  • integer ≥ 2

Keywords: POSTPROCESSING

pp_arbSlicePointsDistribution

MFloat* PostProcessing::m_arbSlicePointsDistribution

Distribution of the points in instead of the typical equidistant distribution we normaly uses.
Keywords: GLOBAL, POSTPROCESSING

pp_movePointsToGrid

MInt* PostProcessing::m_movePointsToGrid

This property is used to activate the moving of the source points for arbitrary lines or slices onto the grid.
0: Points are not moved (default).
1: Points outside of the grid are move to the nearest cell center.
2: All points are moved to the nearest cell center. Keywords: GLOBAL, POSTPROCESSING

pp_spatialAveraging

MInt* PostProcessing::m_spatialAveraging

This property is used to activate the averaging of all variables in the slice/line probed.
0: Deactivated (default).
1: Activated.
Keywords: GLOBAL, POSTPROCESSING

Author
A. Niemoeller
Date
09.12.2013

performs averaging during solver run (mean values and reynolds stress components)
additionally computation of skewness and kurtosis of the velocity components is performed if activated (see properties "skewness"/"kurtosis")
summation of variables can be done alternatively using kahan summation in contrast to normal summation (see property "useKahan")
solution output filename will be "Mean_[averageStartTimestep]-[averageStopTimestep]"moving average for all averaging timesteps

Author
Ansgar Niemoeller
Date
09.07.2014

loads restart files and performs moving average

perform moving average

Author
Ansgar Niemoeller
Date
09.07.2014

stores all required variables on timesteps which are considered for moving average (see properties pp_movingAverageInterval, pp_movingAverageDataPoints) and computes the moving average on averaging timesteps (see properties pp_average[Start/Stop]Timestep, pp_averageInterval)
computes moving averages of primitive variables, these and the current variables are written using ParallelIo
can additionaly be performed on the vorticity vector (see pp_averageVorticity)

Probes values at a location

Author
Andreas Lintermann
Date
22.08.2012
Template Parameters

in] T celltype

line probing for all average timesteps or for a specified file

Author
Jannik Borgelt
Date
01.11.2020

loads variables for all average timesteps or from specified file and performs periodic line probing

line probing for all average timesteps or for a specified file

Author
Jannik Borgelt
Date
14.03.2022

loads variables for all average timesteps or from specified file and performs line probing

line probing for all average timesteps or for a specified file

Author
A. Niemoeller
Date
09.12.2013

loads variables for all average timesteps or from specified file and performs line probing

Probes values on all probe lines

Author
A. Niemoeller
Date
09.12.2013

writes single output file "probeLines_[globalTimeStep].Netcdf" containing all lines

arbitrary line probing for all average timesteps or for a specified file

Author
Ansgar Niemoeller
Date
07.06.2014

loads variables for all average timesteps or from specified file and performs arbitrary line probing

Probes values on all arbitrary probe lines

Author
Ansgar Niemoeller
Date
07.06.2014

writes single output file "probeArbitraryLines_[globalTimeStep].Netcdf" containing all lines

slice probing for all average timesteps or a specified file

Author
j. Borgelt
Date
09.03.2022

loads variables for all average timesteps or from specified file and performs slice probing

slice probing for all average timesteps or a specified file

Author
A. Niemoeller
Date
09.12.2013

loads variables for all average timesteps or from specified file and performs slice probing

Probes values on all probe slices

Author
A. Niemoeller
Date
09.12.2013

writes single output file "probeSlices_[globalTimeStep].Netcdf" containing all slices writes multiple files in the Aia File Format (Paraview) with m_sliceAiaFileFormat=1

arbitrary slice probing for all average timesteps or for a specified file

Author
Ansgar Niemoeller
Date
07.06.2014

loads variables for all average timesteps or from specified file and performs arbitrary slice probing

Probes values on all arbitrary probe slices

Author
Ansgar Niemoeller
Date
07.06.2014

writes single output file "probeArbitrarySlices_[globalTimeStep].Netcdf" containing all slices

Averages slices.

Author
D. Zilles
Date
09.07.2017

performs averaging before solver run (mean values)
currently only for slices created with pp_sliceAiaFileFormat=1
reads slices stored in the output directory (probeSlice_[sliceAxis]_[sliceIntercept]_[timestep])" \n solution output filename will be "Mean_probeSlice_[sliceAxis]_[sliceIntercept]_[averageStartTimestep]-[averageStopTimestep]" access to variables for averaging \author A. Niemoeller \date 23.04.14 @param [in] cellId id of requested cell @param [inout] vars pointer which is set to the start of the cell variables Get the sampling variables associated with the given sampleVarId for the given cell Spatial averaging for all average timesteps or for a specified file \author A. Niemoeller \date 23.04.14 loads variables for all averaging timesteps or from specified file and performes spatial averaging performs spatial averaging \author A. Niemoeller \date 23.04.14 depending on the set properties for the spatial directions, the flow field is averaged on a point/line/slice creates mapping for spatial averaging on a line \author A. Niemoeller \date 23.04.14 @param [inout] coordinates positions and levels of all cells projected on the line @param [out] cell_to_map mapping from position to averaging position on the line @param [in] grid pointer to the grid creates mapping for spatial averaging on a slice \author A. Niemoeller \date 23.04.14 @param [inout] coordinates positions and levels of all cells projected on the slice @param [out] cell_to_map mapping from position to averaging position on the slice @param [in] grid pointer to the grid Finds the closest cell to a probe point \author Andreas Lintermann \date 22.08.2012 \tparam[in] T celltype stores all min level cell ids, TODO labels:PP wrong for partition level shift \author Ansgar Niemoeller \date 07.06.2014 @param [in] grid pointer to the grid get id of leaf cell containing a given point \author Ansgar Niemoeller \date 07.06.2014 Important: this function requires a previous call to collectMinLvlCells(...) \n starts with the min level cells and searches down to the leaf cell containing a given point \n returns -1 if no cell is found \n if the given point lies on a cell boundary and between different domains it is considered to belong only to the domain with the lowest id (cellId==-1 for all other domains) @param [in] coord point of interest @param [out] cellId id of leaf cell containing coord @param [in] grid pointer to the grid Reads the coordinates of points for which the velocities and pressure should be saved \author Bjoern Peeters (bjoern) <b.peeters@aia.rwth-aachen.de> \date 2017-05-01 @param [in] grid Pointer to the grid @section pp_pdFileName <code>MInt PostProcesssingSolver::m_pdFileName</code>\n default = <code>""</code>\n\n This property determines the filename for the input coordinates.\n <ul> <li><code>filename</code></li> </ul>\n Keywords: <i>GLOBAL, POSTPROCESSING</i> @section pp_pdStartTimestep <code>MInt PostProcesssingSolver::m_pdStartTimestep</code>\n default = <code>0</code>\n\n This property determines the timestep after which the storing of the point data starts.\n Keywords: <i>GLOBAL, POSTPROCESSING</i> @section pp_pdStopTimestep <code>MInt PostProcesssingSolver::m_pdStopTimestep</code>\n default = <code>0</code>\n\n This property determines the timestep after which the storing of the point data stops.\n Keywords: <i>GLOBAL, POSTPROCESSING</i> @section pp_pdRestartInterval <code>MInt PostProcesssingSolver::m_pdRestartInterval</code>\n default = <code>0</code>\n\n This property determines the interval after which the storing of the point data writes a restart file.\n Keywords: <i>GLOBAL, POSTPROCESSING</i> Stores the velocities and pressure for all points and writes them to a Netcdf file with the prefix "microphones_"

Author
Bjoern Peeters (bjoern) b.pee.nosp@m.ters.nosp@m.@aia..nosp@m.rwth.nosp@m.-aach.nosp@m.en.d.nosp@m.e
Date
2017-05-01

Searches for the nearest boundary cell from the given coordinate.

Author
Jerry Grimmen
Date
08.08.2016
Parameters
[out]idof the cell
[in]coordto check
[in]gridpointer to the grid

Move the points onto the grid cells. Property m_movePointsToGrid should be set before calling this.

Author
Jerry Grimmen
Date
15.08.2016
Parameters
[in]coordinatesof the points to move
[in]numberof coordinates
[in]gridpointer to the grid

init function for sray data

Author
Tim Wegmann
Date
Jan 2022

particleOutputStep

MInt LPT::m_outputStep
default = 50

Number of time steps between output of particle data.
Keywords: PARTICLE