www.mooseframework.org
NSEnergyViscousBC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 {
31 public:
33 
35 
36 protected:
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 };
OutputTools< Real >::VariableGradient VariableGradient
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
virtual Real computeQpOffDiagJacobian(unsigned jvar)
NSTemperatureDerivs< NSEnergyViscousBC > _temp_derivs
virtual Real computeQpJacobian()
const MaterialProperty< Real > & _thermal_conductivity
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
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
NSEnergyViscousBC(const InputParameters &parameters)
const VariableGradient & _grad_temperature
This class corresponds to the viscous part of the "natural" boundary condition for the energy equatio...