class
CompFlowProblemUserDefinedCompFlow system of PDEs problem: user defined.
Contents
- Reference
Public static functions
-
static auto initialize(ncomp_
t system, ncomp_ t ncomp, tk:: real, tk:: real, tk:: real, tk:: real) -> tk::InitializeFn::result_type - Initialize numerical solution.
-
static auto analyticSolution(ncomp_
t, ncomp_ t, tk:: real, tk:: real, tk:: real, tk:: real) -> tk::InitializeFn::result_type - Evaluate analytical solution at (x,y,z,t) for all components.
-
static auto src(ncomp_
t, tk:: real, tk:: real, tk:: real, tk:: real, tk:: real& r, tk:: real& ru, tk:: real& rv, tk:: real& rw, tk:: real& re) -> tk::CompFlowSrcFn::result_type -
static auto type() -> ctr::
ProblemType noexcept - Return problem type.
Public functions
-
auto analyticFieldNames(ncomp_
t) const -> std::vector<std::string> - Return field names to be output to file.
-
auto names(ncomp_
t) const -> std::vector<std::string> - Return names of integral variables to be output to diagnostics file.
Function documentation
static tk::InitializeFn::result_type inciter:: CompFlowProblemUserDefined:: initialize(ncomp_ t system,
ncomp_ t ncomp,
tk:: real,
tk:: real,
tk:: real,
tk:: real)
Initialize numerical solution.
Parameters | |
---|---|
system in | Equation system index, i.e., which compressible flow equation system we operate on among the systems of PDEs |
ncomp in | Number of scalar components in this PDE system |
Returns | Values of all components |
Set initial conditions
static tk::CompFlowSrcFn::result_type inciter:: CompFlowProblemUserDefined:: src(ncomp_ t,
tk:: real,
tk:: real,
tk:: real,
tk:: real,
tk:: real& r,
tk:: real& ru,
tk:: real& rv,
tk:: real& rw,
tk:: real& re)
Parameters | |
---|---|
r in/out | Density source |
ru in/out | X momentum source |
rv in/out | Y momentum source |
rw in/out | Z momentum source |
re in/out | Specific total energy source |
Compute and return source term for Rayleigh-Taylor manufactured solution