MMS Class Reference
|
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::mms::MMS Class Reference
#include <MMS.H>
Inheritance diagram for amr_wind::mms::MMS:
Collaboration diagram for amr_wind::mms::MMS:
Public Member Functions | |
| MMS (const CFDSim &sim) | |
| ~MMS () override=default | |
| void | initialize_fields (int level, const amrex::Geometry &geom) override |
| void | fill_src () |
| amrex::Real | compute_error (const int comp, const Field &field, FuncDef f) |
| void | post_init_actions () override |
| void | post_regrid_actions () override |
| void | pre_advance_work () override |
| void | post_advance_work () override |
Static Public Member Functions | |
| static std::string | identifier () |
Private Attributes | |
| const amr_wind::SimTime & | m_time |
| const FieldRepo & | m_repo |
| const amrex::AmrCore & | m_mesh |
| Field & | m_velocity |
| Field & | m_density |
| Field & | m_mms_vel_source |
| const int | m_w = 18 |
| const std::string | m_output_fname = "mms.log" |
| std::unordered_map< std::string, amrex::Real > | m_params_map |
Detailed Description
Method of manufactured solutions physics
Constructor & Destructor Documentation
◆ MMS()
|
explicit |
◆ ~MMS()
|
overridedefault |
Member Function Documentation
◆ compute_error()
◆ fill_src()
| void amr_wind::mms::MMS::fill_src | ( | ) |
Fill the MMS source term.
◆ identifier()
|
inlinestatic |
◆ initialize_fields()
|
override |
Initialize the velocity and density fields at the beginning of the simulation.
- See also
- amr_wind::MMSFieldInit
◆ post_advance_work()
|
override |
◆ post_init_actions()
|
override |
◆ post_regrid_actions()
|
override |
◆ pre_advance_work()
|
inlineoverride |
Member Data Documentation
◆ m_density
|
private |
◆ m_mesh
|
private |
◆ m_mms_vel_source
|
private |
◆ m_output_fname
|
private |
◆ m_params_map
|
private |
Initial value:
= {
{"a", 1.05}, {"b", 2.15}, {"c", -3.2}, {"d", 10.1},
{"beta", 2.2}, {"gamma", 2.4}, {"delta", 2.0}, {"kx", 1.0},
{"ky", 1.0}, {"kz", 1.0}, {"nu", 1.0}}
◆ m_repo
|
private |
◆ m_time
|
private |
◆ m_velocity
|
private |
◆ m_w
|
private |
The documentation for this class was generated from the following files:
Generated by