Next Article in Journal
Biomechanics of Parkinson’s Disease with Systems Based on Expert Knowledge and Machine Learning: A Scoping Review
Previous Article in Journal
Enhanced Wavelet Scattering Network for Image Inpainting Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Diatomic: An Open-Source Excel Application to Calculate Thermodynamic Properties for Diatomic Molecules

LAQV@REQUIMTE, Departamento de Química e Bioquímica, Faculdade de Ciências da Universidade do Porto, Rua do Campo Alegre, 4169-007 Porto, Portugal
Computation 2024, 12(11), 229; https://doi.org/10.3390/computation12110229
Submission received: 27 August 2024 / Revised: 5 November 2024 / Accepted: 8 November 2024 / Published: 15 November 2024

Abstract

:
In this paper, I present Diatomic, an open-source Excel application that calculates molar thermodynamic properties for diatomic ideal gases. This application is very easy to use and requires only a limited number of molecular constants, which are freely available online. Despite its simplicity, Diatomic provides methodologies and results that are usually unavailable in general quantum chemistry packages. This application uses the general formalism of statistical mechanics, enabling two models to describe the rotational structure and two models to describe the vibrational structure. In this work, Diatomic was used to calculate standard molar thermodynamic properties for a set of fifteen diatomic ideal gases. A special emphasis was placed on the analysis of four properties (standard molar enthalpy of formation, molar heat capacity at constant pressure, average molar thermal enthalpy, and standard molar entropy), which were compared with experimental values. A molecular interpretation for the molar heat capacity at constant pressure, as an interesting pedagogical application of Diatomic, was also explored in this paper.

1. Introduction

Diatomic molecules are important in many areas of modern science, such as atmospheric chemistry [1,2], astrobiology [3], and ultracold physics [4]. Despite their simplicity, diatomic molecules are valuable models for understanding the relationship between structure and thermodynamic properties in more complex systems. For this purpose, the development of high-quality theoretical methods to calculate these properties is of paramount importance. Two main strategies have usually been adopted to improve the accuracy of these methods: (i) improving the description of the electronic structure [5,6,7,8], and (ii) implementing better models to describe the (rotational and vibrational) nuclear motions [9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28].
Obtaining more reliable information about the electronic structure has been achieved by (i) a high-level quantum method [5,6,7], (ii) a robust basis set [5,6,7], (iii) the extrapolation to the complete basis set (CBS) limit [5,6,7], (iv) the inclusion of relativistic and spin–orbit effects [5,6,7,8], and (v) a very good description of the electronic correlation [5,6,7].
The rotational structure is usually described by a classical approach since the temperatures of interest are normally much higher than the characteristic rotational temperatures. However, at low temperatures, it is important to adopt a quantum description of this structure to obtain accurate values [9].
At low and moderate temperatures, the vibrational structure can be reasonably described by the harmonic oscillator model [10]. However, this approach is known to overestimate the vibrational frequencies [10], leading to significant errors at high temperatures. To overcome this limitation, several correction methods have been applied [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28]. Most of them can be classified into two groups: (i) methods that use empirical scaling factors to correct the harmonic frequencies [13,14,15,16,17,18], and (ii) methods that use anharmonic potentials [19,20,21,22,23,24,25,26,27,28].
The thermodynamic properties of a molecular system can be calculated using general quantum chemistry packages [29,30,31,32,33,34]. However, the required computational resources and level of expertise are considerable. The main difficulty in performing these calculations is probably the installation of such types of packages, which constitutes a very hard task for nonspecialized researchers or students.
In this work, I have developed an open-source Excel application to calculate thermodynamic properties for diatomic ideal gases. This application, called Diatomic, is very easy to use and requires only some basic knowledge of theoretical chemistry. In fact, a user of Diatomic only has to input a limited number of molecular constants (namely, the electronic ground state energy and the corresponding spin multiplicity, the atomic masses, the rotational symmetry number, the equilibrium bond length, the harmonic vibrational wave number, and the well depth of the Morse potential) to perform a calculation of this type. This information is freely available from online resources [35]. Additionally, the pressure and a set of fourteen temperatures must also be inputted.
Diatomic provides many features, often not available in general quantum chemistry packages, to perform and interpret this type of calculation. These include (i) two models (classical and quantum) describing the rotational structure, (ii) two models (harmonic and Morse) describing the vibrational structure, (iii) energies and Boltzmann populations for the quantum rotational model, (iv) energies and Boltzmann populations for both vibrational models implemented in the application, (v) molar thermodynamic properties as a function of temperature available in very easy to interpret and process tables, and (vi) availability of these tables organized by different criteria.
A future user of Diatomic should be interested in diatomic ideal gases for pedagogical and/or scientific purposes. I envision three main applications for this tool: (i) educational applications: professors and students can use this application to explore fundamental concepts in quantum chemistry and/or statistical mechanics without requiring special skills in computer science; (ii) research in experimental chemistry: researchers in this field can use Diatomic to easily predict the thermodynamic properties of diatomic ideal gases; and (iii) research in computational chemistry: researchers can explore specific features of Diatomic to rationalize the results of computational calculations.
Most of the aforementioned refinements to the electronic structure can be easily incorporated into Diatomic, as they solely impact the electronic energy. For this purpose, one only needs to search the literature for these corrected values. However, the goal of this work is not to obtain highly accurate values for the molar thermodynamic properties under study. Rather, I aim to demonstrate that users can achieve reliable results for these properties using Diatomic and freely available molecular data online. Additionally, since Diatomic is an open-source collaborative project, anyone can contribute by adding new vibrational potentials to the application.
Diatomic was used here to calculate these properties for fifteen ideal gases as a function of temperature and at a constant pressure. The chemical species studied correspond to all diatomic molecules that can be obtained by combining these five elements: H, N, O, F, and Cl.
These molecules are classified according to their symmetry (homonuclear or heteronuclear) and spin multiplicity (singlet, doublet, or triplet) (see Table 1).

2. Methods

2.1. General Formalism

According to the well-established formalism of statistical mechanics [36,37,38], all the most relevant thermodynamic properties of an ideal gas can be calculated from its partition function. For a molar canonical ensemble, which is equivalent to an isothermal-isobaric ensemble for an ideal gas, and within the Born–Oppenheimer approach, this partition function (Q(NA, V, T)) can be calculated from its molecular components:
Q ( N A , V , T ) = Z N A N A ! = ( Z e l ) N A × ( Z t r a n s l ) N A N A ! × ( Z r o t ) N A × ( Z v i b ) N A
In Equation (1), NA is the Avogadro number and Z is the molecular partition function. In the same Equation, Zel, Ztransl, Zrot, and Zvib are the (electronic, translational, rotational and vibrational) components of the partition function. Within this formalism, the molar thermodynamic properties can be decomposed in a similar way:
A m = A m e l + A m t r a n s l + A m r o t + A m v i b ( m o l a r   Helmholtz   energy )
G m = A m + R T G m = A m e l + A m t r a n s l + A m r o t + A m v i b + R T ( m o l a r   Gibbs   energy )
E m = E e l m + E t r a n s l m + E r o t m + E v i b m ( average   value   of   molar   energy )
H m = H m + R T H m = E e l m + E t r a n s l m + E r o t m + E v i b m + R T ( average   value   of   molar   enthalpy )
S m = S m e l + S m t r a n s l + S m r o t + S m v i b ( molar   entropy )
C v , m = C v , m e l + C v , m t r a n s l + C v , m r o t + C v , m v i b ( molar   heat   capacity   at   constant   volume )
C p , m = C v , m + R C p , m = C v , m e l + C v , m t r a n s l + C v , m r o t + C v , m v i b + R ( molar   heat   capacity   at   constant   pressure )
In some of the preceding Equations (3), (5) and (8) an additional non-specific component (RT or R) must also be included. The components of the molar thermodynamic properties can be calculated as follows:
A m c o m p = R T ln Z c o m p , c o m p = e l ,   r o t and   v i b ;   A m t r a n s l = R T ln Z t r a n s l N A R T
E c o m p m = R T 2 ln Z c o m p T V , c o m p = e l , t r a n s l , r o t   and   v i b
E c o m p m = N A i P i E i c o m p ; c o m p = e l , t r a n s l , r o t   and v i b
Equation (10) should be used for partition functions (Zcomp) calculated analytically and Equation (11) should be used for partition functions calculated numerically. In the last equation, E i c o m p is the energy of the quantum state i and Pi is the corresponding Boltzmann population given by the following formula:
P i = exp β E i c o m p Z c o m p ; with   β = k B   T
in which kb is the Boltzmann constant.
S m c o m p = R ln Z c o m p + R T ln Z c o m p T V ; c o m p = e l , t r a n s l , r o t   and v i b
S m t r a n s l = R ln Z t r a n s l N A + R + R T ln Z t r a n s l T V
C v , m c o m p = E c o m p m T V = N A k B T 2 σ E c o m p 2 ; c o m p = e l , t r a n s l , r o t   and v i b
In Equation (15), σ E c o m p 2 is the variance associated with the energy component (Ecomp) calculated as
σ E c o m p 2 = E c o m p 2 E c o m p 2 ; c o m p = e l , t r a n s l , r o t   and v i b
In Equation (16), E c o m p and E c o m p 2 are, respectively, the average values of the energy component ( E c o m p ) and of its square ( E c o m p 2 ) given by
E c o m p = i P i E i c o m p ; c o m p = e l , t r a n s l , r o t   and v i b
E c o m p 2 m = i P i E i c o m p 2 ; c o m p = e l , t r a n s l , r o t   and v i b

