18 params.
addClassDescription(
"This class corresponds to the viscous part of the 'natural' boundary "
19 "condition for the momentum equations.");
21 "component",
"(0,1,2) = (x,y,z) for which momentum component this BC is applied to");
27 _component(getParam<unsigned>(
"component")),
39 RealVectorValue v_test;
60 for (
unsigned int ell = 0; ell < LIBMESH_DIM; ++ell)
89 for (
unsigned int ell = 0; ell < LIBMESH_DIM; ++ell)
registerMooseObject("NavierStokesApp", NSMomentumViscousBC)
const MooseArray< Point > & _normals
const VariableTestValue & _test
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
static InputParameters validParams()
bool isNSVariable(unsigned var)
const MaterialProperty< RealTensorValue > & _viscous_stress_tensor
unsigned mapVarNumber(unsigned var)
This class corresponds to the viscous part of the "natural" boundary condition for the momentum equat...
const unsigned _component
virtual Real computeQpJacobian()
static InputParameters validParams()
virtual Real computeQpResidual()
Just like other kernels, we must overload the Residual and Jacobian contributions....
NSMomentumViscousBC(const InputParameters ¶meters)
NSViscStressTensorDerivs< NSMomentumViscousBC > _vst_derivs
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Real dtau(unsigned k, unsigned ell, unsigned m)
The primary interface for computing viscous stress tensor derivatives.