www.mooseframework.org
CNSFVSpecificTotalEnthalpyAux.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
9 
10 template <>
11 InputParameters
13 {
14  InputParameters params = validParams<AuxKernel>();
15  params.addClassDescription("An aux kernel for calculating specific total enthalpy.");
16  return params;
17 }
18 
20  : AuxKernel(parameters), _enth(getMaterialProperty<Real>("enthalpy"))
21 {
22 }
23 
24 Real
26 {
27  return _enth[_qp];
28 }
CNSFVSpecificTotalEnthalpyAux(const InputParameters &parameters)
const MaterialProperty< Real > & _enth
InputParameters validParams< CNSFVSpecificTotalEnthalpyAux >()