The project will involve determining the roots of a virial equation of state with cubic order dependency on specific volume. This program can be used in the future for helping to determine phase transition on the PVT surface for any PEOS.
We want to do this in an object-oriented way, where the specific parameters will be supplied in separate functions apart from the main program.
Any PEOS can be put into virial form, so this program can be used for any specific PEOS, including RK, van der Walls, Peng Robinson, etc.
We will use the Peng Robinson parameters which will be supplied as a separate function.
Matlab or Python is permitted.
The virial EOS is discussed in Chapter 6 of your book, so you can begin reading about it as you read through Chapter 6. You are responsible for all of Chapter 6 reading and the final exam will focus on that material, albeit in an energy balance way. The virial EOS is also discussed in detail in Chapter 5 of Felder and Rousseau.
I will be giving formal,written guidance on what you should calculate and what the project report format should be. But, you have a heads up. The program is pretty simple to write and you can use supplied root finding methods in Matlab and Numpy in python. There are also analytical expression for roots of a cubic equation. I prefer the root finding schemes since it gives you the ability to go to fourth order, if you know the fourth order parameters.