class
TransportProblemCylVortexTransport PDE problem: deformation of cylinder in a vortex.
Contents
- Reference
Public static functions
-
static auto initialize(ncomp_
t system, ncomp_ t ncomp, tk:: real x, tk:: real y, tk:: real, tk:: real t) -> std::vector<tk:: real> - Evaluate analytical solution at (x,y,t) for all components.
-
static auto analyticSolution(ncomp_
t system, ncomp_ t ncomp, tk:: real x, tk:: real y, tk:: real z, tk:: real t) -> std::vector<tk:: real> - Evaluate analytical solution at (x,y,z,t) for all components.
-
static auto prescribedVelocity(ncomp_
t, ncomp_ t ncomp, tk:: real x, tk:: real y, tk:: real, tk:: real t) -> std::vector<std::array<tk:: real, 3>> - Assign prescribed velocity at a point.
-
static auto type() -> ctr::
ProblemType noexcept - Return problem type.
Public functions
Function documentation
static std::vector<tk:: real> inciter:: TransportProblemCylVortex:: initialize(ncomp_ t system,
ncomp_ t ncomp,
tk:: real x,
tk:: real y,
tk:: real,
tk:: real t)
Evaluate analytical solution at (x,y,t) for all components.
Parameters | |
---|---|
system in | Equation system index |
ncomp in | Number of components in this transport equation system |
x in | X coordinate where to evaluate the solution |
y in | Y coordinate where to evaluate the solution |
t in | Time where to evaluate the solution |
Returns | Values of all components evaluated at (x,y,t=0) |
This function only gives the initial condition for the cylinder, and not the solution at any time t>0.
static std::vector<std::array<tk:: real, 3>> inciter:: TransportProblemCylVortex:: prescribedVelocity(ncomp_ t,
ncomp_ t ncomp,
tk:: real x,
tk:: real y,
tk:: real,
tk:: real t)
Assign prescribed velocity at a point.
Parameters | |
---|---|
ncomp in | Number of components in this transport equation |
x in | x coordinate at which to assign velocity |
y in | y coordinate at which to assign velocity |
t in | time at which to assign velocity |
Returns | Velocity assigned to all vertices of a tetrehedron, size: ncomp * ndim = [ncomp][3] |
Assign prescribed velocity at a point