MAIA bb96820c
Multiphysics at AIA
|
#include <postprocessingfv.h>
Public Types | |
using | SolverType = FvCartesianSolverXD< nDim, SysEqn > |
using | Base = PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > > |
Public Types inherited from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > > | |
using | PPGrid = CartesianGrid< nDim > |
using | Cell = typename PPGrid::Cell |
using | GridProxy = typename maia::grid::Proxy< nDim > |
using | Data = PostData< nDim > |
Public Member Functions | |
PostProcessingFv (MInt postprocessingId_, PostData< nDim > *data, SolverType *ppSolver_) | |
virtual | ~PostProcessingFv () |
void | initPostProcessing () override |
SolverType & | solver () const |
Public 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 |
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 |
Protected Member Functions | |
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 () |
Protected Member Functions inherited from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > > | |
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 Attributes | |
SolverType * | m_ppSolver |
Friends | |
template<MInt nDim_, class ppType > | |
class | PostProcessing |
Additional Inherited Members | |
Public Attributes inherited from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > > | |
MInt | m_noLocalVars |
MInt | m_restartTimeStep |
MBool | m_statisticCombustionAnalysis |
MBool | m_acousticAnalysis |
Public Attributes inherited from PostProcessingInterface | |
MBool | m_finalTimeStep = false |
Protected Types inherited from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > > | |
typedef void(PostProcessing::* | tpost) () |
typedef std::vector< tpost > | tvecpost |
Definition at line 26 of file postprocessingfv.h.
using PostProcessingFv< nDim, SysEqn >::Base = PostProcessing<nDim, PostProcessingFv<nDim, SysEqn> > |
Definition at line 34 of file postprocessingfv.h.
using PostProcessingFv< nDim, SysEqn >::SolverType = FvCartesianSolverXD<nDim, SysEqn> |
Definition at line 32 of file postprocessingfv.h.
PostProcessingFv< nDim, SysEqn >::PostProcessingFv | ( | MInt | postprocessingId_, |
PostData< nDim > * | data, | ||
SolverType * | ppSolver_ | ||
) |
Definition at line 14 of file postprocessingfv.cpp.
|
virtual |
Definition at line 24 of file postprocessingfv.cpp.
|
inlineprotected |
Definition at line 133 of file postprocessingfv.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 103 of file postprocessingfv.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 123 of file postprocessingfv.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 129 of file postprocessingfv.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 119 of file postprocessingfv.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 128 of file postprocessingfv.h.
|
inlineprotected |
Definition at line 115 of file postprocessingfv.h.
|
inlineprotected |
Definition at line 114 of file postprocessingfv.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 112 of file postprocessingfv.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 113 of file postprocessingfv.h.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 94 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
reads properties pp_movingAvgInterval, pp_movingAvgDataPoints (pp_averageVorticity already read in initAveragingVariables)
[in] | grid | pointer to the grid |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 85 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 43 of file postprocessingfv.cpp.
|
overridevirtual |
Implements PostProcessingInterface.
Reimplemented in PostProcessingFvLPT< nDim, SysEqn >.
Definition at line 27 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Reimplemented in PostProcessingFvLPT< nDim, SysEqn >.
Definition at line 394 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 57 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 71 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 124 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 105 of file postprocessingfv.cpp.
|
inlineprotected |
Definition at line 134 of file postprocessingfv.h.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 51 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 65 of file postprocessingfv.cpp.
|
overrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 79 of file postprocessingfv.cpp.
|
inline |
Definition at line 79 of file postprocessingfv.h.
|
protected |
Definition at line 409 of file postprocessingfv.cpp.
|
protected |
Definition at line 448 of file postprocessingfv.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from PostProcessing< nDim, PostProcessingFv< nDim, SysEqn > >.
Definition at line 118 of file postprocessingfv.h.
|
friend |
Definition at line 29 of file postprocessingfv.h.
|
protected |
Definition at line 136 of file postprocessingfv.h.
|
private |
Definition at line 82 of file postprocessingfv.h.
|
protected |
Definition at line 137 of file postprocessingfv.h.
|
protected |
Definition at line 138 of file postprocessingfv.h.