2.2. Classification of the Molar Thermodynamic Properties

The molar thermodynamic properties are classified according to the criteria presented in Table 2.
Some properties of this type depend on the zero-point energy (ZPE), which corresponds to the molar energy at 0 K. This quantity can be calculated as the sum of two components: the zero-point electronic energy (ZPEE) and the zero-point vibrational energy (ZPVE):
Z P E = Z P E E + Z P V E
Z P E E = N A E 0
Z P V E = N A E 0 v i b
In the last two equations, E 0 and E 0 v i b are the energies of the electronic and vibrational ground states, respectively.
The type 1 molar thermodynamic properties correspond to the absolute values of the thermodynamic properties that are dependent on the zero-point energy. A list of these properties is given in Table 3.
These properties are functions of temperature (T) and a limited number of molecular constants, which will be presented in Section 2.10. The molar entropy (Sm) is also dependent on the pressure (P) due to its translational component ( S m t r a n s l ).
The type 2 molar thermodynamic properties correspond to the thermal values of the thermodynamic properties that depend on zero-point energy. A list of these properties is presented in Table 4.
A generic type 2 molar thermodynamic property ( X m ,   t h e r m ) can be calculated according to the following formula:
X m ,   t h e r m = X m X m ,   r e f ; X = A ,   G ,   E   or   H
in which X m is the molar value of the thermodynamic property (X) at a generic temperature (T) and X m ,   r ef is the corresponding molar value at a reference temperature (Tref). In this study, two distinct reference temperatures were used. The original molar thermal values, calculated from the Diatomic application, use the reference temperature of 0 K. Some thermal values, presented in Section 3, use the reference temperature of 298.15 K for consistency with the corresponding experimental values.
The type 3 molar thermodynamic properties are those that are independent of zero-point energy. A list of these properties is presented in Table 5.

2.3. Classical Limit

The general formalism, as presented in Section 2.1, is based on a quantum formulation. In this case, the partition function associated with a component comp is calculated as a summation over the respective quantum levels (i),
Z c o m p = i g i E i c o m p = e l ,   t r a n s l ,   r o t   or   v i b ,
in which gi is the degeneracy of the quantum level i and E i c o m p is the corresponding energy.
However, when the temperature is high enough that the energy difference between two successive levels is much smaller than kBT, the summation (23) can be replaced by an appropriate integral (classical limit). In this case, it is valid the so-called equipartition principle, according to which each classical quadratic energy term contributes with R/2 for the molar heat capacity at constant volume (Cv,m) and RT/2 for the average value of the molar energy (<E>m).
Each energy component is associated with a characteristic temperature (Θcomp), which determines the applicability of the classical limit and the equipartition principle (T >> Θcomp). These characteristic temperatures vary considerably depending on the nature of the component. In general, the electronic temperatures (Θel) are very high, the vibrational temperatures (Θvib) are moderate or high, the rotational temperatures (Θrot) are low, and the translational temperatures (Θtransl) are very low.
This principle is rarely applicable to the electronic component, because the energy differences between two successive electronic levels are usually too large [36,37]. For diatomic molecules, when this principle is fully applied to the nuclear motion components (translational, rotational, and vibrational), these molar thermodynamic properties can be estimated as follows:
  • The translational component, associated with three normal modes, contributes with 3R/2 to Cv,m and with 3RT/2 to <E>m.
  • The rotational component, associated with two normal modes, contributes with R to Cv,m and with RT to <E>m.
  • The vibrational component, associated with one normal mode, contributes with R to Cv,m and with RT to <E>m. It is important to state that the equipartition principle can only be applied to the vibrational component for the harmonic oscillator model (see Section 2.8). This principle does not apply to the Morse oscillator model.
A translational or rotational normal mode contributes with a single value to the referred molar thermodynamic properties (R/2 to Cv,m and RT/2 to <E>m), because it is associated with a single quadratic kinetic energy term in classical mechanics. The vibrational normal mode contributes twice as much to the aforementioned molar thermodynamic properties (R to Cv,m and with RT to <E>m) due to its association with two quadratic energy terms (one kinetic and one potential) in classical mechanics.
For a temperature interval [Tref, T], where the classical limit and the equipartition principle are applicable to the nuclear motion components but not to the electronic component, the following approximate equations are valid:
E m ,   t h e r m 7 2 R T T r e f
H m ,   t h e r m 9 2 R T T r e f
C v , m 7 2 R
C p , m 9 2 R
S m = S m ,   r e f + T r e f T C p , m T d T S m S m ,   r e f + 9 2 R ln T T r e f
In Equation (28), S m ,   r e f is the molar entropy at a reference temperature Tref.

2.4. Theoretical Models

In the Diatomic application, the translational structure is always treated using the classical approach (see Section 2.6), while the electronic structure is handled in a distinctive manner (see Section 2.5). Two models (classical and quantum) have been implemented for the rotational structure (see Section 2.7). For the vibrational structure, two models (harmonic oscillator and Morse oscillator) are also available (see Section 2.8). Additionally, an almost fully classical model (classical rotation and classical vibration; see Section 2.3) is used in this work. These theoretical models are summarized in Table 6.
The quantum rotational (quant) and classical rotational (class) models yield significantly different results only at temperatures around or below the rotational temperature (Θrot) [9,36,37]. In this study, however, the temperatures in question (T ≥ 298.15 K) are considerably higher than the highest rotational temperature (Θrot = 87.44 K for H2). Consequently, it is reasonable to expect that the theoretical model (class or quant) used to describe the rotational structure has a minimal impact on the results.
The harmonic and Morse potentials are very similar for low vibrational energies and bond lengths close to the equilibrium. However, they diverge significantly in opposite situations (high vibrational energies and/or bond lengths far from the equilibrium) [36,37]. From the perspective of statistical mechanics, this means that the values of molar thermodynamic properties calculated using the two associated vibrational models (harm and Morse) should be similar at low temperatures [36,37]. As the temperature increases, these differences are expected to become more pronounced due to the rise in Boltzmann populations associated with the vibrational excited states [36,37]. However, this effect can be mitigated by the increase in vibrational frequency [36,37].
The performance of the (class, class) model should be associated with the applicability of the equipartition principle [36,37]. For molar thermodynamic properties directly associated with this principle (such as Cp,m or <Ho>m, therm), this performance should result from a competition between harmonic and anharmonic factors. From a harmonic perspective, this performance should increase with temperature by the convergence to the classical limit (where the equipartition principle is fully applied). Conversely, from an anharmonic perspective, this performance is expected to decrease with temperature.

