27 _thermal_conductivity(getMaterialProperty<
Real>(
"thermal_conductivity")),
64 Real thermal_term = 0.0;
66 for (
unsigned int ell = 0; ell < LIBMESH_DIM; ++ell)
68 Real intermediate_result = 0.;
71 for (
unsigned n = 0; n < 5; ++n)
81 thermal_term += intermediate_result *
_normals[
_qp](ell);
113 Real thermal_term = 0.;
115 for (
unsigned ell = 0; ell < LIBMESH_DIM; ++ell)
117 Real intermediate_result = 0.;
120 for (
unsigned n = 0; n < 5; ++n)
130 thermal_term += intermediate_result *
_normals[
_qp](ell);
150 Real intermediate_value = 0.0;
151 for (
unsigned int ell = 0; ell < LIBMESH_DIM; ++ell)
152 intermediate_value +=
168 unsigned int m_local = m - 1;
173 Real intermediate_value = tau(
k, m_local) * phij / rho;
175 for (
unsigned int ell = 0; ell < LIBMESH_DIM; ++ell)
187 mooseError(
"Shouldn't get here, this is the on-diagonal entry!");
197 return (-thermal_term - visc_term) *
_test[
_i][
_qp];
const VariableTestValue & _test
bool isNSVariable(unsigned var)
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
const MooseArray< Point > & _normals
const VariableGradient & _grad_rho_w
Real get_grad(unsigned i)
The primary interfaces for computing temperature derivatives.
const VariableValue & _rho_w
virtual Real computeQpOffDiagJacobian(unsigned jvar)
const VariableValue & _w_vel
const VariableValue & _rho
static constexpr std::size_t dim
const VariableGradient & _grad_rho_u
Real dtau(unsigned k, unsigned ell, unsigned m)
The primary interface for computing viscous stress tensor derivatives.
static const std::string temperature
NSTemperatureDerivs< NSEnergyViscousBC > _temp_derivs
const VariableGradient & _grad_rho_et
const VariableGradient & _grad_rho_v
const VariablePhiValue & _phi
virtual Real computeQpJacobian()
const MaterialProperty< Real > & _thermal_conductivity
const MaterialProperty< RealTensorValue > & _viscous_stress_tensor
const VariablePhiGradient & _grad_phi
TensorValue< Real > RealTensorValue
NSViscStressTensorDerivs< NSEnergyViscousBC > _vst_derivs
virtual Real computeQpResidual()
Just like other kernels, we must overload the Residual and Jacobian contributions...
static InputParameters validParams()
std::vector< const VariableGradient * > _gradU
registerMooseObject("NavierStokesApp", NSEnergyViscousBC)
unsigned mapVarNumber(unsigned var)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _v_vel
IntRange< T > make_range(T beg, T end)
void mooseError(Args &&... args) const
const VariableValue & _rho_u
NSEnergyViscousBC(const InputParameters ¶meters)
const VariableGradient & _grad_rho
const VariableGradient & _grad_temperature
const VariableValue & _u_vel
static InputParameters validParams()
static const std::string k
Real get_hess(unsigned i, unsigned j)
This class corresponds to the viscous part of the "natural" boundary condition for the energy equatio...
const VariableValue & _rho_v