www.mooseframework.org
NSEntropyError.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 NSENTROPYERROR_H
9 #define NSENTROPYERROR_H
10 
11 #include "ElementIntegralPostprocessor.h"
12 
13 // Forward Declarations
14 class NSEntropyError;
16 
17 template <>
18 InputParameters validParams<NSEntropyError>();
19 
20 class NSEntropyError : public ElementIntegralPostprocessor
21 {
22 public:
23  NSEntropyError(const InputParameters & parameters);
24  virtual Real getValue();
25 
26 protected:
27  virtual Real computeQpIntegral();
28 
29  Real _rho_infty;
30  Real _p_infty;
31 
32  const VariableValue & _rho;
33  const VariableValue & _pressure;
34 
35  // Fluid properties
37 };
38 
39 #endif
virtual Real computeQpIntegral()
virtual Real getValue()
NSEntropyError(const InputParameters &parameters)
InputParameters validParams< NSEntropyError >()
const VariableValue & _pressure
const VariableValue & _rho
const IdealGasFluidProperties & _fp
Ideal gas fluid properties.