2.5. Electronic Structure

For the molecules studied, it was assumed that the energy differences between the electronic ground state and the electronic excited states are very large. Consequently, only the first state is occupied at the temperatures under consideration. Furthermore, in the calculation of the electronic partition function (Zel), it is usually assumed that the energy of the electronic ground state (E0) is the zero of the energy scale,
Z e l = g 0
in which g0 is the spin multiplicity of the electronic ground state.
This implies that some corrections have to be introduced to the general formalism presented in Section 2.1 and Section 2.3:
A m e l = R T ln g 0 + N A E 0
E e l m = N A E 0 = Z P E E
C v , m e l = E e l m T V = N A k B T 2 σ E e l 2 = 0
S m e l = R ln g 0

2.6. Translational Structure

The translational structure is fully treated by the classical approach. Thus, the translational partition function and the translational components of some relevant molar thermodynamic properties can be calculated, respectively, as follows:
Z t r a n s l = V Λ 3
A m t r a n s l = R T ln k B T P Λ 3 R T
E t r a n s l m = 3 2 R T
C v , m t r a n s l = 3 2 R
S m t r a n s l = R ln k B T P Λ 3 + 5 2 R
In Equations (34), (35) and (38), Λ is the thermal de Broglie wavelength given by
Λ = h 2 2 π m k B T 1 / 2 ,
in which m is the molecular mass and h is the Planck constant.

2.7. Rotational Structure

The rotational structure is treated using two alternative approaches (quantum and classical). Within the quantum formalism, the rotational partition function can be calculated as
Z r o t = 1 σ r o t J = 0 g J exp E J r o t k B T ,   with   g J = 2 J + 1 Z r o t = 1 σ r o t J = 0 g J exp B J J + 1 k B T Z r o t = 1 σ r o t J = 0 ( 2 J + 1 ) exp Θ r o t J J + 1 T
In the Diatomic application, a finite number of terms (Jmax = 2000) are used in the summations included in Equation (40). However, this was enough to obtain convergence in the rotational partition for all the calculations performed here.
In this equation, σrot is the rotational symmetry number (σrot = 2 for diatomic homonuclear molecules and σrot = 1 for diatomic heteronuclear molecules), E J r o t is the energy of the rotational quantum level J, g J is the respective degeneracy, B is the rotational constant, and Θ r o t is the rotational temperature. The last two quantities can be calculated using the following equations:
B = 2 2 I ,   with   = h 2 π
Θ r o t = B k B
In Equation (41), I is the moment of inertia given by
I = μ r e q 2 , μ = m 1 × m 2 m ,
where μ is the reduced mass of the diatomic molecule, m1 is the mass of its first atom, m2 is the mass of its second atom, and req is its equilibrium bond length.
Within this formalism, the rotational components of some relevant molar thermodynamic properties can be calculated as
A m r o t = R T ln Z r o t A m r o t = R T ln 1 σ r o t J = 0 J max ( 2 J + 1 ) exp Θ r o t J J + 1 T ;   with   J max = 2000
E rot m , T = N A J = 0 J max P J E J r o t ;   with   P J = ( 2 J + 1 ) exp β E J r o t σ r o t Z r o t
C v , m r o t = N A k B T 2 σ E r o t 2 = N A E r o t 2 E r o t 2 k B T 2
In Equation (46), E r o t and E r o t 2 are the average values of the rotational energy ( E r o t ) and of its square ( E r o t 2 ), respectively, given by
E r o t = J = 0 J max P J E J r o t
E r o t 2 = J = 0 J max P J E J r o t 2
S m r o t = E r o t m A m r o t T
Within the classical formalism, Equations (40)–(49) must be reformulated as
Z r o t = T σ r o t Θ r o t
A m r o t = R T ln Z r o t A m r o t = R T ln T σ r o t Θ r o t
E r o t m = R T
C v , m r o t = R
S m r o t = R ln T σ r o t Θ r o t + 1

2.8. Vibrational Structure

The vibrational structure is treated using two alternative approaches (harmonic oscillator and Morse oscillator). Within the harmonic oscillator formalism, the vibrational partition function can be calculated as
Z v i b = exp β h ν v i b / 2 1 exp - β h ν v i b Z v i b = exp h ν v i b / 2 k B T 1 exp h ν v i b / k B T Z v i b = exp Θ v i b / 2 T 1 exp Θ v i b / T ,
where νvib is the vibrational frequency and Θvib the vibrational temperature, given, respectively, by
ν v i b = 1 2 π K μ 1 / 2
in which K is the force constant of the diatomic molecule,
Θ v i b = h ν v i b k B
Within this formalism, the vibrational components of some relevant molar thermodynamic properties can be calculated as follows:
A m v i b = R T ln Z v i b A m v i b = R T ln exp Θ v i b / 2 T 1 exp Θ v i b / T
E v i b m = R Θ v i b 2 + R Θ v i b exp Θ v i b / T 1 E v i b m = N A 2 h ν v i b + N A h ν v i b exp h ν v i b / k B T 1
C v , m v i b = N A k B T 2 σ E v i b 2 = R exp Θ v i b / T   Θ v i b / T exp Θ v i b / T 1 2
S m v i b = R Θ v i b / T exp Θ v i b / T 1 ln 1 exp Θ v i b / T
Within the Morse oscillator formalism, Equations (55)–(61) must be reformulated as
Z v i b = v = 0 v max exp - β E v v i b
where E v v i b is the vibrational energy of a diatomic molecule according to this formalism given by Equation (63):
E v v i b = v + 1 2 h ν v i b v + 1 2 2 χ e h ν v i b ;   v = 0 ,   1 ,   2 ,   3 ,     ,   v max
A harmonic vibrational frequency is used here.
In Equation (63), v is the vibrational quantum number, vmax + 1 is the number of bound states associated with the Morse potential, and χe is the anharmonicity constant. The last two quantities can be calculated by Equations (64) and (65), respectively:
v max = 1 χ e 2 χ e
χ e = h ν v i b 4 D e
In Equation (65), De is the well depth of the Morse potential.
A m v i b = R T ln Z v i b A m v i b = R T ln v = 0 v max exp - β E v vib
E v i b m = N A v = 0 v max P v E v v i b ;   with   P v = exp β E v v i b Z v i b
C v , m v i b = N A k B T 2 σ E v i b 2 = N A E v ib   2 E v i b 2 k B T 2
In Equation (68), E v i b and E v i b 2 are the average values of the vibrational energy ( E v i b ) and of its square ( E v i b 2 ), respectively, given by
E v i b = v = 0 v max P v E v v i b
E v i b 2 = v = 0 v max P v E v v i b 2
S m v i b = E v i b m A m v i b T

2.9. Standard Molar Enthalpy of Formation

The standard molar enthalpy of formation of a diatomic heteronuclear gas AB (ΔfHo(AB, g)) is defined as the enthalpy variation associated with the following chemical equation under standard conditions:
½ A2(g) + ½ B2(g) ⇌ AB(g)
Δ f H o ( AB ,   g ) = H o ( AB ,   g ) m 1 2 H o ( A 2 ,   g ) m + H o ( B 2 ,   g )
In Equation (73), the standard molar enthalpy of a diatomic gas X (<Ho (X, g)>m; X = AB, A2, or B2) is the average value of the standard molar enthalpy of this chemical species at a pressure 1 bar and a specific temperature (usually 298.15 K).

2.10. Molecular Constants

