www.mooseframework.org
CNSFVEntropyProductionAux.h
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 
8 #ifndef CNSFVENTROPYPRODUCTIONAUX_H
9 #define CNSFVENTROPYPRODUCTIONAUX_H
10 
11 #include "AuxKernel.h"
13 
15 
16 template <>
18 
22 class CNSFVEntropyProductionAux : public AuxKernel
23 {
24 public:
25  CNSFVEntropyProductionAux(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeValue();
30 
32 
33  const MaterialProperty<Real> & _rho;
34  const MaterialProperty<Real> & _pres;
35  const MaterialProperty<Real> & _gamma;
36 
37  Real _inf_rho;
38  Real _inf_pres;
39 };
40 
41 #endif
An aux kernel for calculating entropy production.
CNSFVEntropyProductionAux(const InputParameters &parameters)
const SinglePhaseFluidProperties & _fp
InputParameters validParams< CNSFVEntropyProductionAux >()
Common class for single phase fluid properties.
const MaterialProperty< Real > & _gamma
const MaterialProperty< Real > & _rho
const MaterialProperty< Real > & _pres