https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSEnergyViscousBC.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "NSIntegratedBC.h"
14#include "NSTemperatureDerivs.h"
15
16// Forward Declarations
17
30{
31public:
33
35
36protected:
40 virtual Real computeQpResidual();
41 virtual Real computeQpJacobian();
42 virtual Real computeQpOffDiagJacobian(unsigned jvar);
43
44 // Coupled gradients
46
47 // Material properties
49
50 // An object for computing viscous stress tensor derivatives.
51 // Constructed via a reference to ourself so we can access all of our data.
53
54 // Declare ourselves friend to the helper class.
55 template <class U>
57
58 // A helper object for computing temperature gradient and Hessians.
59 // Constructed via a reference to ourself so we can access all of our data.
61
62 // Declare ourselves a friend to the helper class
63 template <class U>
64 friend class NSTemperatureDerivs;
65
66 // Single vector to refer to all gradients. Initialized in
67 // the ctor.
68 std::vector<const VariableGradient *> _gradU;
69};
const InputParameters & parameters() const
This class corresponds to the viscous part of the "natural" boundary condition for the energy equatio...
const MaterialProperty< Real > & _thermal_conductivity
virtual Real computeQpJacobian()
NSTemperatureDerivs< NSEnergyViscousBC > _temp_derivs
virtual Real computeQpResidual()
Just like other kernels, we must overload the Residual and Jacobian contributions....
virtual Real computeQpOffDiagJacobian(unsigned jvar)
const VariableGradient & _grad_temperature
NSViscStressTensorDerivs< NSEnergyViscousBC > _vst_derivs
std::vector< const VariableGradient * > _gradU
static InputParameters validParams()
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Class outside the Moose hierarchy that contains common functionality for computing derivatives of the...
Class outside the Moose hierarchy that contains common functionality for computing derivatives of the...
VariableGradientTempl< false > VariableGradient