In the theoretical models considered, the molar thermodynamic properties depend only on a limited number of molecular constants (primary molecular constants). However, in many cases, the formalism previously presented in this section was expressed using other molecular constants (secondary molecular constants) that can be obtained from the primary ones. A list of the molecular constants used in this work is presented in Table 7. The values of these constants used in the calculations are provided in the Tables S3 and S4 in Supplementary Materials.

2.11. Diatomic Application

A general flowchart of the Diatomic application is shown in Figure 1 (a detailed flowchart is provided in Figure S1).
This application is organized into three different blocks of spreadsheets: the block of data, the block of preliminary calculations, and the block of results.
The block of data provides the universal constants, whose values were also adopted by Gaussian 09 and recommended by Mohr et al. [39]. The users are then required to input the primary molecular constants (see Table 7 and Table S3), and the secondary molecular constants (see Table 7 and Table S4) are further calculated in this block. The block of preliminary calculations characterizes the rotational and vibrational structures within the different theoretical models available in Diatomic and calculates the partition functions. In the block of results, the final results are presented/calculated using different criteria (see details in Supplementary Materials).

3. Results

In this study, the Diatomic application was used to calculate the molar thermodynamic properties presented in Table 2, Table 3, Table 4 and Table 5 for the molecules listed in Table 1. The first four models presented in Table 6 (harm, class; Morse, class; harm, quant; and Morse, quant) were employed in these calculations. The molecular constants, calculated at a CCSD(T)/cc-pVQZ quantum level, were taken from the Computational Chemistry Comparison and Benchmark DataBase [35]. These thermodynamic properties were calculated for 14 different temperatures (ranging from 298.15 K to 1573.15 K) at a constant pressure of 1 bar. Thus, these are standard molar thermodynamic properties at different temperatures. These results are available in Supplementary Materials (see Table S1 and the files referred to therein).
For comparison, these properties were also calculated using Gaussian 09 [29] at a CCSD(T)/cc-pVQZ quantum level. For each molecule studied, a geometry optimization with harmonic frequency calculation was performed. The maximum deviations between the molar thermodynamic properties, calculated by Diatomic and Gaussian 09, were 0.002 calorie-based units (see folder “04_G09_vs_Diatomic_Comparisions” in Supplementary Materials).
A special focus was placed on the analysis of four molar thermodynamic properties, which can be directly compared with experimental values. The selected properties were (i) the standard molar enthalpy of formation at 298.15 K (ΔfHo), (ii) the molar heat capacity at constant pressure (Cp,m), (iii) the average value of the standard molar thermal enthalpy (<Ho>m, therm), and (iv) the standard molar entropy (Som). The five theoretical models presented in Table 6 were tested in these calculations. The methodology and the thermodynamic constraints (in terms of temperature and pressure) were consistent with those used in the global calculations.
For most of the molecules under study, the experimental values for ΔfHo were provided by Chase Jr. [40] and are freely available in the NIST Chemistry WebBook database [41]. For the nitrogen monochloride (NCl) molecule, the corresponding experimental value was provided by Shamasundar and Arunan [42].
The experimental values for the other molar thermodynamic properties (Cp,m, <Ho>m, therm and Som) were estimated using fittings to the Shomate equations, performed within the NIST Chemistry WebBook database [41], from original values provided by Chase Jr. [40]. A reference temperature of 298.15 K was chosen for both the experimental and calculated values of <Ho>m, therm. The relative errors for the calculated values were determined using the experimental values as a reference. No experimental values are available for the nitrogen monochloride (NCl) molecule.
The results obtained in this study are presented in Tables S5 through S17, which can be found in the Supplementary Information.
Finally, Diatomic was used to address an interesting pedagogical issue: the molecular interpretation of the molar heat capacity at constant pressure (Cp,m). For this purpose, a representative group of three molecules (H2, O2, and Cl2) was selected. The methodology and the thermodynamic constraints (in terms of temperature and pressure) were consistent with those used in the preceding calculations. Some relevant molecular constants of these molecules are presented in Table 8.
Table 9 presents the values for the vibrational quantity T 2 σ E v i b 2 (where T is the working temperature and σ E v i b 2 is the variance of vibrational energy) and Cp,m as functions of temperature for the three representative molecules (H2, O2, and Cl2), calculated using the (harm, class) theoretical model. Table 10 presents the corresponding values, calculated using the (Morse, class) theoretical model. Additionally, it includes the experimental values for Cp,m. In Figure 2, the calculated (using the (harm, class), (Morse, class), and (class, class) theoretical models) and experimental values for Cp,m are represented as functions of temperature.
These quantities ( T 2 σ E v i b 2 and Cp,m) are directly proportional, as can be demonstrated by combining Equations (8) and (60) for the (harm, class) theoretical model or Equations (8) and (68) for the (Morse, class) theoretical model. This way a general equation representing the referred proportionally can be obtained:
C p , m = N A k B T 2 σ E v i b 2 + 7 2 R
Equation (74) is valid for both theoretical models and all the molecules since the working temperatures are significantly larger than the characteristic rotational temperatures (Θrot) for the molecules under study (the equipartition principle is valid for both translational and rotational degrees of freedom). This condition is fully applied in the present case, as the minimum working temperature (298.15 K) is much larger than the maximum rotational temperature (Θrot(H2) = 87.46 K). In Figure 3, Cp,m is represented as a function of T 2 σ E v i b 2 . The dependence of this vibrational quantity on temperature is represented in Figure 4.
Equation (74) establishes a linear relationship between Cp,m and T 2 σ E v i b 2 . A least squares fitting, performed on these data (see Figure 3), confirmed that the respective slope and intercept are NA/kB = 4.36 × 1046 J−1 K mol−1 and 7 R/2 = 29.10 J K−1 mol−1, respectively. The individual point associated with the (class, class) model, identified by the symbol Computation 12 00229 i010 in Figure 3, corresponds to the following coordinates:
C p , m = 9 2 R C p , m = 37.42 J   K 1 m o l 1
T 2 σ E v i b 2 = 9 2 R 7 2 R / 4.36 × 10 46 T 2 σ E v i b 2 = R 4.36 × 10 46 T 2 σ E v i b 2 = 1.91 × 10 46 J 2 K 2
The variance of vibrational energy ( σ E v i b 2 ) should reflect the Boltzmann populations for both the ground and excited vibrational states. These populations are presented in Table 11 (for the (harm, class) theoretical model) and in Table 12 (for the (Morse, class) theoretical model).

4. Discussion

The molecular interpretation for Cp,m, as presented in this paper, is based on its linear relationship with T 2 σ E v i b 2 (see Equations (74)–(76) and Figure 2). This indicates that both quantities exhibit analogous tendencies with respect to their variations with relevant factors such as the temperature (T) or the vibrational frequency (νvib). This is evident by comparing Figure 2 and Figure 4.
The temperature dependence of the aforementioned quantities (Cp,m and T 2 σ E v i b 2 ) can be understood as a competition between two opposing tendencies: the increase in the variance of the vibrational energy ( σ E v i b 2 ) with T and the decrease in the T−2 term with the same variable. The overall result of this competition is that both quantities increase with T, tending to constant values at high temperatures (see Figure 2 and Figure 4). For the (harm, class) theoretical model, these limits are derived from the equipartition principle (9 R/2 for Cp,m and 1.91 × 10−46 J2 K−2 for T 2 σ E v i b 2 ). For the (Morse, class) theoretical model, these limits exceed those predicted by this principle. These convergences at high temperatures are evident for Cl2 (lowest vibrational temperature: Θvib = 554.6 K), can be anticipated for O2 (intermediate vibrational temperature: Θvib = 2999.6 K), and are not obvious for H2 (highest vibrational temperature: Θvib = 6336.8 K).
The quantities under study (Cp,m and T 2 σ E v i b 2 ) clearly decrease with the νvib (see Figure 2 and Figure 4 and Table 8, Table 9 and Table 10). This tendency originates from the decrease in the variance of the vibrational energy ( σ E v i b 2 ) with νvib (see Figure 4).
The variance of the vibrational energy ( σ E v i b 2 ) is strongly correlated with the distribution of the Boltzmann populations across different vibrational states (see Table 9, Table 10, Table 11 and Table 12). σ E v i b 2 is zero when only the vibrational ground state is occupied (P0 = 1.0000, Pv>0 = 0.0000). Promoting a more balanced distribution of the vibrational populations, by decreasing the ground state population and increasing the populations of the vibrational excited states, will increase σ E v i b 2 . Given the exponential nature of the Boltzmann populations (see Equations (12) and (67)), this can be achieved by increasing the temperature or decreasing the vibrational frequency (reducing the energy difference between two consecutive vibrational states). These tendencies are confirmed in Table 9, Table 10, Table 11 and Table 12.

