13#include "libmesh/quadrature.h"
22 "A material kernel for the advection equation using a cell-centered finite volume method.");
24 params.
addRequiredParam<UserObjectName>(
"slope_limiting",
"Name for slope limiting user object");
30 _uc(coupledValue(
"u")),
32 _u(declareProperty<Real>(
"u"))
49 unsigned int nvars = 1;
50 std::vector<RealGradient> ugrad(
nvars, RealGradient(0., 0., 0.));
57 _u[
_qp] += ugrad[0] * dvec;
registerMooseObject("RdgApp", AEFVMaterial)
A material kernel for the advection equation using a cell-centered finite volume method.
const SlopeLimitingBase & _lslope
static InputParameters validParams()
const VariableValue & _uc
virtual void computeQpProperties()
AEFVMaterial(const InputParameters ¶meters)
MaterialProperty< Real > & _u
static InputParameters validParams()
const Elem *const & _current_elem
const MooseArray< Point > & _q_point
Base class for slope limiting to limit the slopes of cell average variables.
virtual const std::vector< RealGradient > & getElementSlope(dof_id_type elementid) const
accessor function call