Solve the problem: Numerically solve the 2nd order boundary value mass balance equation with the defined constants and compare to the analytical solution. Use a shooting method and an optimization routine to calculate the proper initial condition to get the right boundary condition. Solution Plot: I have plotted the analytical solutions as the solid […]

# Posts from ‘June, 2009’

## Diffusion with Chemical Reaction in a 1-D Slab – 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 2nd order boundary […]

## Diffusion with Chemical Reaction in a 1-D Slab – Part 1

Reference: This is problem 3.6 in "Problem Solving in Chemical Engineering with Numerical Methods" by Michael Cutlip and Mordecai Shacham, Prentice-Hall ISBN 0-13-862566-2. We’ll be using this book for several problems, so you’ll see it for a while. Concepts: Define the steady-state mass balance Use Ipython with Scite editor to edit and save files Import […]