5. Conclusions

In this paper, I presented Diatomic as an alternative to quantum chemistry packages for calculating the thermodynamic properties of diatomic molecules. Diatomic is an open-source Excel application that requires only a limited number of molecular constants to perform these calculations. In addition, these constants can be easily obtained from freely available online databases.
This new application offers two models (Morse and harmonic) to describe the vibrational structure and two models (classical and quantum) to describe the rotational structure. By combining the rotational and vibrational structures, four theoretical models can be used within Diatomic (harm, class; Morse, class; harm, quant; and Morse, quant). Diatomic presents a number of distinctive features that enable its application for different purposes.
Diatomic was used to calculate four standard molar thermodynamic properties (standard molar enthalpy of formation, molar heat capacity at constant pressure, average value of the standard molar thermal enthalpy, and standard molar entropy) for a set of fifteen diatomic molecules. The results obtained with this application were compared with experimental data.
A molecular interpretation for the molar heat capacity at constant pressure (Cp,m), as an educational application of Diatomic, was also discussed here. This interpretation utilizes certain vibrational quantities provided by this application, such as the variance of the vibrational energy and the vibrational Boltzmann populations, which are typically unavailable in general quantum chemistry packages.

Supplementary Materials

The supplementary information, which can be downloaded at: https://www.mdpi.com/article/10.3390/computation12110229/s1.

Funding

