https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TwoPhaseFluidPropertiesIndependent.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
13
14#pragma GCC diagnostic push
15#pragma GCC diagnostic ignored "-Woverloaded-virtual"
16
23{
24public:
26
28
29 virtual Real p_critical() const override;
30 virtual Real T_triple() const override;
31 virtual Real T_sat(Real p) const override;
32 virtual ADReal T_sat(const ADReal & p) const override;
33 virtual Real p_sat(Real T) const override;
34 virtual ADReal p_sat(const ADReal & T) const override;
35 virtual Real dT_sat_dp(Real p) const override;
36 virtual Real L_fusion() const override;
37 virtual Real sigma_from_T(Real T) const override;
38 virtual ADReal sigma_from_T(const ADReal & T) const override;
39 virtual Real dsigma_dT_from_T(Real T) const override;
40
41 virtual bool supportsPhaseChange() const override { return false; }
42
43protected:
48
51};
52
53#pragma GCC diagnostic pop
DualNumber< Real, DNDerivativeType, true > ADReal
const Real p
const double T
const InputParameters & parameters() const
2-phase fluid properties for 2 independent single-phase fluid properties.
virtual Real T_sat(Real p) const override
Computes the saturation temperature at a pressure.
virtual Real dsigma_dT_from_T(Real T) const override
Computes dsigma/dT along the saturation line.
const bool _error_on_unimplemented
If true, throw an error when a 2-phase interface is called. Else, return a zero value.
Real getTwoPhaseInterfaceDummyValue() const
Returns a dummy zero value or throws a mooseError.
virtual Real L_fusion() const override
Returns the latent heat of fusion.
virtual bool supportsPhaseChange() const override
Returns true if phase change is supported, otherwise false.
virtual Real T_triple() const override
Returns the triple-point temperature.
virtual Real p_sat(Real T) const override
Computes the saturation pressure at a temperature.
virtual Real dT_sat_dp(Real p) const override
Computes dT/dp along the saturation line.
virtual Real p_critical() const override
Returns the critical pressure.
virtual Real sigma_from_T(Real T) const override
Computes surface tension sigma of saturated liquid in contact with saturated vapor.
Base class for fluid properties used with two-phase flow.