calc_internalenergychange¶
- pychemengg.heattransfer.heatcommonmethods.calc_internalenergychange(mass=None, specificheat=None, deltaT=None)[source]¶
To compute change in internal energy due to temperature change.
- Parameters
- massint or float
Mass of object (solid, liquid or gas).
- specificheatint or float
Specific heat of object.
- deltaTint or float
Change in temperature of object.
- Returns
- internal energy change: int or float
Internal energy change due to change in temperature of object.
Notes
The following formula is used:
\[\Delta U = mC_p\Delta T\]where:
m = change in internal energy
\(C_p\) = specific heat
\(\Delta T\) = change in temperature
\(\Delta U\) = change in internal energy
References
[1] G. F. Nellis and S. A. Klein, “Introduction to Engineering Heat Transfer”, 1st Edition. Cambridge University Press, 2021.
[2] Y. A. Cengel and A. J. Ghajar, “Heat And Mass Transfer Fundamentals and Applications”, 6th Edition. New York, McGraw Hill Education, 2020.
[3] T.L. Bergman, A. S. Lavine, F. P. Incropera, D. P. Dewitt, “Fundamentals of Heat and Mass Transfer”, 7th Edition, John Wiley, 2011.
Examples
First import the module heatcommonmethods.
>>> from pychemengg.heattransfer import heatcommonmethods as hcm >>> hcm.calc_internalenergychange(mass=4.686, specificheat=0.395, deltaT=150-100) 92.5485