www.mooseframework.org
NSInitialCondition.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 NSINITIALCONDITION_H
8 #define NSINITIALCONDITION_H
9 
10 #include "InitialCondition.h"
11 #include "InputParameters.h"
12 
13 // Forward Declarations
14 class NSInitialCondition;
16 
17 template <>
18 InputParameters validParams<NSInitialCondition>();
19 
28 class NSInitialCondition : public InitialCondition
29 {
30 public:
31  NSInitialCondition(const InputParameters & parameters);
32 
36  virtual Real value(const Point & p);
37 
38 protected:
41  RealVectorValue _initial_velocity;
42 
43  // Fluid properties
45 };
46 
47 #endif
InputParameters validParams< NSInitialCondition >()
NSInitialCondition sets intial constant values for all variables given the: .) Initial pressure ...
const IdealGasFluidProperties & _fp
NSInitialCondition(const InputParameters &parameters)
virtual Real value(const Point &p)
The value of the variable at a point.
RealVectorValue _initial_velocity
Ideal gas fluid properties.