GeneralVaporMixtureFluidProperties

Class for fluid properties of an arbitrary vapor mixture

This class computes fluid properties for arbitrary vapor mixtures. This model assumes that the gases occupy separate volumes, but share the same pressure and temperature . Specific volume and specific internal energy have the following mixture relations, where denotes the index of the gas in the mixture, and the lack of a subscript denotes the mixture quantity: (1) (2) where is the number of gases present in the mixture, and and denote the equation-of-state calls from the respective gas from and . Therefore, if and are known, then to get and , a size-2 nonlinear system is solved.

Input Parameters

  • fp_secondaryName of fluid properties user object(s) for secondary vapor component(s)

    C++ Type:std::vector

    Options:

    Description:Name of fluid properties user object(s) for secondary vapor component(s)

  • fp_primaryName of fluid properties user object for primary vapor component

    C++ Type:UserObjectName

    Options:

    Description:Name of fluid properties user object for primary vapor component

Required Parameters

  • p_initial_guess100000Initial guess for mixture pressure

    Default:100000

    C++ Type:double

    Options:

    Description:Initial guess for mixture pressure

  • newton_damping1Damping factor for Newton iteration

    Default:1

    C++ Type:double

    Options:

    Description:Damping factor for Newton iteration

  • update_guessesTrueOption to update guesses for pressure and temperature based on the converged values for the previous solve

    Default:True

    C++ Type:bool

    Options:

    Description:Option to update guesses for pressure and temperature based on the converged values for the previous solve

  • T_initial_guess400Initial guess for mixture temperature

    Default:400

    C++ Type:double

    Options:

    Description:Initial guess for mixture temperature

  • newton_rel_tol1e-06Relative tolerance for Newton iteration

    Default:1e-06

    C++ Type:double

    Options:

    Description:Relative tolerance for Newton iteration

  • execute_onINITIALThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.

    Default:INITIAL

    C++ Type:ExecFlagEnum

    Options:NONE INITIAL LINEAR NONLINEAR TIMESTEP_END TIMESTEP_BEGIN FINAL CUSTOM

    Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.

  • newton_max_its25Maximum iterations for Newton iteration

    Default:25

    C++ Type:unsigned int

    Options:

    Description:Maximum iterations for Newton iteration

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector

    Options:

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Options:

    Description:Set the enabled status of the MooseObject.

  • allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

    Default:False

    C++ Type:bool

    Options:

    Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

  • use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

    Default:False

    C++ Type:bool

    Options:

    Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

  • force_preauxFalseForces the GeneralUserObject to be executed in PREAUX

    Default:False

    C++ Type:bool

    Options:

    Description:Forces the GeneralUserObject to be executed in PREAUX

Advanced Parameters