This research was funded by FCT/MCTES (LA/P/0008/2020 DOI 10.54499/LA/P/0008/2020, and UIDB/50006/2020 DOI 10.54499/UIDB/50006/2020) through national Portuguese funds.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All the files used in the calculations, performed with the Diatomic application, are available in the Supplementary Information.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Abramowitz, S.; Chase, M.W. Thermodynamic properties of gas phase species of importance to ozone depletion. Pure Appl. Chem. 1991, 63, 1449–1454. [Google Scholar] [CrossRef]
  2. Grein, F. Ab initio studies on complexes of ozone with diatomic molecules. Struct. Chem. 2023, 34, 317–325. [Google Scholar] [CrossRef]
  3. Ehrenfreund, P.; Charnley, S.B. Organic molecules in the interstellar medium, comets, and meteorites: A voyage from dark clouds to the early Earth. Annu. Rev. Astron. Astrophys. 2000, 38, 427–483. [Google Scholar] [CrossRef]
  4. Ladjimi, H.; Tomza, M. Diatomic molecules of alkali-metal and alkaline-earth-metal atoms: Interaction potentials, dipole moments, and polarizabilities. Phys. Rev. A 2024, 109, 052814. [Google Scholar] [CrossRef]
  5. Harding, M.E.; Vázquez, J.; Ruscic, B.; Wilson, A.K.; Gauss, J.; Stanton, J.F. High-accuracy extrapolated ab initio thermochemistry. III. Additional improvements and overview. J. Chem. Phys. 2008, 128, 114111. [Google Scholar] [CrossRef]
  6. Thorpe, J.H.; Kilburn, J.L.; Feller, D.; Changala, P.B.; Bross, D.H.; Ruscic, B.; Stanton, J.F. Elaborated thermochemical treatment of HF, CO, N2, and H2O: Insight into HEAT and its extensions. J. Chem. Phys. 2021, 155, 184109. [Google Scholar] [CrossRef]
  7. Chan, B. DAPD Set of Pd-Containing Diatomic Molecules: Accurate Molecular Properties and the Great Lengths to Obtain Them. J. Chem. Theor. Comput. 2023, 19, 9260–9268. [Google Scholar] [CrossRef]
  8. Permatahati, L.K.; Cari, C.; Suparmi, A.; Harjana, H. Topological Effects on Relativistic Energy Spectra of Diatomic Molecules Under the Magnetic Field with Kratzer Potential and Thermodynamic-Optical Properties. Int. J. Theor. Phys. 2023, 62, 246. [Google Scholar] [CrossRef]
  9. Djefoulna, V.H.H.; Fifen, J.J.; Malloum, A.; Jaidane, N.-E. Rotational thermodynamic parameters for symmetric-top, linear-top and spherical-top molecules: Classical versus quantum approach and New analytical partition functions. Theor. Chem. Acc. 2020, 139, 163. [Google Scholar] [CrossRef]
  10. Hehre, W.J.; Radom, L.; Schleyer, P.v.R.; Pople, J.A. Ab Initio Molecular Orbital Theory; John Wiley: New York, NY, USA, 1986. [Google Scholar]
  11. Katzer, G.; Sax, A.F. Beyond the Harmonic Approximation: Impact of Anharmonic Molecular Vibrations on the Thermochemistry of Silicon Hydrides. J. Phys. Chem. A 2002, 106, 7204–7215. [Google Scholar] [CrossRef]
  12. Reinisch, G.; Leyssale, J.-M.; Vignoles, G.L. Hindered rotor models with variable kinetic functions for accurate. J. Chem. Phys. 2010, 133, 154112. [Google Scholar] [CrossRef] [PubMed]
  13. Irikura, K.K.; Johnson, R.D.; Kacker, R.N. Uncertainties in scaling factors for ab initio vibrational frequencies. J. Phys. Chem. A 2005, 109, 8430–8437. [Google Scholar] [CrossRef] [PubMed]
  14. Teixeira, F.; Melo, A.; Cordeiro, M.N.D.S. Calibration sets and the accuracy of vibrational scaling. J. Chem. Phys. 2010, 133, 114109. [Google Scholar] [CrossRef] [PubMed]
  15. Merrick, J.P.; Moran, D.; Radom, L. An Evaluation of Harmonic Vibrational Frequency Scale Factors. J. Phys. Chem. A 2007, 111, 11683–11700. [Google Scholar] [CrossRef]
  16. Alecu, I.M.; Zheng, J.; Zhao, Y.; Truhlar, D.G. Computational Thermochemistry: Scale Factor Databases and Scale Factors for Vibrational Frequencies Obtained from Electronic Model Chemistries. J. Chem. Theory Comput. 2010, 6, 2872–2887. [Google Scholar] [CrossRef]
  17. Laury, M.L.; Boesch, S.E.; Haken, I.; Sinha, P.; Wheeler, R.A.; Wilson, A.K. Harmonic Vibrational Frequencies: Scale Factors for Pure, Hybrid, Hybrid Meta, and Double-Hybrid Functionals in Conjunction with Correlation Consistent Basis Sets. J. Comput. Chem. 2011, 32, 2339–2347. [Google Scholar] [CrossRef]
  18. Chan, B.; Radom, L. Frequency Scale Factors for Some Double-Hybrid Density Functional Theory Procedures: Accurate Thermochemical Components for High-Level Composite Protocols. J. Chem. Theory Comput. 2016, 12, 3774–3780. [Google Scholar] [CrossRef]
  19. Barone, V. Anharmonic vibrational properties by a fully automated second-order. J. Chem. Phys. 2005, 122, 014108. [Google Scholar] [CrossRef]
  20. Barone, V. Vibrational zero-point energies and thermodynamic functions beyond the harmonic approximation. J. Chem. Phys. 2004, 120, 3059–3065. [Google Scholar] [CrossRef]
  21. Habibinejad, M.; Ghanbari, A. Enthalpy, Gibbs free energy and specific heat in constant pressure for diatomic molecules using improved deformed exponential-type potential (IDEP). Eur. Phys. J. Plus 2021, 136, 400. [Google Scholar] [CrossRef]
  22. Reggab, K. Energy spectrum of selected diatomic molecules (H2, CO, I2, NO) by the resolution of Schrodinger equation for combined potentials via NUFA method. J. Mol. Model. 2024, 30, 53. [Google Scholar] [CrossRef] [PubMed]
  23. Ayaash, A.N.; Araak, M.A.; Ismaeel, F.R. Potential energy curves and dissociation energies for some diatomic molecules by using two different functions. J. Adv. Res. Appl. Sci. 2016, 3, 43–46. [Google Scholar] [CrossRef]
  24. Al-Othman, A.B.; Sandouqa, A.S. Comparison study of bound states for diatomic molecules using Kratzer, Morse, and modified Morse potentials. Phys. Scr. 2022, 97, 035401. [Google Scholar] [CrossRef]
  25. Amila, I.; Fedoul, A.; Idrissi, M.J.; Chatwiti, A.; Sayouri, S. An innovative treatment of anharmonic and Morse potentials to determine the spectroscopic constants of diatomic molecules. Phys. Scr. 2024, 99, 075413. [Google Scholar] [CrossRef]
  26. Desai, A.M.; Mesquita, N.; Fernandes, V. A new modified Morse potential energy function for diatomic molecules. Phys. Scr. 2020, 95, 085401. [Google Scholar] [CrossRef]
  27. Pingak, R.K.; Johannes, A.Z.; Ngara, Z.S.; Bukit, M.; Nitti, F.; Tambaru, D.; Ndii, M.Z. Accuracy of Morse and Morse-like oscillators for diatomic molecular interaction: A comparative study. Results Chem. 2021, 3, 100204. [Google Scholar] [CrossRef]
  28. Denisov, G.S.; Denisov, I.G. More about properties of Morse oscillator. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2021, 262, 120111. [Google Scholar] [CrossRef]
  29. Frisch, M.J.; Trucks, G.W.; Schlegel, H.B.; Scuseria, G.E.; Robb, M.A.; Cheeseman, J.R.; Scalmani, G.; Barone, V.; Petersson, G.A.; Nakatsuji, H.; et al. Gaussian 09, Revision A.02; Gaussian, Inc.: Wallingford, CT, USA, 2016. [Google Scholar]
  30. Neese, F.; Wennmohs, F.; Becker, U.; Riplinger, C. The ORCA quantum chemistry program package. J. Chem. Phys. 2020, 152, 224108. [Google Scholar] [CrossRef]
  31. Schmidt, M.W.; Baldridge, K.K.; Boatz, J.A.; Elbert, S.T.; Gordon, M.S.; Jensen, J.H.; Koseki, S.; Matsunaga, N.; Nguyen, K.A.; Su, S.J.; et al. General Atomic and Molecular Electronic Structure System. J. Comput. Chem. 1993, 14, 1347–1363. [Google Scholar] [CrossRef]
  32. Dunaev, A.M.; Kudin, L.S. Statthermo®—New software for calculation of thermodynamic functions. Izv. Vyssh. Uchebn. Zaved. Khim. Khim. Tekhnol. 2017, 60, 40–46. [Google Scholar] [CrossRef]
  33. Vishnevskiy, Y.V.; Zhabanov, Y.A. New implementation of the first-order perturbation theory for calculation of interatomic vibrational amplitudes and corrections in gas electron diffraction. J. Phys. Conf. Ser. 2015, 633, 012076. [Google Scholar] [CrossRef]
  34. Ignatov, S.K. Moltran v.2.5—Program for Molecular Visualization and Thermodynamic Calculations. University of Nizhny Novgorod, Nizhny Novgorod, Russia. 2004. Available online: http://www.qchem.unn.ru/moltran/ (accessed on 10 November 2024).
  35. NIST Computational Chemistry Comparison and Benchmark Database. NIST Standard Reference Database Number 101; Release 22 May 2022; Johnson, R.D., III, Ed.; National Institute of Standards and Technology: Gaithersburg, MD, USA. Available online: http://cccbdb.nist.gov (accessed on 10 November 2024).
  36. McQuarrie, D.A. Statistical Mechanics; Harper & Row: New York, NY, USA, 1976. [Google Scholar]
  37. McQuarrie, D.A.; Simon, J.D. Molecular Thermodynamics; University Science Books: Sausalito, CA, USA, 1999. [Google Scholar]
  38. Ochterski, J.W. Thermochemistry in Gaussian. Available online: https://gaussian.com/wp-content/uploads/dl/thermo.pdf (accessed on 10 November 2024).
  39. Mohr, P.J.; Taylor, B.N.; Newell, D.B. CODATA Recommended Values of the Fundamental Physical Constants: 2006. Rev. Mod. Phys. 2008, 80, 633–730. [Google Scholar] [CrossRef]
  40. Chase, M.W., Jr. NIST-JANAF Thermochemical Tables, Fourth Edition. J. Phys. Chem. Ref. Data 1998, 9, 1–1951. [Google Scholar]
  41. NIST Chemistry WebBook. NIST Standard Reference Database Number 69; Linstrom, P.J., Mallard, W.G., Eds.; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2023. [Google Scholar] [CrossRef]
  42. Shamasundar, K.R.; Arunan, E. Chlorofluoroamines: Ab Initio and DFT Studies on Their Structure, Enthalpies of Formation, and Unimolecular Reaction Pathways. J. Phys. Chem. A 2001, 105, 8533–8540. [Google Scholar] [CrossRef]
