MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
postprocessinglpt.h
Go to the documentation of this file.
1// Copyright (C) 2024 The m-AIA AUTHORS
2//
3// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4//
5// SPDX-License-Identifier: LGPL-3.0-only
6
7#ifndef POSTPROCESSINGLPT_H_
8#define POSTPROCESSINGLPT_H_
9
10#include <array>
11#include <map>
12#include <set>
13#include <vector>
14
15#include "INCLUDE/maiatypes.h"
16#include "LPT/lpt.h"
17#include "globals.h"
18#include "postdata.h"
19#include "postprocessing.h"
20
21
22template <MInt nDim>
23class PostProcessingLPT : public PostProcessing<nDim, PostProcessingLPT<nDim>> {
24 private:
25 template <MInt nDim_, class ppType>
26 friend class PostProcessing;
27 template <MInt nDim_>
28 friend class LPT;
29
30 public:
42
43 // Constructor
44 PostProcessingLPT(MInt postprocessingId_, PostData<nDim>* data, SolverType* ppSolver_);
45
46 virtual ~PostProcessingLPT(){};
47
48 SolverType& solver() const { return *m_ppSolver; }
49
50 void initSprayData() override;
51
52 protected:
53 void initLPTSolutionFile() override;
54 void writeLPTSolutionFile() override;
55
56 void initParticleStatistics() override;
57 void computeParticleStatistics() override;
59
60 void initParticleLog();
61 void writeParticleLog();
62
63 void particleMass();
64 void parcelStatistics();
67
70
71 MFloat** m_cInjData = nullptr;
75
79};
80
81#endif // POSTPROCESSINGLPT_H_
Definition: lpt.h:82
Definition: postdata.h:23
MFloat ** m_sprayStat
MFloat ** m_particlePen
MFloat ** m_particleCV
MInt m_sprayDataStep
MFloat ** m_sprayTimes
MFloat ** m_injectionData
MInt m_LPTSolutionInterval
MInt m_sprayDataSize
MInt m_postprocessingId
MBool m_writeParLog
void initParticleStatistics() override
init function for LPT particle statistics file
MFloat ** m_cInjData
void parcelStatistics()
computes parcel statistics
MFloat m_EkinP
MBool m_parLogApp
void writeLPTSolutionFile() override
base function which is called every time-Step in postprocessInSolve
void initParticleLog()
initialize particle.log
void computeParticleStatistics() override
compute average quantites of particle phase average particle Reynolds number ReP the root mean square...
void particleMass()
computes conervation variables (mass/momentum/energy!)
virtual ~PostProcessingLPT()
void resetDataStep()
void initSprayData() override
init arrays
void particlePenetration()
calculate vertical and horizontal penetration from given coordinate
SolverType & solver() const
void advanceDataStep()
MFloat m_AvgRe_p
SolverType * m_ppSolver
MInt m_parLogInterval
MFloat m_VpRMS
void initLPTSolutionFile() override
init function for LPT particle solution file
MInt getInjectionData()
void writeParticleLog()
write particle Log file, containing particle position and velocity at timestep t
int32_t MInt
Definition: maiatypes.h:62
double MFloat
Definition: maiatypes.h:52
bool MBool
Definition: maiatypes.h:58