Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
22 #ifndef ZEPHYR_INCLUDE_ZSL_THERMO_H_
23 #define ZEPHYR_INCLUDE_ZSL_THERMO_H_
int zsl_phy_thermo_heat_fusion(zsl_real_t m, zsl_real_t lh, zsl_real_t *q)
Calculates the necessary heat to melt a material based on its latent heat (lh) and mass (m).
int zsl_phy_thermo_expan(zsl_real_t l0, zsl_real_t a, zsl_real_t t, zsl_real_t *l)
Calculates the final length of an object under heat expansion based on its initial length,...
int zsl_phy_thermo_effic_heat_engine(zsl_real_t qc, zsl_real_t qh, zsl_real_t *e)
Calculates the efficiency of a heat engine based on the energy of the cold (qc) and the hot (qh) cham...
int zsl_phy_thermo_carnot_engine(zsl_real_t tc, zsl_real_t qc, zsl_real_t th, zsl_real_t *qh)
Calculates the energy of the hot chamber of a Carnot engine when the energy of the cold chamber and t...
int zsl_phy_thermo_heat(zsl_real_t m, zsl_real_t sh, zsl_real_t t, zsl_real_t *q)
Calculates the amount of heat required to increase the temperature of a material.
int zsl_phy_thermo_cels_kel(zsl_real_t t1, zsl_real_t *t2, bool ktc)
If 'ktc' is set to true, this function transforms the kelvin input temperature into celcius....
API header file for zscilib.
int zsl_phy_thermo_mean_free_path(zsl_real_t nv, zsl_real_t d, zsl_real_t *lambda)
Calculates the average distance between the collisions of molecules in a gas based on the number of p...
int zsl_phy_thermo_fahren_cels(zsl_real_t t1, zsl_real_t *t2, bool ctf)
If 'ctf' is set to true, this function transforms the celcius input temperature into fahrenheit....