/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/averaging/ReynoldsStress.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/averaging/ReynoldsStress.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ReynoldsStress.H
Go to the documentation of this file.
1#ifndef REYNOLDSSTRESS_H
2#define REYNOLDSSTRESS_H
3
5
6namespace amr_wind::averaging {
7
14class ReynoldsStress : public FieldTimeAverage::Register<ReynoldsStress>
15{
16public:
17 static std::string identifier() { return "ReynoldsStress"; }
18
19 ReynoldsStress(CFDSim& /*sim*/, const std::string& fname);
20
28 void operator()(
29 const SimTime& /*time*/,
30 const amrex::Real /*filter_width*/,
31 const amrex::Real /*elapsed_time*/) override;
32
33 const std::string& average_field_name() override;
34
35private:
37 const Field& m_field;
38
41
44
47};
48
49} // namespace amr_wind::averaging
50
51#endif /* REYNOLDSSTRESS_H */
Definition CFDSim.H:47
Definition Field.H:116
Definition SimTime.H:30
Definition ReynoldsStress.H:15
ReynoldsStress(CFDSim &, const std::string &fname)
Definition ReynoldsStress.cpp:9
const std::string & average_field_name() override
Definition ReynoldsStress.cpp:42
static std::string identifier()
Definition ReynoldsStress.H:17
const Field & m_field
Fluctuating field.
Definition ReynoldsStress.H:37
void operator()(const SimTime &, const amrex::Real, const amrex::Real) override
Definition ReynoldsStress.cpp:47
Field & m_re_stress
The reynolds stresses < ab > = < AB > - < A > < B >
Definition ReynoldsStress.H:46
const Field & m_average
Reynolds averaged field.
Definition ReynoldsStress.H:40
Field & m_stress
The stresses < AB >
Definition ReynoldsStress.H:43
Definition ReAveraging.cpp:7