Engineering With Python Rotating Header Image

Posts from ‘May, 2009’

Molar Volume and Compressibility Factor from van der Waal’s Equation – Part 3

Solve the problem: Problem Description (repeated to make it easier, you don’t have to go to the earlier post): The ideal gas law typically works well at low pressures and temperatures.  For more extreme conditions, other equations of state are more accurate.  In this case, we’ll work with the van der Waal’s equation to predict […]

Molar Volume and Compressibility Factor from van der Waal’s Equation – Part 2

Plan your solution: Draw a picture, in this case, list all of your data and equations Remember the fundamentals and apply Draw your material or energy balance envelope Remember [Accumulation = In – Out + Source/Sink] Think about what you need to do and the answer you want You need to solve for a value, […]

Molar Volume and Compressibility Factor from van der Waal’s Equation – Part 1

Reference: This is problem 1.1 in “Problem Solving in Chemical Engineering with Numerical Methods” by Michael Cutlip and Mordecai Shacham, Prentice-Hall ISBN 0-13-862566-2.  It is also Problem 1 in the ASEE 1997 problem set. Concepts: Set up the van der Waal’s (VDW) equation to solve for the molar volume Use Ipython with Scite editor to […]

Compare Different Software Packages for Solving ChE Problems

Compare Python to other software packages You should decide.  Since we want to solve problems, it is fair to compare various ‘packages’ so that you can choose the best one for your application.  That is why I have picked these particular problems  for this series of posts.  If you go to this link: Polymath Software […]

Heat Exchange in a Series of Tanks – Part 4.3

Problem 1.15 Cutlip and Shacham Part 3: Question 3 – After three hours the oil feed is restored.  How long will it take to achieve 99% steady-state again for T3?  Will all steady-state temperatures be the same as before in Part 4.1? Change your program: Set W = 100.0 Kg/min since the oil feed is […]

Heat Exchange in a Series of Tanks – Part 4.2

References: Heat Exchange in a Series of Tanks Parts 1 – 4.1 for the background Question 2 from Problem 1.15 Cutlip and Shacham: After operation at steady-state, the oil feed is stopped for three hours.  What are the highest temperatures that the oil in each tank will reach during this period? Changes in the program: […]

Heat Exchange in a Series of Tanks – Part 4.1

Solve the problems (Part 4 Question 1): Question 1 – Determine the steady-state temperatures in all three tanks. What time interval will be required for T3 to reach 99% of this steady-state value during start-up? First, I realized that I needed to update the python code to make it easier to understand.  I made two […]

Reference Book for First Set of “Engineering with Python” Problems

Amazon.com Widgets

Heat Exchange in a Series of Tanks – Part 3

Plan your solution: Draw a picture and label all inputs, outputs and assumptions Remember the fundamentals and apply Draw your material or energy balance envelope Remember [Accumulation = In – Out + Source/Sink] Think about what you need to do.  Look at the picture below It is a transient problem, therefore you will need to […]