inciter::CompFlowProblemRayleighTaylor class

CompFlow system of PDEs problem: Rayleigh-Taylor

Public static functions

static auto solution(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real z, tk::real t) -> tk::SolutionFn::result_type
Evaluate analytical solution at (x,y,z,t) for all components.
static auto src(ncomp_t system, ncomp_t, tk::real x, tk::real y, tk::real z, tk::real t) -> tk::SrcFn::result_type
Compute and return source term for Rayleigh-Taylor manufactured solution.
static auto type() -> ctr::ProblemType noexcept
Return problem type.

Public functions

auto solinc(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real z, tk::real t, tk::real dt) const -> std::vector<tk::real>
Evaluate the increment from t to t+dt of the analytical solution at (x,y,z) for all components.
void side(std::unordered_set<int>& conf) const
Query all side set IDs the user has configured for all components in this PDE system.
auto fieldNames(ncomp_t) const -> std::vector<std::string>
Return field names to be output to file.
auto fieldOutput(ncomp_t system, ncomp_t ncomp, ncomp_t offset, tk::real t, tk::real V, const std::vector<tk::real>& vol, const std::array<std::vector<tk::real>, 3>& coord, tk::Fields& U) const -> std::vector<std::vector<tk::real>>
Return field output going 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::SolutionFn::result_type inciter::CompFlowProblemRayleighTaylor::solution(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real z, tk::real t)

Evaluate analytical solution at (x,y,z,t) for all components.

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
in X coordinate where to evaluate the solution
in Y coordinate where to evaluate the solution
in Z coordinate where to evaluate the solution
in Time where to evaluate the solution
Returns Values of all components evaluated at (x,y,z,t)

Evaluate analytical solution at (x,y,z,t) for all components

static tk::SrcFn::result_type inciter::CompFlowProblemRayleighTaylor::src(ncomp_t system, ncomp_t, tk::real x, tk::real y, tk::real z, tk::real t)

Compute and return source term for Rayleigh-Taylor manufactured solution.

Parameters
system in Equation system index, i.e., which compressible flow equation system we operate on among the systems of PDEs
in X coordinate where to evaluate the solution
in Y coordinate where to evaluate the solution
in Z coordinate where to evaluate the solution
in Physical time at which to evaluate the source
Returns Array of reals containing the source for all components

std::vector<tk::real> inciter::CompFlowProblemRayleighTaylor::solinc(ncomp_t system, ncomp_t ncomp, tk::real x, tk::real y, tk::real z, tk::real t, tk::real dt) const

Evaluate the increment from t to t+dt of the analytical solution at (x,y,z) for all components.

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
in X coordinate where to evaluate the solution
in Y coordinate where to evaluate the solution
in Z coordinate where to evaluate the solution
in Time where to evaluate the solution increment starting from
dt in Time increment at which evaluate the solution increment to
Returns Increment in values of all components evaluated at (x,y,z,t+dt)

void inciter::CompFlowProblemRayleighTaylor::side(std::unordered_set<int>& conf) const

Query all side set IDs the user has configured for all components in this PDE system.

Parameters
conf in/out Set of unique side set IDs to add to

std::vector<std::string> inciter::CompFlowProblemRayleighTaylor::fieldNames(ncomp_t) const

Return field names to be output to file.

Returns Vector of strings labelling fields output in file

std::vector<std::vector<tk::real>> inciter::CompFlowProblemRayleighTaylor::fieldOutput(ncomp_t system, ncomp_t ncomp, ncomp_t offset, tk::real t, tk::real V, const std::vector<tk::real>& vol, const std::array<std::vector<tk::real>, 3>& coord, tk::Fields& U) const

Return field output going to file.

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
offset in System offset specifying the position of the system of PDEs among other systems
in Physical time
in Total mesh volume (across the whole problem)
vol in Nodal mesh volumes
coord in Mesh node coordinates
in Solution vector at recent time step
Returns Vector of vectors to be output to file

std::vector<std::string> inciter::CompFlowProblemRayleighTaylor::names(ncomp_t) const

Return names of integral variables to be output to diagnostics file.

Returns Vector of strings labelling integral variables output