Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with lee-kesler equation 1

Status
Not open for further replies.

newz2

Petroleum
Joined
Oct 3, 2010
Messages
1
Location
US
Hello,

I am trying to use the Lee-Kesler equation. As I understand, we need to solve for Z (or Vr) first using the equation once for a simple fluid and then for a reference fluid. This euqation contains Z terms upto 5 th order along with an exponential term. Do we solve for Z by finding the root of the equation? If yes, any idea on how to find the roots of a equation with an exponential term in it?

I need to solve for Z using a computer program, so I cannot use the tables in Polling et al. book. Does any one have a sample code?

Thanks very much in advance.
 
If you need to code a little procedure you may consider books as Daubert's Chemical Engineering Thermodynamics which includes a Fortran example, with Google you may find several Excel pages showing how to solve LK (usually by iterating -Newton or similar method- on density) and some sourceforge projects (see for example DWSIM) which may explain some details.
If you wish to do something more complex do not forget that solving the model (LK or another equation) is only a little step toward the defintion of reliable flash operations which may require a considerably larger effort.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top