Water
Provides fluid properties for liquid water between 0-100 C.
Example:
from scp.water import Water
if __name__ == "__main__":
water = Water()
temp = 10 # Celsius
print(water.viscosity(temp))
- class scp.water.Water[source]
Bases:
BaseFluid
- conductivity(temp: float) float [source]
Returns the fluid thermal conductivity for this derived fluid.
Thermal conductivity equation from linear least-squares fit to data in CRC Handbook (op.cit.), page E-11
@param temp: Fluid temperature, in degrees Celsius @return: Thermal conductivity, in [W/m-K]
- density(temp: float) float [source]
Returns the fluid density for this derived fluid.
Density eq. for water at 1 atm., from CRC Handbook of Chem. & Phys., 61st Edition (1980-1981), p. F-6.
@param temp: Fluid temperature, in degrees Celsius @return: Density, in [kg/m3]
- property fluid_name: str
Returns the fluid name for this derived fluid. @return: “Water”
- freeze_point(_=None) float [source]
Returns the freezing point temperature of water
@param _: Unused variable @return Freezing point temperature, in Celsius
- specific_heat(temp: float) float [source]
Returns the fluid specific heat.
Specific heat of water at 1 atmosphere, 0 to 100 C. Equation from linear least-squares regression of data from CRC Handbook (op.cit.) page D-174
@param temp: Fluid temperature, in degrees Celsius @return: Specific heat, in [J/kg-K]
- viscosity(temp: float) float [source]
Returns the viscosity of water.
@param temp: Fluid temperature, in degrees Celsius @return: The dynamic viscosity of water in [Pa-s]