Figure 1. General flowchart of the Diatomic application.
Figure 1. General flowchart of the Diatomic application.
Computation 12 00229 g001
Figure 2. Values for the molar heat capacity at constant pressure (Cp,m) as functions of temperature for Computation 12 00229 i001–H2 (calculated using the (harm, class) model), Computation 12 00229 i002–H2 (calculated using the (Morse, class) model), Computation 12 00229 i003–H2 (experimental), Computation 12 00229 i004–O2 (calculated using the (harm, class) model), Computation 12 00229 i005–O2 (calculated using the (Morse, class) model), Computation 12 00229 i006–O2 (experimental), Computation 12 00229 i007–Cl2 (calculated using the (harm, class) model), Computation 12 00229 i008–Cl2 (calculated using the (Morse, class) model), Computation 12 00229 i009–Cl2 (experimental), and all the molecules (calculated using the (class, class) model).
Figure 2. Values for the molar heat capacity at constant pressure (Cp,m) as functions of temperature for Computation 12 00229 i001–H2 (calculated using the (harm, class) model), Computation 12 00229 i002–H2 (calculated using the (Morse, class) model), Computation 12 00229 i003–H2 (experimental), Computation 12 00229 i004–O2 (calculated using the (harm, class) model), Computation 12 00229 i005–O2 (calculated using the (Morse, class) model), Computation 12 00229 i006–O2 (experimental), Computation 12 00229 i007–Cl2 (calculated using the (harm, class) model), Computation 12 00229 i008–Cl2 (calculated using the (Morse, class) model), Computation 12 00229 i009–Cl2 (experimental), and all the molecules (calculated using the (class, class) model).
Computation 12 00229 g002
Figure 3. Molar heat capacity at constant pressure (Cp,m) as a function of the vibrational quantity T 2 σ E v i b 2 for Computation 12 00229 i001–H2 (calculated using the (harm, class) model), Computation 12 00229 i002–H2 (calculated using the (Morse, class) model), Computation 12 00229 i004–O2 (calculated using the (harm, class) model), Computation 12 00229 i005–O2 (calculated using the (Morse, class) model), Computation 12 00229 i007–Cl2 (calculated using the (harm, class) model), Computation 12 00229 i008–Cl2 (calculated using the (Morse, class) model), and Computation 12 00229 i010–all molecules (calculated using the (class, class) model).
Figure 3. Molar heat capacity at constant pressure (Cp,m) as a function of the vibrational quantity T 2 σ E v i b 2 for Computation 12 00229 i001–H2 (calculated using the (harm, class) model), Computation 12 00229 i002–H2 (calculated using the (Morse, class) model), Computation 12 00229 i004–O2 (calculated using the (harm, class) model), Computation 12 00229 i005–O2 (calculated using the (Morse, class) model), Computation 12 00229 i007–Cl2 (calculated using the (harm, class) model), Computation 12 00229 i008–Cl2 (calculated using the (Morse, class) model), and Computation 12 00229 i010–all molecules (calculated using the (class, class) model).
Computation 12 00229 g003
Figure 4. The vibrational quantity T 2 σ E v i b 2 as a function of temperature for Computation 12 00229 i001–H2 (calculated using the (harm, class) model), Computation 12 00229 i002–H2 (calculated using the (Morse, class) model), Computation 12 00229 i004–O2 (calculated using the (harm, class) model), Computation 12 00229 i005–O2 (calculated using the (Morse, class) model), Computation 12 00229 i007–Cl2 (calculated using the (harm, class) model), Computation 12 00229 i008–Cl2 (calculated using the (Morse, class) model), and all the molecules (calculated using the (class, class) model).
Figure 4. The vibrational quantity T 2 σ E v i b 2 as a function of temperature for Computation 12 00229 i001–H2 (calculated using the (harm, class) model), Computation 12 00229 i002–H2 (calculated using the (Morse, class) model), Computation 12 00229 i004–O2 (calculated using the (harm, class) model), Computation 12 00229 i005–O2 (calculated using the (Morse, class) model), Computation 12 00229 i007–Cl2 (calculated using the (harm, class) model), Computation 12 00229 i008–Cl2 (calculated using the (Morse, class) model), and all the molecules (calculated using the (class, class) model).
Computation 12 00229 g004
Table 1. Classification of the diatomic molecules under study.
Table 1. Classification of the diatomic molecules under study.
TypeNumber of MoleculesMolecules
Singlet homonuclear4H2, N2, F2, Cl2
Triplet homonuclear1O2
Singlet heteronuclear3HF, HCl, ClF
Doublet heteronuclear4OH, NO, OF, ClO
Triplet heteronuclear3NH, NF, NCl
Table 2. Classification of the molar thermodynamic properties under study.
Table 2. Classification of the molar thermodynamic properties under study.
TypeCharacterization
1Absolute values of the molar thermodynamic properties, which depend on zero-point energy
2Thermal values of the molar thermodynamic properties, which depend on zero-point energy
3Molar thermodynamic properties, which do not depend on zero-point energy
Table 3. List of the type 1 molar thermodynamic properties and respective components.
Table 3. List of the type 1 molar thermodynamic properties and respective components.
Molar Thermodynamic PropertySymbolComponentsSymbol
Molar Helmholtz energyAmElectronicAelm
TranslationalAtranslm
RotationalArotm
VibrationalAvibm
Molar Gibbs energyGmElectronicAelm
TranslationalAtranslm
RotationalArotm
VibrationalAvibm
NonspecificRT
Average value of molar energy<E>mElectronic<Eel>m
Translational<Etransl>m
Rotational<Erot>m
Vibrational<Evib>m
Average value of molar enthalpy<H>mElectronic<Eel>m
Translational<Etransl>m
Rotational<Erot>m
Vibrational<Evib>m
NonspecificRT
Table 4. List of the type 2 molar thermodynamic properties and respective components.
Table 4. List of the type 2 molar thermodynamic properties and respective components.
Molar Thermodynamic PropertySymbolComponentsSymbol
Thermal molar Helmholtz energyAm, thermTranslationalAtranslm
RotationalArotm
VibrationalAvibm, therm
ElectronicAelm
Thermal molar Gibbs energyGm, thermTranslationalAtranslm
RotationalArotm
VibrationalAvibm, therm
ElectronicAelm
NonspecificRT
Average value of thermal molar energy<E>m, thermTranslational<Etransl>m
Rotational<Erot>m
Vibrational<Evib>m, therm
Electronic<Eel>m
Average value of thermal molar enthalpy<H>m, thermTranslational<Etransl>m
Rotational<Erot>m
Vibrational<Evib>m, therm
Electronic<Eel>m
NonspecificRT
Table 5. List of the type 3 molar thermodynamic properties and respective components.
Table 5. List of the type 3 molar thermodynamic properties and respective components.
Molar Thermodynamic PropertySymbolComponentsSymbol
Molar entropySmTranslationalStranslm
RotationalSrotm
VibrationalSvibm
ElectronicSelm
Molar heat capacity at constant volumeCv,mTranslationalCtranslv,m
RotationalCrotv,m
VibrationalCvibv,m
ElectronicCelv,m
Molar heat capacity at constant pressureCp,mTranslationalCtranslv,m
RotationalCrotv,m
VibrationalCvibv,m
ElectronicCelv,m
NonspecificR
Table 6. Theoretical models used in this work.
Table 6. Theoretical models used in this work.
Theoretical ModelDescription
harm, classVibrational structure: Harmonic oscillator; Rotational structure: Classical approach.
Morse, classVibrational structure: Morse oscillator; Rotational structure: Classical approach.
harm, quantVibrational structure: Harmonic oscillator; Rotational structure: Quantum approach.
Morse, quantVibrational structure: Morse oscillator; Rotational structure: Quantum approach.
class, classVibrational structure: Classical approach; Rotational structure: Classical approach.
Table 7. Classification of the molecular constants used in this work.
Table 7. Classification of the molecular constants used in this work.
Molecular ConstantSymbolType
Energy of the electronic ground stateE0Primary
Well depth of Morse potentialDePrimary
Spin multiplicity of the electronic ground stateg0Primary
Rotational symmetry numberσrotPrimary
Mass of atom 1m1Primary
Mass of atom 2m2Primary
Equilibrium bond lengthreqPrimary
Vibrational frequencyνvibPrimary
Molecular massmSecondary
Moment of inertiaISecondary
Rotational temperatureΘrotSecondary
Rotational constantBSecondary
Reduced massμSecondary
Vibrational force constantΚSecondary
Vibrational wavenumber ν ¯ v i b Secondary
Vibrational tenperatureΘvibSecondary
Dissociation energy at 0 KD0Secondary
Anharmonicity constantχeSecondary
Number of bound states for Morse oscillatorvmax + 1Secondary
Table 8. Relevant molecular constants * for three representative molecules (H2, O2, and Cl2).
Table 8. Relevant molecular constants * for three representative molecules (H2, O2, and Cl2).
Moleculeμ/uK/N m−1 ν ¯ v i b /cm−1Θvib/KΘrot/K
H20.50392575.914404.36336.887.46
O27.99751203.71598.32299.62.08
Cl217.4844316.74554.50797.800.35
* Calculated at a CCSD(T)/cc-pVQZ quantum level and obtained from the Computational Chemistry Comparison and Benchmark DataBase [35].
Table 9. The vibrational quantity T 2 σ E v i b 2 and the molar heat capacity at constant pressure (Cp,m) as functions of temperature, for three representative molecules (H2, O2, and Cl2), using the (harm, class) theoretical model.
Table 9. The vibrational quantity T 2 σ E v i b 2 and the molar heat capacity at constant pressure (Cp,m) as functions of temperature, for three representative molecules (H2, O2, and Cl2), using the (harm, class) theoretical model.
MoleculeT/K1047 T−2σ2Evib/J2 K−2Cp, m/J K−1 mol−1
H2298.150.0029.10
373.150.0029.10
473.150.0129.10
573.150.0429.12
673.150.1429.16
773.150.3529.25
873.150.7129.41
973.151.2029.63
1073.151.8229.90
1173.152.5330.20
1273.153.3030.54
1373.154.1030.89
1473.154.9131.24
1573.155.7131.59
O2298.150.5129.32
373.151.5329.77
473.153.5430.65
573.155.7631.61
673.157.8132.51
773.159.5733.27
873.1511.0233.91
973.1512.2134.43
1073.1513.1834.85
1173.1513.9735.20
1273.1514.6335.48
1373.1515.1735.72
1473.1515.6235.91
1573.1516.0036.08
Cl2298.1510.8433.83
373.1513.2034.86
473.1515.1235.70
573.1516.2636.19
673.1516.9836.51
773.1517.4636.72
873.1517.7936.86
973.1518.0336.96
1073.1518.2137.04
1173.1518.3437.10
1273.1518.4537.15
1373.1518.5337.19
1473.1518.6037.21
1573.1518.6637.24
Table 10. The vibrational quantity T 2 σ E v i b 2 and the molar heat capacity at constant pressure (Cp,m) as functions of temperature for three representative molecules (H2, O2, and Cl2), using the (Morse, class) theoretical model. The experimental values for Cp,m are also included here.
Table 10. The vibrational quantity T 2 σ E v i b 2 and the molar heat capacity at constant pressure (Cp,m) as functions of temperature for three representative molecules (H2, O2, and Cl2), using the (Morse, class) theoretical model. The experimental values for Cp,m are also included here.
MoleculeT/K1047 T−2σ2Evib/J2 K−2Cp, m/J K−1 mol−1
(Morse, Class)Experimental
H2298.150.0029.1028.84
373.150.0029.1029.14
473.150.0129.1129.25
573.150.0629.1329.30
673.150.2129.1929.40
773.150.5029.3229.57
873.150.9629.5229.81
973.151.5629.7830.11
1073.152.2930.1030.47
1173.153.1030.4530.88
1273.153.9630.8331.31
1373.154.8431.2131.75
1473.155.7231.6032.18
1573.156.5831.9732.61
O2298.150.5729.3529.38
373.151.6629.8329.88
473.153.7630.7430.80
573.156.0431.7331.84
673.158.1232.6432.77
773.159.9133.4233.55
873.1511.3934.0734.20
973.1512.6134.6034.74
1073.1513.6035.0335.18
1173.1514.4335.3935.57
1273.1515.1135.6935.91
1373.1515.6935.9436.21
1473.1516.1736.1636.48
1573.1516.5936.3436.73
Cl2298.1511.1033.9433.95
373.1513.5034.9935.02
473.1515.4935.8635.89
573.1516.7036.3836.44
673.1517.4936.7336.80
773.1518.0536.9737.05
873.1518.4737.1637.24
973.1518.8037.3037.40
1073.1519.0737.4237.47
1173.1519.3037.5237.63
1273.1519.5137.6137.75
1373.1519.7037.6937.85
1473.1519.8837.7737.93
1573.1520.0537.8438.02
Table 11. Boltzmann vibrational populations as a function of temperature for three representative molecules (H2, O2, and Cl2), using the (harm, class) theoretical model.
Table 11. Boltzmann vibrational populations as a function of temperature for three representative molecules (H2, O2, and Cl2), using the (harm, class) theoretical model.
MoleculeT/K298.15373.15473.15573.15673.15773.15873.15973.151073.151173.151273.151373.151473.151573.15
H2P01.00001.00001.00001.00000.99990.99970.99930.99850.99730.99550.99310.99010.98650.9822
P10.00000.00000.00000.00000.00010.00030.00070.00150.00270.00450.00680.00980.01340.0175
P20.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00010.00020.0003
P30.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
Pv>30.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
O2P00.99960.99790.99230.98190.96720.94890.92820.90590.88270.85920.83570.81260.79010.7682
P10.00040.00210.00770.01780.03180.04850.06670.08530.10360.12100.13730.15230.16590.1781
P20.00000.00000.00010.00030.00100.00250.00480.00800.01210.01700.02260.02850.03480.0413
P30.00000.00000.00000.00000.00000.00010.00030.00080.00140.00240.00370.00530.00730.0096
Pv>30.00000.00000.00000.00000.00000.00000.00000.00010.00020.00040.00070.00120.00190.0029
Cl2P00.93120.88210.81480.75140.69430.64370.59900.55950.52450.49340.46560.44070.41820.3978
P10.06410.10400.15090.18680.21220.22940.24020.24650.24940.25000.24880.24650.24330.2396
P20.00440.01230.02800.04640.06490.08170.09630.10860.11860.12660.13300.13790.14160.1443
P30.00030.00140.00520.01150.01980.02910.03860.04780.05640.06410.07110.07710.08240.0869
Pv>30.00000.00020.00120.00380.00870.01610.02590.03770.05110.06590.08150.09790.11460.1315
Table 12. Boltzmann vibrational populations as a function of temperature for three representative molecules (H2, O2, and Cl2), using the (Morse, class) theoretical model.
Table 12. Boltzmann vibrational populations as a function of temperature for three representative molecules (H2, O2, and Cl2), using the (Morse, class) theoretical model.
MoleculeT/K298.15373.15473.15573.15673.15773.15873.15973.151073.151173.151273.151373.151473.151573.15
H2P01.00001.00001.00001.00000.99990.99960.99890.99780.99620.99380.99080.98700.98250.9774
P10.00000.00000.00000.00000.00010.00040.00110.00220.00380.00610.00910.01280.01710.0220
P20.00000.00000.00000.00000.00000.00000.00000.00000.00000.00010.00010.00020.00040.0006
P30.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
Pv>30.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.00000.0000
O2P00.99950.99760.99150.98040.96480.94570.92410.90090.87690.85270.82860.80480.78170.7592
P10.00050.00240.00840.01920.03390.05120.06990.08880.10730.12480.14100.15580.16920.1811
P20.00000.00000.00010.00040.00130.00290.00560.00920.01370.01900.02490.03120.03770.0444
P30.00000.00000.00000.00000.00010.00020.00050.00100.00180.00300.00450.00640.00870.0112
Pv>30.00000.00000.00000.00000.00000.00000.00000.00010.00030.00060.00110.00180.00270.0040
Cl2P00.92830.87800.80920.74470.68670.63530.59000.54990.51450.48300.45490.42960.40680.3861
P10.06640.10670.15350.18880.21350.22970.23970.24510.24720.24710.24520.24230.23850.2342
P20.00490.01340.02980.04880.06750.08430.09860.11050.12010.12760.13340.13780.14090.1431
P30.00040.00170.00590.01290.02170.03140.04110.05040.05890.06650.07320.07900.08390.0881
Pv>30.00000.00030.00150.00480.01070.01930.03060.04400.05930.07580.09330.11140.12990.1485
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Melo, A. Diatomic: An Open-Source Excel Application to Calculate Thermodynamic Properties for Diatomic Molecules. Computation 2024, 12, 229. https://doi.org/10.3390/computation12110229

AMA Style

Melo A. Diatomic: An Open-Source Excel Application to Calculate Thermodynamic Properties for Diatomic Molecules. Computation. 2024; 12(11):229. https://doi.org/10.3390/computation12110229

Chicago/Turabian Style

Melo, André. 2024. "Diatomic: An Open-Source Excel Application to Calculate Thermodynamic Properties for Diatomic Molecules" Computation 12, no. 11: 229. https://doi.org/10.3390/computation12110229

APA Style

Melo, A. (2024). Diatomic: An Open-Source Excel Application to Calculate Thermodynamic Properties for Diatomic Molecules. Computation, 12(11), 229. https://doi.org/10.3390/computation12110229

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop