Project 1 - Parsing NASA thermodynamic data
Aim:
To write a function that extracts the co-efficients and to calculates the enthalpy, entropy and specific heats for all the species in the data file
Here R is the universal gas constant, T is the temeprature
Introduction:
Enthalpy
Enthalpy is defined as a change in internal energy and volume at constant pressure. It deals with the heat contained in any system. Thereby, it changes when heat enters or leaves a system. For example, it increases when heat is added and decreases when heat is withdrawn from that system. There are some molecules that take part in this change are called “internal enthalpy” and the molecules that do not are referred to as “external enthalpy”. The enthalpy is represented through the following equation.
E= U+ PV
Where E is enthalpy, U is the internal energy of any system, P is pressure, and V is volume
Entropy
Entropy is the measure of the disorder of the energy of a collection of particles. This idea is derived from Thermodynamics, which explains the heat transfer mechanism in a system. This term comes from Greek and means “a turning” point. It was first coined by Rudolf Clausius, a German physicist. He documented a precise form of the Second law of thermodynamics through entropy.
It states that any spontaneous change in an isolated system for irreversible reaction always leads towards increasing entropy. For example, when we put a block of ice on a stove, these two make an integral part of a single isolated system. Thereby, the ice melts and entropy increases. Since all the spontaneous processes are irreversible, we can say that the entropy of the universe is increasing. Moreover, it can be concluded that more energy will be unavailable for work. Due to this, it is said that the universe is “running down”.
The S.I unit of entropy is Joules per Kelvin. Also, it is expressed as ΔS, and the following is its equation.
ΔSsystem = Qrev / T
Where S denotes the change in entropy, Q denotes the reverse of heat and temperature is represented by T in the Kelvin scale.
Specific heat
In other words of specific heat a solid or liquid is the amount of heat that raises the temperature of a unit mass of the solid through 1° C. We symbolise it as C. In S.I unit, it is the amount of heat that raises the temperature of 1 kg of solid or liquid through 1K.
Its unit in S.I system is always given as J kg-1 K-1 and CGS as cal g-1 C-1. If the amount of heat, ∆Q, required to raise the temperature of mass M through ∆T, then the formula for specific heat i
Specific Heat at Constant Pressure or Volume
- The volume of solid remains constant when heated through a small range of temperature. This is known as specific heat at a constant volume. It is denoted as CV.
- The pressure of solid remains constant when heated through a small range of temperature. This is known as specific heat at constant pressure which can be denoted as CP.
The behavior of gas when heat is supplied, the pressure and volume change in temperature and the amount of heat required to raise the temperature for 1gm of gas through 1°C depends on the way gas is heated. You can use several sets of values of P and V heat the gas.
Therefore, specific heat possesses infinite values. The specific heat of the gas is not constant if you do not supply a constant amount of heat. So, you must have specific heat at a constant volume or pressure. For an ideal gas,
CP – CV = nR
where CP is heat capacity at constant pressure, CV is heat capacity at constant volume, n is amount of substance, and R=8.3144598(48) J mol−1 K and is the molar gas constant.
Programe








