inciter::MultiMatProblemVorticalFlow class

Contents

MultiMat system of PDEs problem: vortical flow

Public static functions

static auto solution(ncomp_t, ncomp_t ncomp, tk::real, tk::real, tk::real, tk::real) -> tk::SolutionFn::result_type
static auto solinc(ncomp_t, ncomp_t ncomp, tk::real, tk::real, tk::real, tk::real, tk::real) -> std::vector<tk::real>
Evaluate the increment from t to t+dt of the analytical solution at (x,y,z) for all components.
static auto src(ncomp_t, ncomp_t ncomp, tk::real, tk::real, tk::real, tk::real) -> tk::SrcFn::result_type
static void side(std::unordered_set<int>& conf)
Query all side set IDs the user has configured for all components in this PDE system.
static auto fieldNames(ncomp_t ncomp) -> std::vector<std::string>
static auto fieldOutput(ncomp_t, ncomp_t ncomp, ncomp_t, tk::real, tk::real, const std::vector<tk::real>&, const std::array<std::vector<tk::real>, 3>&, tk::Fields& U) -> std::vector<std::vector<tk::real>>
static auto names(ncomp_t ncomp) -> std::vector<std::string>

Function documentation

static tk::SolutionFn::result_type inciter::MultiMatProblemVorticalFlow::solution(ncomp_t, ncomp_t ncomp, tk::real, tk::real, tk::real, tk::real)

Parameters
ncomp in Number of scalar components in this PDE system
Returns Values of all components evaluated at (x,y,z)

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

static std::vector<tk::real> inciter::MultiMatProblemVorticalFlow::solinc(ncomp_t, ncomp_t ncomp, tk::real, tk::real, tk::real, tk::real, tk::real)

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

Parameters
ncomp in Number of scalar components in this PDE system
Returns Increment in values of all components: all zero for this problem

static tk::SrcFn::result_type inciter::MultiMatProblemVorticalFlow::src(ncomp_t, ncomp_t ncomp, tk::real, tk::real, tk::real, tk::real)

Parameters
ncomp in Number of scalar components in this PDE system
Returns Array of reals containing the source for all components

Compute and return source term for vortical flow manufactured solution

static void inciter::MultiMatProblemVorticalFlow::side(std::unordered_set<int>& conf)

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

static std::vector<std::string> inciter::MultiMatProblemVorticalFlow::fieldNames(ncomp_t ncomp)

Parameters
ncomp in Number of scalar components in this PDE system
Returns Vector of strings labelling fields output in file

Return field names to be output to file

static std::vector<std::vector<tk::real>> inciter::MultiMatProblemVorticalFlow::fieldOutput(ncomp_t, ncomp_t ncomp, ncomp_t, tk::real, tk::real, const std::vector<tk::real>&, const std::array<std::vector<tk::real>, 3>&, tk::Fields& U)

Parameters
ncomp in Number of scalar components in this PDE system
in Solution vector at recent time step
Returns Vector of vectors to be output to file

Return field output going to file

static std::vector<std::string> inciter::MultiMatProblemVorticalFlow::names(ncomp_t ncomp)

Parameters
ncomp in Number of scalar components in this PDE system
Returns Vector of strings labelling integral variables output

Return names of integral variables to be output to diagnostics file