www.mooseframework.org
NSMachAux.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 NSMACHAUX_H
8 #define NSMACHAUX_H
9 
10 // MOOSE includes
11 #include "AuxKernel.h"
12 
13 // Forward Declarations
14 class NSMachAux;
16 
17 template <>
18 InputParameters validParams<NSMachAux>();
19 
23 class NSMachAux : public AuxKernel
24 {
25 public:
26  NSMachAux(const InputParameters & parameters);
27 
28  virtual ~NSMachAux() {}
29 
30 protected:
31  virtual Real computeValue();
32 
33  const VariableValue & _u_vel;
34  const VariableValue & _v_vel;
35  const VariableValue & _w_vel;
36  const VariableValue & _specific_volume;
37  const VariableValue & _internal_energy;
38 
39  // Fluid properties
41 };
42 
43 #endif
const VariableValue & _w_vel
Definition: NSMachAux.h:35
Auxiliary kernel for computing the Mach number assuming an ideal gas.
Definition: NSMachAux.h:23
const IdealGasFluidProperties & _fp
Definition: NSMachAux.h:40
InputParameters validParams< NSMachAux >()
Definition: NSMachAux.C:20
const VariableValue & _v_vel
Definition: NSMachAux.h:34
const VariableValue & _internal_energy
Definition: NSMachAux.h:37
const VariableValue & _u_vel
Definition: NSMachAux.h:33
virtual ~NSMachAux()
Definition: NSMachAux.h:28
NSMachAux(const InputParameters &parameters)
Definition: NSMachAux.C:37
Ideal gas fluid properties.
const VariableValue & _specific_volume
Definition: NSMachAux.h:36
virtual Real computeValue()
Definition: NSMachAux.C:49