/home/runner/work/amr-wind/amr-wind/amr-wind/core/Physics.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Physics.H
Go to the documentation of this file.
Definition CollMgr.H:22
Physics & operator()(const std::string &key)
Definition CollMgr.H:62
bool contains(const std::string &key) const
Definition CollMgr.H:55
Definition Physics.H:60
virtual void post_advance_work()=0
Perform tasks necessary after advancing timestep.
virtual void pre_predictor_work()
Perform tasks necessary only once per timestep, after pre_advance.
Definition Physics.H:83
virtual void post_pressure_correction_work()
Perform tasks necessary after applying the pressure correction.
Definition Physics.H:92
virtual void post_init_actions()=0
Actions to perform post initialization.
virtual void pre_pressure_correction_work()
Perform tasks necessary before applying the pressure correction.
Definition Physics.H:89
virtual void post_regrid_actions()=0
Actions to perform post regrid.
~Physics() override=default
virtual void initialize_fields(int level, const amrex::Geometry &geom)=0
Initialize the fields for a given level during init/regrid.
virtual void pre_advance_work()=0
Perform tasks necessary before advancing timestep.
Definition Physics.H:100
const T & get() const
Return a concrete physics instance.
Definition Physics.H:112
Definition Physics.H:14
virtual void pre_advance_work()=0
Perform tasks necessary before advancing timestep.
virtual ~PhysicsOld()=default
virtual std::string physics_name() const =0
virtual void add_momentum_sources(const amrex::Geometry &geom, const amrex::MultiFab &density, const amrex::MultiFab &velocity, const amrex::MultiFab &scalars, amrex::MultiFab &vel_forces) const =0
Add momentum source terms.
virtual void initialize_fields(int level, const amrex::Geometry &geom) const =0
Initialize the fields for the physics/problem.
Definition BCInterface.cpp:7
Definition Factory.H:65
Generated by 1.12.0