/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/passive_scalar/passive_scalar.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/passive_scalar/passive_scalar.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
passive_scalar.H
Go to the documentation of this file.
1#ifndef PASSIVESCALAR_H
2#define PASSIVESCALAR_H
3
9#include "AMReX_REAL.H"
10
11using namespace amrex::literals;
12
13namespace amr_wind::pde {
14
21
29
34{
35 using MLDiffOp = amrex::MLABecLaplacian;
37
38 static std::string pde_name() { return "PassiveScalar"; }
39 static std::string var_name() { return "passive_scalar"; }
40
41 static constexpr amrex::Real default_bc_value = 0.0_rt;
42
43 static constexpr int ndim = 1;
44 static constexpr bool multiply_rho = true;
45 static constexpr bool has_diffusion = true;
46 static constexpr bool need_nph_state = true;
47};
48
49} // namespace amr_wind::pde
50
51#endif
Definition SourceTerm.H:19
Definition AdvOp_Godunov.H:21
Definition passive_scalar.H:34
static constexpr bool multiply_rho
Definition passive_scalar.H:44
static constexpr bool has_diffusion
Definition passive_scalar.H:45
amrex::MLABecLaplacian MLDiffOp
Definition passive_scalar.H:35
static std::string pde_name()
Definition passive_scalar.H:38
static std::string var_name()
Definition passive_scalar.H:39
static constexpr bool need_nph_state
Definition passive_scalar.H:46
SourceTerm SrcTerm
Definition passive_scalar.H:36
static constexpr amrex::Real default_bc_value
Definition passive_scalar.H:41
static constexpr int ndim
Definition passive_scalar.H:43
Definition PDETraits.H:35