armi.materials.water module¶
- class armi.materials.water.Water[source]¶
Bases:
armi.materials.material.Fluid
This is a good faith implementation of the Revised Supplementary Properties of Ordinary Water Substance (1992) by IAPWS – International Association for the Properties of Water and Steam .
This is an abstract class implemented on the Saturated Water Material Class and the Saturated Steam Material Class, which should be good enough for most uses.
http://www.iapws.org/relguide/supsat.pdf IAPWS-IF97 is now the international standard for calculations in the steam power industry
- name = 'Water'¶
String identifying the material
- thermalScatteringLaws = (<ThermalScatteringLaw - Compound: H2O, Nuclides: frozenset({<NaturalNuclideBase H: Z:1, W:1.007976e+00, Label:H>}),)¶
A tuple of
ThermalScattering
instances with information about thermal scattering.
- references = {'density (saturated steam)': 'IAPWS SR1-86 Revised Supplementary Release on Saturation Properties of Ordinary Water and Steam', 'density (saturated water)': 'IAPWS SR1-86 Revised Supplementary Release on Saturation Properties of Ordinary Water and Steam', 'enthalpy (saturated steam)': 'IAPWS SR1-86 Revised Supplementary Release on Saturation Properties of Ordinary Water and Steam', 'enthalpy (saturated water)': 'IAPWS SR1-86 Revised Supplementary Release on Saturation Properties of Ordinary Water and Steam', 'entropy (saturated steam)': 'IAPWS SR1-86 Revised Supplementary Release on Saturation Properties of Ordinary Water and Steam', 'entropy (saturated water)': 'IAPWS SR1-86 Revised Supplementary Release on Saturation Properties of Ordinary Water and Steam', 'vapor pressure': 'IAPWS SR1-86 Revised Supplementary Release on Saturation Properties of Ordinary Water and Steam'}¶
citation}
- Type
The literature references {property
- TEMPERATURE_CRITICAL_K = 647.096¶
- DENSITY_CRITICAL_KGPERCUBICMETER = 322.0¶
- DENSITY_CRITICAL_GPERCUBICCENTIMETER = 0.322¶
- VAPOR_PRESSURE_CRITICAL_MPA = 22.064¶
- VAPOR_PRESSURE_CRITICAL_PA = 22064000.0¶
- ALPHA_0 = 1000¶
- PHI_0 = 1.5453657571674064¶
- d = {1: -5.65134998e-08, 2: 2690.66631, 3: 127.287297, 4: -135.003439, 5: 0.981825814, 'alpha': -1135.905627715, 'phi': 2319.5246}¶
- theta(Tk: Optional[float] = None, Tc: Optional[float] = None) float [source]¶
returns temperature normalized to the critical temperature
- tau(Tc: Optional[float] = None, Tk: Optional[float] = None) float [source]¶
returns 1 - temperature normalized to the critical temperature
Note
thermophysical correlations are give in Tau rather than Tk or Tc
- vaporPressure(Tk: Optional[float] = None, Tc: Optional[float] = None) float [source]¶
Returns vapor pressure in (Pa)
- Parameters
- Returns
vaporPressure – vapor pressure in Pa
- Return type
Notes
IAPWS-IF97 http://www.iapws.org/relguide/supsat.pdf IAPWS-IF97 is now the international standard for calculations in the steam power industry
- vaporPressurePrime(Tk: Optional[float] = None, Tc: Optional[float] = None, dT: float = 1e-06) float [source]¶
approximation of derivative of vapor pressure wrt temperature
Note
this uses a numerical approximation
- auxiliaryQuantitySpecificEnthalpy(Tk: Optional[float] = None, Tc: Optional[float] = None) float [source]¶
Returns the auxiliary quantity for specific enthalpy
- Parameters
- Returns
alpha – specific quantity for enthalpy in J/kg
- Return type
Notes
IAPWS-IF97 http://www.iapws.org/relguide/supsat.pdf IAPWS-IF97 is now the international standard for calculations in the steam power industry
alpha is used in the relations for enthalpy h = alpha + T/pressure*dp/dT
- auxiliaryQuantitySpecificEntropy(Tk: Optional[float] = None, Tc: Optional[float] = None) float [source]¶
Returns the auxiliary quantity for specific entropy
- Parameters
- Returns
phi – specific quantity for entropy in J/(kgK)
- Return type
Notes
IAPWS-IF97 http://www.iapws.org/relguide/supsat.pdf IAPWS-IF97 is now the international standard for calculations in the steam power industry
alpha is used in the relations for enthalpy s = phi + 1/pressure*dp/dT
- enthalpy(Tk: Optional[float] = None, Tc: Optional[float] = None) float [source]¶
Returns enthalpy of saturated water
- Parameters
- Returns
enthalpy – vapor pressure in J/kg
- Return type
Notes
IAPWS-IF97 http://www.iapws.org/relguide/supsat.pdf IAPWS-IF97 is now the international standard for calculations in the steam power industry
- entropy(Tk: Optional[float] = None, Tc: Optional[float] = None) float [source]¶
Returns entropy of saturated water
- Parameters
- Returns
entropy – entropy in J/(kgK)
- Return type
Notes
IAPWS-IF97 http://www.iapws.org/relguide/supsat.pdf IAPWS-IF97 is now the international standard for calculations in the steam power industry
- class armi.materials.water.SaturatedWater[source]¶
Bases:
armi.materials.water.Water
Saturated Water
This is a good faith implementation of the Revised Supplementary Properties of Ordinary Water Substance (1992) by IAPWS – International Association for the Properties of Water and Steam .
This is the Saturated Liquid Water Material Class. For steam look to the Saturated Steam Material Class.
- name = 'SaturatedWater'¶
String identifying the material
- pseudoDensity(Tk: Optional[float] = None, Tc: Optional[float] = None) float [source]¶
returns density in g/cc
- Parameters
- Returns
density – density in g/cc
- Return type
Note
In ARMI, we define pseudoDensity() and density() as the same for Fluids. IAPWS-IF97 http://www.iapws.org/relguide/supsat.pdf IAPWS-IF97 is now the international standard for calculations in the steam power industry
- class armi.materials.water.SaturatedSteam[source]¶
Bases:
armi.materials.water.Water
Saturated Steam
This is a good faith implementation of the Revised Supplementary Properties of Ordinary Water Substance (1992) by IAPWS – International Association for the Properties of Water and Steam .
This is the Saturated Liquid Water Material Class. For steam look to the Saturated Steam Material Class.
- name = 'SaturatedSteam'¶
String identifying the material
- pseudoDensity(Tk: Optional[float] = None, Tc: Optional[float] = None) float [source]¶
returns density in g/cc
- Parameters
- Returns
density – density in g/cc
- Return type
Notes
In ARMI, we define pseudoDensity() and density() as the same for Fluids. IAPWS-IF97 http://www.iapws.org/relguide/supsat.pdf IAPWS-IF97 is now the international standard for calculations in the steam power industry