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

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/physics/FreeStream.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
FreeStream.H
Go to the documentation of this file.
1#ifndef FreeStream_H
2#define FreeStream_H
3
7
8#include <unordered_map>
9#include <memory>
10
11namespace amr_wind {
12
19class FreeStream : public Physics::Register<FreeStream>
20{
21public:
22 static std::string identifier() { return "FreeStream"; }
23
24 explicit FreeStream(const CFDSim& sim);
25
26 ~FreeStream() override = default;
27
29 void initialize_fields(int level, const amrex::Geometry& geom) override;
30
31 void pre_init_actions() override;
32
33 void post_init_actions() override {}
34
35 void post_regrid_actions() override {}
36
37 void pre_advance_work() override {}
38
39 void post_advance_work() override {}
40
41private:
42 const CFDSim& m_sim;
43
44 std::unordered_map<std::string, std::unique_ptr<udf::UDF>> m_field_funcs;
45};
46
47} // namespace amr_wind
48
49#endif /* FreeStream_H */
Definition CFDSim.H:47
Definition FreeStream.H:20
void pre_init_actions() override
Definition FreeStream.cpp:25
void post_init_actions() override
Definition FreeStream.H:33
void pre_advance_work() override
Definition FreeStream.H:37
~FreeStream() override=default
std::unordered_map< std::string, std::unique_ptr< udf::UDF > > m_field_funcs
Definition FreeStream.H:44
const CFDSim & m_sim
Definition FreeStream.H:42
FreeStream(const CFDSim &sim)
Definition FreeStream.cpp:23
static std::string identifier()
Definition FreeStream.H:22
void post_advance_work() override
Definition FreeStream.H:39
void post_regrid_actions() override
Definition FreeStream.H:35
void initialize_fields(int level, const amrex::Geometry &geom) override
Initialize the fields.
Definition FreeStream.cpp:60
Definition BCInterface.cpp:7