Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Lab 3 : Equations of State Overview: An Equations of State ( EOS ) is a mathematical relation between the pressure, volume, temperature, and number
Lab : Equations of State
Overview:
An Equations of State EOS is a mathematical relation between the pressure, volume,
temperature, and number of moles of a fluid liquid or gas In engineering thermodynamics, EOS
is a useful modeling tool to study the phase behavior of liquids and gases and plot the phase
diagrams of fluids during phase changes. One of the commonly used EOS which is cubic in volume
is the van der Waals vdW EOS. It is a pressure explicit equation and has the following form in
molar basis:
where
and
The variables are defined by:
pressure in atm
molar volume in mol
temperature in
gas constant atmmol
critical temperature in
critical pressure in atm
Pr reduced pressure,
the compressibility factor,
It is important to calculate molar volume of fluids at various pressures and constant temperature.
With the given information above:
a Write the algorithm for the calculation of molar volume and compressibility factor at
various pressure and constant temperature pressure and temperature are input data
b Sketch the flow chart for the calculation of volume and compressibility factor at various
pressure and constant temperature pressure and temperature are input data
c Write a script to calculate molar volume and compressibility factor for gaseous ammonia
at a pressure P atm and a temperature T K using the vdW EOS Tc and Pc for
gaseous ammonia are given below
d Write a script to calculate molar volume and compressibility factor of gaseous ammonia at
the reduced pressures ranging from to by increment of with the Tc and Pc given
below.
e Using the disp command to generate a table with the pressure as the first column, molar
volume as the second column and the compressibility factor as the third column.
f Use the plot command to plot the variation of the compressibility factor versus pressure at
constant temperature of K Label the y and x axes with standard title and legend.
For gaseous ammonia Tc K and Pc atm
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started