20 "Compute K_ij (a measure of advective flux from node i to node j) "
21 "and R+ and R- (which quantify amount of antidiffusion to add) in the "
22 "Kuzmin-Turek FEM-TVD multidimensional scheme. Constant advective velocity is assumed");
31 _velocity(getParam<RealVectorValue>(
"velocity")),
32 _u_at_nodes(coupledDofValues(
"u")),
33 _phi(_assembly.fePhi<Real>(getVar(
"u", 0)->feType())),
34 _grad_phi(_assembly.feGradPhi<Real>(getVar(
"u", 0)->feType()))
registerMooseObject("PorousFlowApp", AdvectiveFluxCalculatorConstantVelocity)
Base class to compute Advective fluxes.
static InputParameters validParams()
Computes Advective fluxes for a constant velocity.
AdvectiveFluxCalculatorConstantVelocity(const InputParameters ¶meters)
const VariablePhiValue & _phi
Kuzmin-Turek shape function.
virtual Real computeVelocity(unsigned i, unsigned j, unsigned qp) const override
Computes the transfer velocity between current node i and current node j at the current qp in the cur...
const VariablePhiGradient & _grad_phi
grad(Kuzmin-Turek shape function)
static InputParameters validParams()
RealVectorValue _velocity
advection velocity
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem)
const VariableValue & _u_at_nodes
the nodal values of u