MultiMat system of PDEs problem: Water-Air shock-tube
static auto initialize(ncomp_
t system, ncomp_ t ncomp, tk:: real x, tk:: real, tk:: real, tk:: real) -> tk::InitializeFn::result_type
- Initialize numerical solution.
static auto src(ncomp_
t, ncomp_ t ncomp, tk:: real, tk:: real, tk:: real, tk:: real) -> tk::MultiMatSrcFn::result_type
static auto names(ncomp_
t) -> std::vector<std::string>
- Return names of integral variables to be output to diagnostics file.
static auto type() -> ctr::
- Return problem type.
static tk::InitializeFn::result_type inciter::
MultiMatProblemWaterAirShocktube:: initialize(ncomp_ t system,
ncomp_ t ncomp,
tk:: real x,
Initialize numerical solution.
|system in||Equation system index, i.e., which multi-material flow equation system we operate on among the systems of PDEs|
|ncomp in||Number of scalar components in this PDE system|
|x in||X coordinate where to evaluate the solution|
|Returns||Values of all components evaluated at (x)|
Evaluate analytical solution at (x,y,z,t) for all components
This function only initializes the Water-Air shock tube problem, but does not actually give the analytical solution at time greater than 0. The analytical solution would require an exact Riemann solver for stiffened gas EoS, which has not been implemented yet.