www.mooseframework.org
navier_stokes
include
kernels
NSEnergyViscousFlux.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 "
NSKernel.h
"
13
#include "
NSViscStressTensorDerivs.h
"
14
15
// Forward Declarations
16
class
NSEnergyViscousFlux
;
17
18
template
<>
19
InputParameters
validParams<NSEnergyViscousFlux>
();
20
24
class
NSEnergyViscousFlux
:
public
NSKernel
25
{
26
public
:
27
NSEnergyViscousFlux
(
const
InputParameters & parameters);
28
29
protected
:
30
virtual
Real
computeQpResidual
();
31
virtual
Real
computeQpJacobian
();
32
virtual
Real
computeQpOffDiagJacobian
(
unsigned
int
jvar);
33
34
// An object for computing viscous stress tensor derivatives.
35
// Constructed via a reference to ourself
36
NSViscStressTensorDerivs<NSEnergyViscousFlux>
_vst_derivs
;
37
38
// Declare ourselves friend to the helper class.
39
template
<
class
U>
40
friend
class
NSViscStressTensorDerivs
;
41
};
42
NSEnergyViscousFlux::computeQpResidual
virtual Real computeQpResidual()
Definition:
NSEnergyViscousFlux.C:29
NSViscStressTensorDerivs.h
NSEnergyViscousFlux::NSEnergyViscousFlux
NSEnergyViscousFlux(const InputParameters ¶meters)
Definition:
NSEnergyViscousFlux.C:23
NSViscStressTensorDerivs< NSEnergyViscousFlux >
NSEnergyViscousFlux::_vst_derivs
NSViscStressTensorDerivs< NSEnergyViscousFlux > _vst_derivs
Definition:
NSEnergyViscousFlux.h:36
validParams< NSEnergyViscousFlux >
InputParameters validParams< NSEnergyViscousFlux >()
Definition:
NSEnergyViscousFlux.C:16
NSKernel
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition:
NSKernel.h:29
NSEnergyViscousFlux::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition:
NSEnergyViscousFlux.C:46
NSEnergyViscousFlux::computeQpJacobian
virtual Real computeQpJacobian()
Definition:
NSEnergyViscousFlux.C:39
NSKernel.h
NSEnergyViscousFlux
Viscous flux terms in energy equation.
Definition:
NSEnergyViscousFlux.h:24
Generated on Sat Jan 25 2020 12:04:38 for www.mooseframework.org by
1.8.16