www.mooseframework.org
TwoPhaseFluidPropertiesIndependent.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 {
24 public:
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 DualReal T_sat(const DualReal & p) const override;
33  virtual Real p_sat(Real T) const override;
34  virtual DualReal p_sat(const DualReal & 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 DualReal sigma_from_T(const DualReal & T) const override;
39  virtual Real dsigma_dT_from_T(Real T) const override;
40 
41  virtual bool supportsPhaseChange() const override { return false; }
42 
43 protected:
48 
51 };
52 
53 #pragma GCC diagnostic pop
virtual Real p_sat(Real T) const override
Computes the saturation pressure at a temperature.
TwoPhaseFluidPropertiesIndependent(const InputParameters &parameters)
virtual Real dsigma_dT_from_T(Real T) const override
Computes dsigma/dT along the saturation line.
virtual Real dT_sat_dp(Real p) const override
Computes dT/dp along the saturation line.
DualNumber< Real, DNDerivativeType, true > DualReal
2-phase fluid properties for 2 independent single-phase fluid properties.
virtual Real sigma_from_T(Real T) const override
Computes surface tension sigma of saturated liquid in contact with saturated vapor.
virtual Real L_fusion() const override
Returns the latent heat of fusion.
Base class for fluid properties used with two-phase flow.
const bool _error_on_unimplemented
If true, throw an error when a 2-phase interface is called. Else, return a zero value.
virtual Real T_sat(Real p) const override
Computes the saturation temperature at a pressure.
virtual Real T_triple() const override
Returns the triple-point temperature.
Real getTwoPhaseInterfaceDummyValue() const
Returns a dummy zero value or throws a mooseError.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real p_critical() const override
Returns the critical pressure.
const InputParameters & parameters() const
virtual bool supportsPhaseChange() const override
Returns true if phase change is supported, otherwise false.