Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Calculate the constants associated with an equation of state
ResourceFunction["EquationOfStateConstants"]["name","eos"] gives the values of the constants associated with the equation of state "eos" for the chemical "name". | |
ResourceFunction["EquationOfStateConstants"][entity,"eos"] gives the values of the constants for the given entity. | |
ResourceFunction["EquationOfStateConstants"][assoc,"eos"] uses the association assoc to look up properties needed to compute the constants. |
"Berthelot" | Berthelot equation ![]() |
"Dieterici" | Dieterici equation ![]() |
"CarnahanStarling" | Carnahan-Starling equation ![]() |
"RedlichKwong" | Redlich-Kwong equation ![]() |
"VanDerWaals" | van der Waals equation ![]() |
"CriticalPressure" | critical pressure |
"CriticalTemperature" | critical temperature |
Get the van der Waals constants for argon:
In[1]:= | ![]() |
Out[1]= | ![]() |
Compare with the result of ChemicalData:
In[2]:= | ![]() |
Out[2]= | ![]() |
Use the van der Waals constants to compute the pressure of argon, given a molar volume of 1 L/mol at a temperature of 1800 °C:
In[3]:= | ![]() |
Out[3]= | ![]() |
Compare with the result of using the ideal gas equation:
In[4]:= | ![]() |
Out[4]= | ![]() |
Compare with the result of using ThermodynamicData:
In[5]:= | ![]() |
Out[5]= | ![]() |
The Redlich–Kwong equation of state:
In[6]:= | ![]() |
Out[6]= | ![]() |
Use the Redlich–Kwong equation to compute the molar volume of ethane at standard temperature and pressure:
In[7]:= | ![]() |
Out[7]= | ![]() |
Compare with the result of using the van der Waals equation:
In[8]:= | ![]() |
Out[8]= | ![]() |
Compute the constants for the Dieterici equation for Freon C-318 by supplying explicit values for the critical temperature and pressure:
In[9]:= | ![]() |
Out[9]= | ![]() |
Use the constants to compute the pressure at -10 °C of C-318 with a molar volume of 500 mL/mol:
In[10]:= | ![]() |
Out[10]= | ![]() |
Compute the Redlich–Kwong constants for a gas mixture that is 70% nitrogen and 30% oxygen by weight, using mixing rules for the constants:
In[11]:= | ![]() |
Out[14]= | ![]() |
Compute the density of the mixture at standard temperature and pressure:
In[15]:= | ![]() |
Out[15]= | ![]() |
Compute the mass of 10 L of the mixture:
In[16]:= | ![]() |
Out[16]= | ![]() |
Use the resource function JobackEstimate to estimate physical properties of tetrafluoroethylene, the monomer of Teflon:
In[17]:= | ![]() |
Out[17]= | ![]() |
Use these to compute the corresponding van der Waals constants:
In[18]:= | ![]() |
Out[18]= | ![]() |
Compare with the constants calculated from its actual physical properties:
In[19]:= | ![]() |
Out[19]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License