19 params.addParam<Real>(
"velocity", 1.0,
"Advective velocity");
20 params.addClassDescription(
"Free outflow BC based boundary flux user object for the advection "
21 "equation using a cell-centered finite volume method.");
35 const std::vector<Real> & uvec1,
36 const RealVectorValue & dwave,
37 std::vector<Real> & flux)
const
39 mooseAssert(uvec1.size() == 1,
"Invalid size for uvec1. Must be single variable coupling.");
42 RealVectorValue uadv1(
_velocity, 0.0, 0.0);
48 flux[0] = (uadv1 * dwave) * uvec1[0];
54 const std::vector<Real> & libmesh_dbg_var(uvec1),
55 const RealVectorValue & dwave,
56 DenseMatrix<Real> & jac1)
const
58 mooseAssert(uvec1.size() == 1,
"Invalid size for uvec1. Must be single variable coupling.");
61 const RealVectorValue uadv1(
_velocity, 0.0, 0.0);
62 jac1(0, 0) = uadv1 * dwave;