Skip to content
Browse files

Merge pull request #13024 from andrsd/13023

Adding API for getting info about phase change
  • Loading branch information...
andrsd committed Mar 8, 2019
2 parents 2badf77 + b7a2fbe commit 1b958106d0c02db97c23e80472a7af9bdf3874ca
@@ -70,6 +70,11 @@ class TwoPhaseFluidProperties : public FluidProperties
virtual Real h_lat(Real p, Real T) const;

* Returns true if phase change is supported, otherwise false
virtual bool supportsPhaseChange() const = 0;

/// The name of the user object that provides liquid phase fluid properties
const UserObjectName _liquid_name;
@@ -32,6 +32,8 @@ class TwoPhaseFluidPropertiesIndependent : public TwoPhaseFluidProperties
virtual Real p_sat(Real T) const override;
virtual Real dT_sat_dp(Real p) const override;

virtual bool supportsPhaseChange() const override { return false; }

* Calls \c mooseError with a message saying that this class cannot call
* 2-phase fluid properties.

0 comments on commit 1b95810

Please sign in to comment.
You can’t perform that action at this time.