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

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/physics/multiphase/SloshingTank.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
SloshingTank.H
Go to the documentation of this file.
1#ifndef SloshingTank_H
2#define SloshingTank_H
3
6
12namespace amr_wind {
13
14class SloshingTank : public Physics::Register<SloshingTank>
15{
16public:
17 static std::string identifier() { return "SloshingTank"; }
18
19 explicit SloshingTank(CFDSim& sim);
20
21 ~SloshingTank() override = default;
22
25 void initialize_fields(int level, const amrex::Geometry& geom) override;
26
27 void post_init_actions() override {}
28
29 void post_regrid_actions() override {}
30
31 void pre_advance_work() override {}
32
33 void post_advance_work() override {}
34
35private:
38
40 amrex::Real m_amplitude{0.1};
41
43 amrex::Real m_kappa{0.25};
44
46 amrex::Real m_waterlevel{0.0};
47};
48
49} // namespace amr_wind
50#endif /* SloshingTank_H */
Definition CFDSim.H:47
Definition Field.H:116
Definition SloshingTank.H:15
void initialize_fields(int level, const amrex::Geometry &geom) override
Definition SloshingTank.cpp:22
Field & m_levelset
Definition SloshingTank.H:37
static std::string identifier()
Definition SloshingTank.H:17
SloshingTank(CFDSim &sim)
Definition SloshingTank.cpp:9
~SloshingTank() override=default
void pre_advance_work() override
Definition SloshingTank.H:31
amrex::Real m_waterlevel
Initial zero-level free-surface water depth.
Definition SloshingTank.H:46
amrex::Real m_kappa
Peak enhancement factor.
Definition SloshingTank.H:43
void post_regrid_actions() override
Definition SloshingTank.H:29
void post_advance_work() override
Definition SloshingTank.H:33
void post_init_actions() override
Definition SloshingTank.H:27
amrex::Real m_amplitude
Initial free surface amplitude magnitude.
Definition SloshingTank.H:40
Field & m_velocity
Definition SloshingTank.H:36
Definition BCInterface.cpp:7