modelFluidTestingA
Information
This test maintains a constant pressure, and ramps temperature between the selected values. At each temperature, a thermodynamic state is created from p and T and, from it, different properties are calculated. The state is recovered also from d_T, p_H, and p_S, in order to check if the state is correctly reconstructed.
Parameters
| Type | Name | Default | Description |
| Medium.AbsolutePressure | p | 1.0e5 | |
| Medium.Temperature | initialT | 273.19 | |
| Medium.Temperature | finalT | 372.15 | |
| Real | fract | 0.1 | fraction of the density of stateP to be used in state Dlow |
Components
| Type | Name | Default | Description |
| Medium.Temperature | T | | We will ramp the temperature |
| Medium.MolarMass | MM | | |
| Medium.ThermodynamicState | StateP | | original state from p and T |
| Real | Tb | | |
| Real | H | | |
| Real | D | | |
| Real | S | | |
| Real | U | | internal energy |
| Real | Cp | | |
| Real | Cv | | |
| Real | Gamma | | |
| Real | SS | | speed of sound |
| Real | Beta | | isobaric expansion coefficient |
| Real | Kappa | | isothermal compressibility |
| Real | DerD_p_h | | |
| Real | DerD_h_p | | |
| Real | Mu | | |
| Real | Th | | |
| Medium.ThermodynamicState | StateD | | state reproduced from d,T |
| Medium.ThermodynamicState | StateH | | state reproduced from p,h |
| Medium.ThermodynamicState | StateS | | state reproduced from p,s |
| Medium.ThermodynamicState | StateDlow | | state at fraction of original density |
| Real | DlowGasFract | | gas fraction of StateDlow |
| Real | DlowD | | |
| Real | DlowH | | |
| Real | DlowS | | |
| Real | DlowU | | |
| Real | DlowCv | | |
| Real | DlowDerD_p_h | | |
| Real | DlowDerD_h_p | | |
| Medium.SaturationProperties | sat | | saturation point at given T |
| Medium.AbsolutePressure | Vp | | |
| Real | DerTb_p | | |
| Medium.ThermodynamicState | StateBub | | bubble state at sat |
| Medium.ThermodynamicState | StateDew | | dew state at sat |
| Real | BubD | | |
| Real | BubH | | bubble properties |
| Real | BubS | | |
| Real | DewD | | |
| Real | DewH | | dew properties |
| Real | DewS | | |
| Real | Hv | | vaporization enthalpy |
| Real | DewMu | | |
| Real | Sigma | | |
| Medium.Temperature | Tsat | | temperature recovered from saturation pressure |
| Medium.BaseProperties | BaseProp | | |
Contents
| Name | Description |
Medium | |