/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/DiffusionOps.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
DiffusionOps.H
Go to the documentation of this file.
Definition Field.H:116
int num_active_levels() const noexcept
Total number of levels currently active in the AMR mesh.
Definition FieldRepo.H:361
const amrex::AmrCore & mesh() const
Return a reference to the underlying AMR mesh instance.
Definition FieldRepo.H:358
Definition DiffusionOps.H:30
virtual void setup_solver(amrex::MLMG &mlmg)
Definition DiffusionOps.cpp:101
std::unique_ptr< LinOp > m_applier
Definition DiffusionOps.H:108
virtual void setup_operator(LinOp &linop, const amrex::Real alpha, const amrex::Real beta, const FieldState fstate)
Sets up the linear operator (e.g., setup BCs, etc.)
Definition DiffusionOps.cpp:54
void set_bcoeffs(L &linop, std::enable_if_t< std::is_same_v< L, amrex::MLABecLaplacian > > *=nullptr)
Definition DiffusionOps.H:71
virtual void linsys_solve_impl()
Definition DiffusionOps.cpp:109
virtual void linsys_solve(const amrex::Real dt)
Definition DiffusionOps.cpp:157
std::unique_ptr< LinOp > m_solver
Definition DiffusionOps.H:107
void set_bcoeffs(L &linop, std::enable_if_t< std::is_same_v< L, amrex::MLTensorOp > > *=nullptr)
Definition DiffusionOps.H:51
virtual void set_acoeffs(LinOp &linop, const FieldState fstate)
Definition DiffusionOps.cpp:73
DiffSolverIface(PDEFields &fields, const bool has_overset, const bool mesh_mapping, const std::string &prefix="diffusion")
Definition DiffusionOps.cpp:9
virtual ~DiffSolverIface()=default
Definition AdvOp_Godunov.H:16
void viscosity_to_uniform_space(amrex::Array< amrex::MultiFab, AMREX_SPACEDIM > &b, const amr_wind::FieldRepo &repo, int lev)
Definition incflo_diffusion.cpp:205
amrex::Array< amrex::LinOpBCType, AMREX_SPACEDIM > get_diffuse_scalar_bc(amr_wind::Field &scalar, amrex::Orientation::Side side) noexcept
amrex::Array< amrex::MultiFab, AMREX_SPACEDIM > average_velocity_eta_to_faces(const amrex::Geometry &geom, amrex::MultiFab const &cc_eta)
Definition MLMGOptions.H:25
DiffusionOp(PDEFields &fields, const bool has_overset, const bool mesh_mapping)
Definition DiffusionOps.H:127
void compute_diff_term(const FieldState fstate)
Computes the diffusion term that goes in the RHS.
Definition DiffusionOps.H:145
Definition PDEOps.H:172
Definition PDEFields.H:27
Field & mueff
Effective visocity field (e.g., velocity_mueff)
Definition PDEFields.H:36
FieldRepo & repo
Reference to the field repository instance.
Definition PDEFields.H:31
Generated by 1.12.0