/home/runner/work/amr-wind/amr-wind/amr-wind/mesh_mapping_models/ChannelFlowMap.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/mesh_mapping_models/ChannelFlowMap.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ChannelFlowMap.H
Go to the documentation of this file.
1#ifndef CHANNELFLOWMAP_H
2#define CHANNELFLOWMAP_H
3
5
6namespace amr_wind::channel_map {
7
11class ChannelFlowMap : public MeshMap::Register<ChannelFlowMap>
12{
13public:
14 static std::string identifier() { return "ChannelFlowMap"; }
15
16 explicit ChannelFlowMap();
17
18 ~ChannelFlowMap() override = default;
19
21 void create_map(int /*lev*/, const amrex::Geometry& /*geom*/) override;
22
24 void create_cell_node_map(int /*lev*/, const amrex::Geometry& /*geom*/);
25
27 void create_face_map(int /*lev*/, const amrex::Geometry& /*geom*/);
28
30 void create_non_uniform_mesh(int /*lev*/, const amrex::Geometry& /*geom*/);
31
32private:
34 amrex::Vector<amrex::Real> m_beta{0.0, 3.0, 0.0};
35
36 amrex::Real m_eps{1e-11};
37};
38
39} // namespace amr_wind::channel_map
40
41#endif /* CHANNELFLOWMAP_H */
Definition ChannelFlowMap.H:12
amrex::Real m_eps
Definition ChannelFlowMap.H:36
static std::string identifier()
Definition ChannelFlowMap.H:14
void create_cell_node_map(int, const amrex::Geometry &)
Construct mesh scaling field on cell centers and nodes.
Definition ChannelFlowMap.cpp:59
void create_non_uniform_mesh(int, const amrex::Geometry &)
Construct the non-uniform mesh field.
Definition ChannelFlowMap.cpp:253
void create_map(int, const amrex::Geometry &) override
Construct the mesh scaling field.
Definition ChannelFlowMap.cpp:50
void create_face_map(int, const amrex::Geometry &)
Construct mesh scaling field on cell faces.
Definition ChannelFlowMap.cpp:138
amrex::Vector< amrex::Real > m_beta
User input parameters.
Definition ChannelFlowMap.H:34
ChannelFlowMap()
Definition ChannelFlowMap.cpp:42
Definition ChannelFlowMap.cpp:7