SaturationDensityFunction

This function computes saturation density of either the liquid phase or vapor phase from a given temperature function T(x,t)T(\mathbf{x}, t): ρsat(x,t)=ρ(psat(T(x,t)),T(x,t)), \rho_\text{sat}(\mathbf{x},t) = \rho(p_\text{sat}(T(\mathbf{x}, t)),T(\mathbf{x}, t)) \,, where the psat(T)p_\text{sat}(T) function is provided via the p_sat(T) API of objects deriving from TwoPhaseFluidProperties and the ρ(p,T)\rho(p,T) function is provided via the 'rho_from_p_T(p,T)' API of the liquid or vapor 'SinglePhaseFluidProperties' object.

Input Parameters

  • TTemperature function

    C++ Type:FunctionName

    Unit:(no unit assumed)

    Controllable:No

    Description:Temperature function

  • fp_2phase2-phase fluid properties

    C++ Type:UserObjectName

    Unit:(no unit assumed)

    Controllable:No

    Description:2-phase fluid properties

  • use_liquidFalseSet true to use liquid phase; else use vapor phase

    Default:False

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Set true to use liquid phase; else use vapor phase

Required Parameters

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

    C++ Type:std::vector<std::string>

    Unit:(no unit assumed)

    Controllable:No

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Unit:(no unit assumed)

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters