MAIA bb96820c
Multiphysics at AIA
|
#include <postprocessingfvlpt.h>
Public Types | |
using | lptSolver = LPT< nDim > |
using | fv = FvCartesianSolverXD< nDim, SysEqn > |
using | BaseFv = PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > > |
using | BaseLpt = PostProcessing< nDim, PostProcessingLPT< nDim > > |
using | ppFv = PostProcessingFv< nDim, SysEqn > |
using | ppLpt = PostProcessingLPT< nDim > |
Public Types inherited from PostProcessingLPT< nDim > | |
using | SolverType = LPT< nDim > |
using | Base = PostProcessing< nDim, PostProcessingLPT< nDim > > |
Public Types inherited from PostProcessing< nDim, PostProcessingLPT< nDim > > | |
using | PPGrid = CartesianGrid< nDim > |
using | Cell = typename PPGrid::Cell |
using | GridProxy = typename maia::grid::Proxy< nDim > |
using | Data = PostData< nDim > |
Public Member Functions | |
PostProcessingFvLPT (MInt postprocessingId_, PostData< nDim > *data, fv *ppFvSolver_, lptSolver *ppLptSolver_) | |
virtual | ~PostProcessingFvLPT () |
Solver * | mSolver () const override |
void | initPostProcessing () override |
void | postprocessPreSolve () override |
void | postprocessPostSolve () override |
void | postprocessInSolve (const MBool finalTimeStep) override |
void | postprocessSolution () override |
void | initSprayData () override |
Public Member Functions inherited from PostProcessingLPT< nDim > | |
PostProcessingLPT (MInt postprocessingId_, PostData< nDim > *data, SolverType *ppSolver_) | |
virtual | ~PostProcessingLPT () |
SolverType & | solver () const |
void | initSprayData () override |
init arrays More... | |
Public Member Functions inherited from PostProcessing< nDim, PostProcessingLPT< nDim > > | |
PostProcessing (MInt postprocessingId_, PostData< nDim > *data) | |
~PostProcessing () | |
Destructor for the massive paralle postprocessing solver. More... | |
void | initPostProcessing () override |
Reads all required properties in and prepares for postprocessing. More... | |
void | postprocessPreSolve () override |
void | postprocessPostSolve () override |
void | postprocessInSolve (MBool finalTimeStep) override |
void | postprocessSolution () override |
Solver * | mSolver () const override |
Data & | postData () const |
Public Member Functions inherited from PostProcessingInterface | |
PostProcessingInterface (const MInt postprocessingId_) | |
virtual | ~PostProcessingInterface ()=default |
PostProcessingInterface (const PostProcessingInterface &)=delete | |
PostProcessingInterface & | operator= (const PostProcessingInterface &)=delete |
virtual void | initPostProcessing ()=0 |
virtual void | postprocessPreSolve ()=0 |
virtual void | postprocessPostSolve ()=0 |
virtual void | postprocessInSolve (MBool finalTimeStep)=0 |
virtual void | postprocessSolution ()=0 |
virtual Solver * | mSolver () const =0 |
MInt | a_postprocessingId () const |
Static Public Attributes | |
static MString | s_ppType |
Protected Member Functions | |
void | computeSprayData () override |
base function which is called every time-Step in postprocessInSolve More... | |
void | writeSprayData () override |
void | initLPTSolutionFile () override |
void | writeLPTSolutionFile () override |
Protected Member Functions inherited from PostProcessingLPT< nDim > | |
void | initLPTSolutionFile () override |
init function for LPT particle solution file More... | |
void | writeLPTSolutionFile () override |
base function which is called every time-Step in postprocessInSolve More... | |
void | initParticleStatistics () override |
init function for LPT particle statistics file More... | |
void | computeParticleStatistics () override |
compute average quantites of particle phase average particle Reynolds number ReP the root mean square particle velocity vrms the total kinetic energy of the particles More... | |
void | initParticleLog () |
initialize particle.log More... | |
void | writeParticleLog () |
write particle Log file, containing particle position and velocity at timestep t More... | |
void | particleMass () |
computes conervation variables (mass/momentum/energy!) More... | |
void | parcelStatistics () |
computes parcel statistics More... | |
void | particlePenetration () |
calculate vertical and horizontal penetration from given coordinate More... | |
MInt | getInjectionData () |
void | advanceDataStep () |
void | resetDataStep () |
Protected Member Functions inherited from PostProcessing< nDim, PostProcessingLPT< nDim > > | |
MBool | isActive () const |
void | transferSensorWeights () |
void | initReduceToLevelAvg () |
Initializes properties for grid level reduction. More... | |
void | initTimeStepProperties () |
Initializes timestep properties for postprocessing. More... | |
void | initTimeStepPropertiesSlice () |
void | initTimeStepPropertiesLine () |
virtual void | initAveragingProperties () |
Initialize properties relevant for temporal averaging. More... | |
void | initProbePoint () |
Initializes properties for point probing. More... | |
void | initProbeLine () |
Initializes properties and memory for line probing. More... | |
void | initProbeSlice () |
Initializes properties and memory for slice probing. More... | |
void | initSpatialAveraging () |
void | initProbeArbitraryLine () |
initializes properties and data for arbitrary line probing More... | |
void | initProbeArbitrarySlice () |
initializes properties and data for arbitrary slice probing More... | |
void | initProbeLinePeriodic () |
virtual void | probeLinePeriodic () |
virtual void | probeLinePeriodicPost () |
virtual void | initSprayData () |
virtual void | computeSprayData () |
virtual void | writeSprayData () |
virtual void | initLPTSolutionFile () |
virtual void | writeLPTSolutionFile () |
virtual void | initParticleStatistics () |
virtual void | computeParticleStatistics () |
virtual void | initPLIsoTurbulenceStatistics () |
virtual void | computePLIsoTurbulenceStatistics () |
virtual void | initAverageVariables () |
allocates memory for averageSolutions() and averageSolutionsInSolve() More... | |
void | pp_saveCoarseSolution () |
void | averageSolutions () |
Averages solutions. More... | |
virtual void | averageSolutionsInSolve () |
void | computeAndSaveDivergence () |
void | computeAndSaveMean () |
void | initAverageSolutionsSlice () |
Initializes properties for slice averaging. More... | |
void | averageSolutionsSlice () |
void | probeLocation () |
void | findClosestProbePointsGridCells () |
virtual void | initPointSamplingData () |
virtual void | savePointSamplingData () |
virtual void | initSurfaceSamplingData () |
virtual void | saveSurfaceSamplingData () |
virtual void | initVolumeSamplingData () |
virtual void | saveVolumeSamplingData () |
virtual void | initIsoTurbulenceStatistics () |
virtual void | computeIsoTurbulenceStatistics () |
void | initWritePointData () |
void | writePointData () |
void | spatialAveraging () |
void | spatialAveragingPost () |
void | createCellToMap1D (std::map< MFloat, MInt, coord_comp_1d_ > &coordinates, std::map< MFloat, MFloat, coord_comp_1d_ > &cell_to_map) |
void | createCellToMap2D (std::map< std::pair< MFloat, MFloat >, MInt, coord_comp_2d_ > &coordinates, std::map< std::pair< MFloat, MFloat >, std::pair< MFloat, MFloat >, coord_comp_2d_ > &cell_to_map) |
void | probeLine () |
void | probeLinePre () |
void | probeLinePost () |
void | probeSlice () |
void | probeSliceIn () |
void | probeSlicePre () |
void | probeSlicePost () |
void | collectMinLvlCells () |
void | findContainingCell (const MFloat *coord, MInt &cellId) |
void | probeArbitraryLine () |
void | probeArbitraryLinePost () |
void | probeArbitrarySlice () |
void | probeArbitrarySlicePost () |
virtual void | initMovingAverage () |
Initializes properties and allocates memory for moving averaging. More... | |
void | movingAverage () |
void | movingAveragePost () |
void | initCorrelation () |
void | initPeriodicSliceAverage () |
Initializes the periodic averaging on a slice. More... | |
void | periodicSliceAverage () |
MInt | findNearestGridCell (const MFloat *coord) |
void | movePointsToGrid (MFloat *in_points, MInt in_noPoints, MInt in_moveType) |
void | getSampleVariables (MInt cellId, const MFloat *&vars, MBool mode) |
void | getSampleVariables (MInt const cellId, std::vector< MFloat > &vars) |
void | calcSamplingVar (const MInt cellId, const MInt sampleVarId, MFloat *const vars) |
void | saveSliceAiaFileFormat (const MInt step, const MInt noVars, MFloatScratchSpace &vars, const MInt sliceId) |
MFloat | calcDivergence (const MInt cellIdSolver) |
virtual void | calcVorticity (const MFloatTensor &deriv, MFloat vorticity[nDim *2 - 3]) |
virtual void | getVorticity (MFloat *const vorticity) |
virtual void | getVorticityT (MFloat *const vorticity) |
virtual void | getPrimitiveVariables (MInt, MFloat *, MFloat *, MInt) |
virtual void | computeAcousticSourceTermQe (MFloatScratchSpace &, MFloatScratchSpace &, MFloatScratchSpace &, MFloatScratchSpace &) |
void | getSampleVarsDerivatives (const MInt cellId, const MFloat *&vars) |
MBool | getSampleVarsDerivatives (const MInt, std::vector< MFloat > &) |
virtual MFloat & | vorticityAtCell (const MInt cellId, const MInt dir) |
virtual MFloat | getBoundaryHeatFlux (const MInt cellId) const |
virtual void | getPrimitiveVarNames (MString *names) const |
void | neededMeanVarsForSourceTerm (const MInt sourceTerm, std::vector< MInt > &meanVars) const |
MBool | isMeanFile () |
Private Member Functions | |
lptSolver & | lpt () const |
fv & | fvSolver () const |
void | updateData () |
updates all post-processing data from postprocessing-fv or postprocessing-lpt More... | |
void | advanceDataStep () |
void | resetDataStep () |
Private Member Functions inherited from PostProcessingFv< nDim, SysEqn > | |
PostProcessingFv (MInt postprocessingId_, PostData< nDim > *data, SolverType *ppSolver_) | |
virtual | ~PostProcessingFv () |
void | initPostProcessing () override |
SolverType & | solver () const |
void | probeLinePeriodicPost () override |
void | probeLinePeriodic () override |
void | initMovingAverage () override |
Initializes properties and allocates memory for moving averaging. More... | |
void | initAveragingProperties () override |
Initialize properties relevant for temporal averaging. More... | |
void | initPointSamplingData () override |
void | savePointSamplingData () override |
void | initSurfaceSamplingData () override |
void | saveSurfaceSamplingData () override |
void | initVolumeSamplingData () override |
void | saveVolumeSamplingData () override |
void | initSprayData () override |
void | calcVorticity (const MFloatTensor &deriv, MFloat vorticity[nDim *2 - 3]) override |
void | getVorticity (MFloat *const vorticity) override |
void | getVorticityT (MFloat *const vorticity) override |
void | getSampleVarsDerivatives (MInt cellId, const MFloat *&vars) |
MBool | getSampleVarsDerivatives (const MInt cellId, std::vector< MFloat > &vars) |
MFloat & | vorticityAtCell (const MInt cellId, const MInt dir) override |
void | getPrimitiveVariables (MInt cellId, MFloat *Xp, MFloat *vars, MInt order) override |
void | computeAcousticSourceTermQe (MFloatScratchSpace &QeI, MFloatScratchSpace &QeIII, MFloatScratchSpace &cSquared, MFloatScratchSpace &drhodt) override |
void | getPrimitiveVarNames (MString *names) const override |
MFloat | getBoundaryHeatFlux (const MInt cellId) const override |
void | vapourPenetration (MFloat spawnCoord[nDim]) |
void | vapourMass (const MInt) |
void | advanceDataStep () |
void | resetDataStep () |
Private Member Functions inherited from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > > | |
PostProcessing (MInt postprocessingId_, PostData< nDim > *data) | |
~PostProcessing () | |
Destructor for the massive paralle postprocessing solver. More... | |
void | initPostProcessing () override |
Reads all required properties in and prepares for postprocessing. More... | |
void | postprocessPreSolve () override |
void | postprocessPostSolve () override |
void | postprocessInSolve (MBool finalTimeStep) override |
void | postprocessSolution () override |
Solver * | mSolver () const override |
Data & | postData () const |
MBool | isActive () const |
void | transferSensorWeights () |
void | initReduceToLevelAvg () |
Initializes properties for grid level reduction. More... | |
void | initTimeStepProperties () |
Initializes timestep properties for postprocessing. More... | |
void | initTimeStepPropertiesSlice () |
void | initTimeStepPropertiesLine () |
virtual void | initAveragingProperties () |
Initialize properties relevant for temporal averaging. More... | |
void | initProbePoint () |
Initializes properties for point probing. More... | |
void | initProbeLine () |
Initializes properties and memory for line probing. More... | |
void | initProbeSlice () |
Initializes properties and memory for slice probing. More... | |
void | initSpatialAveraging () |
void | initProbeArbitraryLine () |
initializes properties and data for arbitrary line probing More... | |
void | initProbeArbitrarySlice () |
initializes properties and data for arbitrary slice probing More... | |
void | initProbeLinePeriodic () |
virtual void | probeLinePeriodic () |
virtual void | probeLinePeriodicPost () |
virtual void | initSprayData () |
virtual void | computeSprayData () |
virtual void | writeSprayData () |
virtual void | initLPTSolutionFile () |
virtual void | writeLPTSolutionFile () |
virtual void | initParticleStatistics () |
virtual void | computeParticleStatistics () |
virtual void | initPLIsoTurbulenceStatistics () |
virtual void | computePLIsoTurbulenceStatistics () |
virtual void | initAverageVariables () |
allocates memory for averageSolutions() and averageSolutionsInSolve() More... | |
void | pp_saveCoarseSolution () |
void | averageSolutions () |
Averages solutions. More... | |
virtual void | averageSolutionsInSolve () |
void | computeAndSaveDivergence () |
void | computeAndSaveMean () |
void | initAverageSolutionsSlice () |
Initializes properties for slice averaging. More... | |
void | averageSolutionsSlice () |
void | probeLocation () |
void | findClosestProbePointsGridCells () |
virtual void | initPointSamplingData () |
virtual void | savePointSamplingData () |
virtual void | initSurfaceSamplingData () |
virtual void | saveSurfaceSamplingData () |
virtual void | initVolumeSamplingData () |
virtual void | saveVolumeSamplingData () |
virtual void | initIsoTurbulenceStatistics () |
virtual void | computeIsoTurbulenceStatistics () |
void | initWritePointData () |
void | writePointData () |
void | spatialAveraging () |
void | spatialAveragingPost () |
void | createCellToMap1D (std::map< MFloat, MInt, coord_comp_1d_ > &coordinates, std::map< MFloat, MFloat, coord_comp_1d_ > &cell_to_map) |
void | createCellToMap2D (std::map< std::pair< MFloat, MFloat >, MInt, coord_comp_2d_ > &coordinates, std::map< std::pair< MFloat, MFloat >, std::pair< MFloat, MFloat >, coord_comp_2d_ > &cell_to_map) |
void | probeLine () |
void | probeLinePre () |
void | probeLinePost () |
void | probeSlice () |
void | probeSliceIn () |
void | probeSlicePre () |
void | probeSlicePost () |
void | collectMinLvlCells () |
void | findContainingCell (const MFloat *coord, MInt &cellId) |
void | probeArbitraryLine () |
void | probeArbitraryLinePost () |
void | probeArbitrarySlice () |
void | probeArbitrarySlicePost () |
virtual void | initMovingAverage () |
Initializes properties and allocates memory for moving averaging. More... | |
void | movingAverage () |
void | movingAveragePost () |
void | initCorrelation () |
void | initPeriodicSliceAverage () |
Initializes the periodic averaging on a slice. More... | |
void | periodicSliceAverage () |
MInt | findNearestGridCell (const MFloat *coord) |
void | movePointsToGrid (MFloat *in_points, MInt in_noPoints, MInt in_moveType) |
void | getSampleVariables (MInt cellId, const MFloat *&vars, MBool mode) |
void | getSampleVariables (MInt const cellId, std::vector< MFloat > &vars) |
void | calcSamplingVar (const MInt cellId, const MInt sampleVarId, MFloat *const vars) |
void | saveSliceAiaFileFormat (const MInt step, const MInt noVars, MFloatScratchSpace &vars, const MInt sliceId) |
MFloat | calcDivergence (const MInt cellIdSolver) |
virtual void | calcVorticity (const MFloatTensor &deriv, MFloat vorticity[nDim *2 - 3]) |
virtual void | getVorticity (MFloat *const vorticity) |
virtual void | getVorticityT (MFloat *const vorticity) |
virtual void | getPrimitiveVariables (MInt, MFloat *, MFloat *, MInt) |
virtual void | computeAcousticSourceTermQe (MFloatScratchSpace &, MFloatScratchSpace &, MFloatScratchSpace &, MFloatScratchSpace &) |
void | getSampleVarsDerivatives (const MInt cellId, const MFloat *&vars) |
MBool | getSampleVarsDerivatives (const MInt, std::vector< MFloat > &) |
virtual MFloat & | vorticityAtCell (const MInt cellId, const MInt dir) |
virtual MFloat | getBoundaryHeatFlux (const MInt cellId) const |
virtual void | getPrimitiveVarNames (MString *names) const |
void | neededMeanVarsForSourceTerm (const MInt sourceTerm, std::vector< MInt > &meanVars) const |
MBool | isMeanFile () |
Private Member Functions inherited from PostProcessingInterface | |
PostProcessingInterface (const MInt postprocessingId_) | |
virtual | ~PostProcessingInterface ()=default |
PostProcessingInterface (const PostProcessingInterface &)=delete | |
PostProcessingInterface & | operator= (const PostProcessingInterface &)=delete |
virtual void | initPostProcessing ()=0 |
virtual void | postprocessPreSolve ()=0 |
virtual void | postprocessPostSolve ()=0 |
virtual void | postprocessInSolve (MBool finalTimeStep)=0 |
virtual void | postprocessSolution ()=0 |
virtual Solver * | mSolver () const =0 |
MInt | a_postprocessingId () const |
Friends | |
template<MInt nDim_, class ppType > | |
class | PostProcessing |
template<MInt nDim_> | |
class | LPT |
Definition at line 26 of file postprocessingfvlpt.h.
using PostProcessingFvLPT< nDim, SysEqn >::BaseFv = PostProcessing<nDim, PostProcessingFv<nDim, SysEqn> > |
Definition at line 36 of file postprocessingfvlpt.h.
using PostProcessingFvLPT< nDim, SysEqn >::BaseLpt = PostProcessing<nDim, PostProcessingLPT<nDim> > |
Definition at line 37 of file postprocessingfvlpt.h.
using PostProcessingFvLPT< nDim, SysEqn >::fv = FvCartesianSolverXD<nDim, SysEqn> |
Definition at line 35 of file postprocessingfvlpt.h.
using PostProcessingFvLPT< nDim, SysEqn >::lptSolver = LPT<nDim> |
Definition at line 34 of file postprocessingfvlpt.h.
using PostProcessingFvLPT< nDim, SysEqn >::ppFv = PostProcessingFv<nDim, SysEqn> |
Definition at line 38 of file postprocessingfvlpt.h.
using PostProcessingFvLPT< nDim, SysEqn >::ppLpt = PostProcessingLPT<nDim> |
Definition at line 39 of file postprocessingfvlpt.h.
PostProcessingFvLPT< nDim, SysEqn >::PostProcessingFvLPT | ( | MInt | postprocessingId_, |
PostData< nDim > * | data, | ||
fv * | ppFvSolver_, | ||
lptSolver * | ppLptSolver_ | ||
) |
Definition at line 16 of file postprocessingfvlpt.cpp.
|
inlinevirtual |
Definition at line 44 of file postprocessingfvlpt.h.
|
inlineprivate |
Definition at line 98 of file postprocessingfvlpt.h.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 37 of file postprocessingfvlpt.cpp.
|
inlineprivate |
Definition at line 74 of file postprocessingfvlpt.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 66 of file postprocessingfvlpt.h.
|
inlineoverridevirtual |
Reimplemented from PostProcessingFv< nDim, SysEqn >.
Definition at line 51 of file postprocessingfvlpt.h.
|
inlineoverridevirtual |
Reimplemented from PostProcessingFv< nDim, SysEqn >.
Definition at line 58 of file postprocessingfvlpt.h.
|
inlineprivate |
Definition at line 73 of file postprocessingfvlpt.h.
|
inlineoverridevirtual |
Implements PostProcessingInterface.
Definition at line 46 of file postprocessingfvlpt.h.
|
inlineoverridevirtual |
Implements PostProcessingInterface.
Definition at line 54 of file postprocessingfvlpt.h.
|
inlineoverridevirtual |
Implements PostProcessingInterface.
Definition at line 53 of file postprocessingfvlpt.h.
|
inlineoverridevirtual |
Implements PostProcessingInterface.
Definition at line 52 of file postprocessingfvlpt.h.
|
inlineoverridevirtual |
Implements PostProcessingInterface.
Definition at line 55 of file postprocessingfvlpt.h.
|
inlineprivate |
Definition at line 103 of file postprocessingfvlpt.h.
|
private |
Definition at line 60 of file postprocessingfvlpt.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 67 of file postprocessingfvlpt.h.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 86 of file postprocessingfvlpt.cpp.
Definition at line 31 of file postprocessingfvlpt.h.
|
friend |
Definition at line 29 of file postprocessingfvlpt.h.
|
private |
Definition at line 71 of file postprocessinglpt.h.
|
private |
Definition at line 76 of file postprocessingfvlpt.h.
|
private |
Definition at line 71 of file postprocessingfvlpt.h.
|
private |
Definition at line 70 of file postprocessingfvlpt.h.
|
private |
Definition at line 96 of file postprocessingfvlpt.h.
|
static |
Definition at line 48 of file postprocessingfvlpt.h.