https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Functions
IdealGasMixtureFluidProperties.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("FluidPropertiesApp", IdealGasMixtureFluidProperties)
 
 define_mass_specific_prop_from_p_T (v)
 

Function Documentation

◆ define_mass_specific_prop_from_p_T()

define_mass_specific_prop_from_p_T ( v  )

Definition at line 51 of file IdealGasMixtureFluidProperties.C.

60{
62 params += NaNInterface::validParams();
63
64 params.addClassDescription("Class for fluid properties of an ideal gas mixture");
65
66 params.addRequiredParam<std::vector<UserObjectName>>(
67 "component_fluid_properties",
68 "Name of component fluid properties user objects. The first entry should be the primary "
69 "component.");
70
71 MooseEnum transport_mixing_rule("mole_fraction_average wilke", "mole_fraction_average");
72 transport_mixing_rule.addDocumentation("mole_fraction_average",
73 "Uses the average weighted by molar fraction");
74 transport_mixing_rule.addDocumentation("wilke",
75 "Uses the rule of Wilke for the viscosity and that of "
76 "Mason and Saxena for the thermal conductivity");
77 params.addParam<MooseEnum>(
78 "transport_mixing_rule",
79 transport_mixing_rule,
80 "Rule that combines the viscosities and thermal conductivities of the components");
81
82 return params;
83}
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()

◆ registerMooseObject()

registerMooseObject ( "FluidPropertiesApp"  ,
IdealGasMixtureFluidProperties   
)