www.mooseframework.org
CNSFVMachIC.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 CNSFVMACHIC_H
9 #define CNSFVMACHIC_H
10 
11 #include "InitialCondition.h"
13 
14 class CNSFVMachIC;
15 
16 template <>
17 InputParameters validParams<CNSFVMachIC>();
18 
22 class CNSFVMachIC : public InitialCondition
23 {
24 public:
25  CNSFVMachIC(const InputParameters & parameters);
26  virtual ~CNSFVMachIC();
27 
28  virtual Real value(const Point & p);
29 
30 protected:
31  const VariableValue & _rho;
32  const VariableValue & _rhou;
33  const VariableValue & _rhov;
34  const VariableValue & _rhow;
35  const VariableValue & _rhoe;
36 
38 };
39 
40 #endif
InputParameters validParams< CNSFVMachIC >()
Definition: CNSFVMachIC.C:12
CNSFVMachIC(const InputParameters &parameters)
Definition: CNSFVMachIC.C:34
virtual ~CNSFVMachIC()
Definition: CNSFVMachIC.C:45
virtual Real value(const Point &p)
Definition: CNSFVMachIC.C:48
An initial condition object for computing Mach number from conserved variables.
Definition: CNSFVMachIC.h:22
const VariableValue & _rhoe
Definition: CNSFVMachIC.h:35
Common class for single phase fluid properties.
const VariableValue & _rhow
Definition: CNSFVMachIC.h:34
const SinglePhaseFluidProperties & _fp
Definition: CNSFVMachIC.h:37
const VariableValue & _rho
Definition: CNSFVMachIC.h:31
const VariableValue & _rhov
Definition: CNSFVMachIC.h:33
const VariableValue & _rhou
Definition: CNSFVMachIC.h:32