https://mooseframework.inl.gov
FlowModelGasMixIC.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 
15 class Function;
16 
21 {
22 public:
24 
26 
27 protected:
28  virtual Real value(const Point & p) override;
29 
31  enum class Quantity
32  {
33  DENSITY,
34  RHOEA
35  };
38 
40  const Function & _xi;
42  const Function & _p;
44  const Function & _T;
46  const Function & _vel;
49 
52 };
Base class for fluid properties of vapor mixtures.
const Quantity _quantity
Which quantity to compute.
FlowModelGasMixIC(const InputParameters &parameters)
const Function & _p
Pressure.
const Function & _xi
Secondary gas mass fraction.
const VaporMixtureFluidProperties & _fp
Fluid properties.
const VariableValue & _area
Cross-sectional area.
const Function & _vel
Velocity.
virtual Real value(const Point &p) override
IC for various variables for FlowModelGasMix.
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Quantity
Quantity type.
const InputParameters & parameters() const
const Function & _T
Temperature.
static InputParameters validParams()