/home/runner/work/amr-wind/amr-wind/amr-wind/physics/TaylorGreenVortex.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/physics/TaylorGreenVortex.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
TaylorGreenVortex.H
Go to the documentation of this file.
1#ifndef TaylorGreenVortex_H
2#define TaylorGreenVortex_H
3
6
7namespace amr_wind {
8
12class TaylorGreenVortex : public Physics::Register<TaylorGreenVortex>
13{
14public:
15 static std::string identifier() { return "TaylorGreenVortex"; }
16
17 explicit TaylorGreenVortex(const CFDSim& sim);
18
19 ~TaylorGreenVortex() override = default;
22 void initialize_fields(int level, const amrex::Geometry& geom) override;
23
24 void post_init_actions() override {}
25
26 void post_regrid_actions() override {}
27
28 void pre_advance_work() override {}
29
30 void post_advance_work() override {}
31
32private:
35
37 amrex::Real m_rho{1.0};
38};
39
40} // namespace amr_wind
41
42#endif /* TaylorGreenVortex_H */
Definition CFDSim.H:47
Definition Field.H:116
Definition TaylorGreenVortex.H:13
static std::string identifier()
Definition TaylorGreenVortex.H:15
TaylorGreenVortex(const CFDSim &sim)
Definition TaylorGreenVortex.cpp:8
Field & m_velocity
Definition TaylorGreenVortex.H:33
void post_init_actions() override
Definition TaylorGreenVortex.H:24
~TaylorGreenVortex() override=default
void post_advance_work() override
Definition TaylorGreenVortex.H:30
void pre_advance_work() override
Definition TaylorGreenVortex.H:28
void post_regrid_actions() override
Definition TaylorGreenVortex.H:26
amrex::Real m_rho
initial density value
Definition TaylorGreenVortex.H:37
Field & m_density
Definition TaylorGreenVortex.H:34
void initialize_fields(int level, const amrex::Geometry &geom) override
Definition TaylorGreenVortex.cpp:19
Definition BCInterface.cpp:7