solver

Scalar transport solver configuration.

class ScalarTransportSolver(mesh: Mesh, **default)
property fem: HDG

Sets the finite element for the scalar transport solver.

Getter:

Returns the finite element

Setter:

Sets the finite element method, defaults to HDG

property riemann_solver: LaxFriedrich

Sets the Riemann solver for the scalar transport solver.

Getter:

Returns the Riemann solver

Setter:

Sets the Riemann solver, defaults to LaxFriedrich

property convection_velocity: CoefficientFunction

Sets the convection/wind velocity.

Getter:

Returns the convection speed

Setter:

Sets the convection speed, defaults to (1.0, 0.0, 0.0)

property diffusion_coefficient: Parameter

Sets the diffusivity constant.

Getter:

Returns the diffusivity constant

Setter:

Sets the diffusivity constant, defaults to 0.001

property is_inviscid: bool

Sets whether the formulation is inviscid (no diffusion)

Getter:

Returns whether this a pure convection equation

Setter:

Sets whether this is a pure convection equation, defaults to False

phi(U: transportfields)

Returns the definition of our scalar variable: \(\phi\).