www.mooseframework.org
NSPressureAux.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 #ifndef NSPRESSUREAUX_H
8 #define NSPRESSUREAUX_H
9 
10 #include "AuxKernel.h"
11 
12 // Forward Declarations
13 class NSPressureAux;
15 
16 template <>
17 InputParameters validParams<NSPressureAux>();
18 
22 class NSPressureAux : public AuxKernel
23 {
24 public:
25  NSPressureAux(const InputParameters & parameters);
26 
27  virtual ~NSPressureAux() {}
28 
29 protected:
30  virtual Real computeValue();
31 
32  const VariableValue & _specific_volume;
33  const VariableValue & _internal_energy;
34 
35  // Fluid properties
37 };
38 
39 #endif // VELOCITYAUX_H
Nodal auxiliary variable, for computing pressure at the nodes.
Definition: NSPressureAux.h:22
virtual Real computeValue()
Definition: NSPressureAux.C:43
const VariableValue & _specific_volume
Definition: NSPressureAux.h:32
NSPressureAux(const InputParameters &parameters)
Definition: NSPressureAux.C:34
const IdealGasFluidProperties & _fp
Definition: NSPressureAux.h:36
const VariableValue & _internal_energy
Definition: NSPressureAux.h:33
Ideal gas fluid properties.
InputParameters validParams< NSPressureAux >()
Definition: NSPressureAux.C:20
virtual ~NSPressureAux()
Definition: NSPressureAux.h:27