www.mooseframework.org
CNSFVPressureIC.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 CNSFVPRESSUREIC_H
9 #define CNSFVPRESSUREIC_H
10 
11 #include "InitialCondition.h"
13 
14 class CNSFVPressureIC;
15 
16 template <>
17 InputParameters validParams<CNSFVPressureIC>();
18 
22 class CNSFVPressureIC : public InitialCondition
23 {
24 public:
25  CNSFVPressureIC(const InputParameters & parameters);
26  virtual ~CNSFVPressureIC();
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< CNSFVPressureIC >()
virtual ~CNSFVPressureIC()
An initial condition object for computing pressure from conserved variables.
const SinglePhaseFluidProperties & _fp
const VariableValue & _rhov
const VariableValue & _rhoe
Common class for single phase fluid properties.
const VariableValue & _rhow
virtual Real value(const Point &p)
const VariableValue & _rho
CNSFVPressureIC(const InputParameters &parameters)
const VariableValue & _rhou