![]() |
OGS
|
|
Functions | |
| void | checkStateInRange (double const pressure, double const temperature, std::string_view const quantity) |
Variables | |
| constexpr double | maximum_pressure = 100e6 |
| Pa. | |
| constexpr double | maximum_temperature = 623.15 |
| K. | |
|
inline |
Aborts the assembly if the state lies outside the region 1 range, that is outside the compressed liquid the region 1 correlations describe. Like the region 4 correlations, they are extrapolated beyond their range without saying so, and a caller that reaches this check has already established that no saturation state exists at this pressure, so there is nothing left to fall back on.
The state follows the solution iterate, so an AssemblyException lets the time stepper repeat the step with a smaller step size. A section that is genuinely at such a state is not one this process can describe: it has no region 2 or region 3 properties.
| pressure | the pressure to check, in Pa. |
| temperature | the temperature to check, in K. |
| quantity | what is being evaluated, named in the message. |
Definition at line 37 of file WaterStateIAPWSIF97Region1.h.
References maximum_pressure, maximum_temperature, and MaterialPropertyLib::temperature.
Referenced by ProcessLib::WellboreCompensateNeumannBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), and ProcessLib::WellboreSimulator::WellboreSimulatorFEM< ShapeFunction, GlobalDim >::assemble().
|
constexpr |
Pa.
Upper bound of the pressure range of region 1, see http://www.iapws.org/relguide/IF97-Rev.pdf p.5, section 4.
Definition at line 16 of file WaterStateIAPWSIF97Region1.h.
Referenced by checkStateInRange().
|
constexpr |
K.
Upper bound of the temperature range of region 1. Above it the formulation describes region 3 rather than the compressed liquid, see http://www.iapws.org/relguide/IF97-Rev.pdf p.5, section 4.
Definition at line 21 of file WaterStateIAPWSIF97Region1.h.
Referenced by checkStateInRange().