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 
15 
16 template <>
18 
25 {
26 public:
27  TwoPhaseFluidPropertiesIndependent(const InputParameters & parameters);
28 
29  virtual Real p_critical() const override;
30  virtual Real T_sat(Real p) const override;
31  virtual Real p_sat(Real T) const override;
32  virtual Real dT_sat_dp(Real p) const override;
33 
34  virtual bool supportsPhaseChange() const override { return false; }
35 
40  [[noreturn]] void throwNotImplementedError() const;
41 };
42 
TwoPhaseFluidPropertiesIndependent::throwNotImplementedError
void throwNotImplementedError() const
Calls mooseError with a message saying that this class cannot call 2-phase fluid properties.
Definition: TwoPhaseFluidPropertiesIndependent.C:40
TwoPhaseFluidPropertiesIndependent::p_critical
virtual Real p_critical() const override
Returns the critical pressure.
Definition: TwoPhaseFluidPropertiesIndependent.C:49
TwoPhaseFluidProperties.h
validParams< TwoPhaseFluidPropertiesIndependent >
InputParameters validParams< TwoPhaseFluidPropertiesIndependent >()
Definition: TwoPhaseFluidPropertiesIndependent.C:17
TwoPhaseFluidPropertiesIndependent::p_sat
virtual Real p_sat(Real T) const override
Computes the saturation pressure at a temperature.
Definition: TwoPhaseFluidPropertiesIndependent.C:56
TwoPhaseFluidPropertiesIndependent::TwoPhaseFluidPropertiesIndependent
TwoPhaseFluidPropertiesIndependent(const InputParameters &parameters)
Definition: TwoPhaseFluidPropertiesIndependent.C:30
TwoPhaseFluidPropertiesIndependent::supportsPhaseChange
virtual bool supportsPhaseChange() const override
Returns true if phase change is supported, otherwise false.
Definition: TwoPhaseFluidPropertiesIndependent.h:34
TwoPhaseFluidProperties
Base class for fluid properties used with two-phase flow.
Definition: TwoPhaseFluidProperties.h:23
TwoPhaseFluidPropertiesIndependent::dT_sat_dp
virtual Real dT_sat_dp(Real p) const override
Computes dT/dp along the saturation line.
Definition: TwoPhaseFluidPropertiesIndependent.C:58
TwoPhaseFluidPropertiesIndependent
2-phase fluid properties for 2 independent single-phase fluid properties.
Definition: TwoPhaseFluidPropertiesIndependent.h:24
TwoPhaseFluidPropertiesIndependent::T_sat
virtual Real T_sat(Real p) const override
Computes the saturation temperature at a pressure.
Definition: TwoPhaseFluidPropertiesIndependent.C:54