19 "A dgkernel for the advection equation using a cell-centered finite volume method.");
23 params.
addRequiredParam<UserObjectName>(
"flux",
"Name of the internal side flux object to use");
29 _component(getParam<
MooseEnum>(
"component")),
30 _uc1(coupledValue(
"u")),
31 _uc2(coupledNeighborValue(
"u")),
32 _u1(getMaterialProperty<
Real>(
"u")),
33 _u2(getNeighborMaterialProperty<
Real>(
"u")),
46 std::vector<Real> uvec1 = {
_u1[
_qp]};
47 std::vector<Real> uvec2 = {
_u2[
_qp]};
71 std::vector<Real> uvec1 = {
_uc1[
_qp]};
72 std::vector<Real> uvec2 = {
_uc2[
_qp]};
static const std::string component
registerMooseObject("RdgApp", AEFVKernel)
const VariablePhiValue & _phi_neighbor
virtual Real computeQpJacobian(Moose::DGJacobianType type)
const InternalSideFluxBase & _flux
flux user object
static InputParameters validParams()
static InputParameters validParams()
const VariableTestValue & _test_neighbor
const MaterialProperty< Real > & _u2
const MaterialProperty< Real > & _u1
extrapolated variable values at side center
A dgkernel for the advection equation using a cell-centered finite volume method. ...
virtual const DenseMatrix< Real > & getJacobian(Moose::DGResidualType type, unsigned int iside, dof_id_type ielem, dof_id_type ineig, const std::vector< Real > &uvec1, const std::vector< Real > &uvec2, const RealVectorValue &dwave) const
Get the Jacobian matrix.
const std::string & type() const
const MooseArray< Point > & _normals
const VariableValue & _uc1
piecewise constant variable values in cells
AEFVKernel(const InputParameters ¶meters)
const VariableValue & _uc2
const VariableTestValue & _test
MooseEnum _component
choose an equation
virtual Real computeQpResidual(Moose::DGResidualType type)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual const std::vector< Real > & getFlux(unsigned int iside, dof_id_type ielem, dof_id_type ineig, const std::vector< Real > &uvec1, const std::vector< Real > &uvec2, const RealVectorValue &dwave) const
Get the flux vector.
A base class for computing and caching internal side flux.
const Elem *const & _current_elem
const unsigned int & _current_side
const Elem *const & _neighbor_elem
const VariablePhiValue & _phi