26 params.
addClassDescription(
"NSInitialCondition sets intial constant values for all variables.");
29 "The name of the pressure variable",
30 "pressure_variable_name is deprecated, use variable_type");
49 "Specifies what this variable is in the Navier Stokes namespace of variables");
51 "The initial pressure, assumed constant everywhere");
53 "The initial temperature, assumed constant everywhere");
55 "The initial velocity, assumed constant everywhere");
57 "The name of the user object for fluid properties");
64 _variable_type(isParamValid(
"variable_type") ? getParam<
MooseEnum>(
"variable_type")
66 _initial_pressure(getParam<
Real>(
"initial_pressure")),
67 _initial_temperature(getParam<
Real>(
"initial_temperature")),
70 _pressure_variable_name(getParam<
std::string>(
"pressure_variable_name"))
82 const Real v_initial = 1. / rho_initial;
109 return rho_initial * et_initial;
static const std::string total_energy_density
static const std::string momentum_x
const Real _initial_temperature
Initial constant value of the fluid temperature.
static InputParameters validParams()
auto norm() const -> decltype(std::norm(Real()))
virtual Real rho_from_p_T(Real p, Real T) const override
static const std::string mach_number
static const std::string velocity_z
NSInitialCondition sets intial constant values for all variables given the: .) Initial pressure ...
static const std::string density
static InputParameters validParams()
static const std::string velocity_x
static const std::string temperature
static const std::string specific_internal_energy
const std::string _pressure_variable_name
pressure variable name
const IdealGasFluidProperties & _fp
Fluid properties.
auto norm_sq() const -> decltype(std::norm(Real()))
NSInitialCondition(const InputParameters ¶meters)
const std::string _variable_type
Used to map the variable to one of the expected types.
virtual Real value(const Point &p)
The value of the variable at a point.
static const std::string specific_volume
const RealVectorValue _initial_velocity
Initial constant value of the velocity.
static const std::string velocity_y
const Real _initial_pressure
Initial constant value of the pressure.
static const std::string momentum_y
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string specific_total_enthalpy
registerMooseObject("NavierStokesApp", NSInitialCondition)
static const std::string pressure
void mooseError(Args &&... args) const
virtual Real c_from_v_e(Real v, Real e) const override
static const std::string momentum_z
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature...
std::string join(const T &strings, const std::string &delimiter)