https://mooseframework.inl.gov
PNSInitialCondition.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "InitialCondition.h"
13 #include "InputParameters.h"
14 
15 // Forward Declarations
17 
28 {
29 public:
31 
33 
37  virtual Real value(const Point & p);
38 
39 protected:
41  const std::string _variable_type;
42 
45 
48 
51 
54 
57 
60 
63 };
const IdealGasFluidProperties & _fp
Fluid properties.
const bool _superficial_velocities_set
Whether initial velocities were specified as superficial or interstitial.
const std::string _variable_type
Used to map the variable to one of the expected types.
const Real _initial_pressure
Initial constant value of the pressure.
RealVectorValue _initial_superficial_velocity
Initial constant value of the superficial velocity.
RealVectorValue _initial_interstitial_velocity
Initial constant value of the interstitial velocity.
const Real _initial_temperature
Initial constant value of the fluid temperature.
const VariableValue & _eps
The porosity variable.
static InputParameters validParams()
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
virtual Real value(const Point &p)
The value of the variable at a point.
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature...
PNSInitialCondition sets intial constant values for all variables given the: .) Initial pressure ...
PNSInitialCondition(const InputParameters &parameters)