fluids
Classes for fluids
- class ConstantWater(name='Water', cp=4182.0, mu=0.0004, rho=990.0, k=0.598)[source]
Bases:
Fluid
Class for water with constant properties
- class Fluid(name, isconstant=False, cp=None, mu=None, rho=None, k=None)[source]
Bases:
object
Base class for fluids
- class Water(name='Water', isconstant=True)[source]
Bases:
Fluid
Class for water with variable properties.
References
- [1] Popiel, C. O., and J. Wojtkowiak.
“Simple formulas for thermophysical properties of liquid water for heat transfer calculations (from 0 C to 150 C).” Heat transfer engineering 19.3 (1998): 87-101.
- get_cp(t=50)[source]
Returns the specific heat of water depending on the temperature according to the formula in [1].
- get_k(t=50)[source]
Returns the thermal conductivity of water depending on the temperature according to the formula in [1].