Go to the documentation of this file.
19 params.addClassDescription(
"This class corresponds to the viscous part of the 'natural' boundary "
20 "condition for the momentum equations.");
21 params.addRequiredParam<
unsigned>(
22 "component",
"(0,1,2) = (x,y,z) for which momentum component this BC is applied to");
28 _component(getParam<unsigned>(
"component")),
40 RealVectorValue v_test;
61 for (
unsigned int ell = 0; ell < LIBMESH_DIM; ++ell)
65 visc_term *= _test[_i][_qp];
90 for (
unsigned int ell = 0; ell < LIBMESH_DIM; ++ell)
94 visc_term *= _test[_i][_qp];
unsigned mapVarNumber(unsigned var)
virtual Real computeQpResidual()
Just like other kernels, we must overload the Residual and Jacobian contributions....
InputParameters validParams< NSIntegratedBC >()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Real dtau(unsigned k, unsigned ell, unsigned m)
The primary interface for computing viscous stress tensor derivatives.
This class corresponds to the viscous part of the "natural" boundary condition for the momentum equat...
bool isNSVariable(unsigned var)
NSViscStressTensorDerivs< NSMomentumViscousBC > _vst_derivs
virtual Real computeQpJacobian()
registerMooseObject("NavierStokesApp", NSMomentumViscousBC)
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
NSMomentumViscousBC(const InputParameters ¶meters)
InputParameters validParams< NSMomentumViscousBC >()
const MaterialProperty< RealTensorValue > & _viscous_stress_tensor
const unsigned _component