background preloader

Python

Facebook Twitter

Reversible, Exothermic, Gas Phase Reaction in a Catalytic Reactor – Problem Description – Engineering With Python. Reference: This is problem 8.24 in “Problem Solving in Chemical Engineering with Numerical Methods” by Michael Cutlip and Mordecai Shacham, Prentice-Hall ISBN 0-13-862566-2.

Reversible, Exothermic, Gas Phase Reaction in a Catalytic Reactor – Problem Description – Engineering With Python

In this problem, you will be designing a gas phase catalytic reactor with a pressure drop to accomplish a reversible gas phase reaction. Concepts: Solve a system of ordinary differential equations with the appropriate initial conditionsUse Ipython with Scite editor to edit and save filesImport packages into workspaceDefine constantsDefine functions for the ODE solverUse the odeint solver with initial conditions and time span arrayPrint the solution Problem Description: In this reactor, we are carrying out an elementary gas phase reaction, 2A<=>C in a packed bed reactor. Exothermic Gas Phase Catalytic Reactor Define the parameters for the problem: Let’s list all of the parameters that we will use in the problem: Cpa = 40.0 J/g-mol K R = 8.314 J/g-mol K Cpc = 80.0 J/g-mol K Fao = 5.0 g-mol/min Ea = 41,800 J/g-mol K Ta = 500 K.

Software for integrating ODEs - Introduction to Reactor Design: 3K4. Background Numerically integrating ODE's is something you should have mastered in your pre-requisite 3E4 course.

Software for integrating ODEs - Introduction to Reactor Design: 3K4

If you are not familiar with this topic, it is your responsibility to quickly catch up, because we will use this intensively for the rest of the course. Here is a tutorial a wrote a few years ago when I taught 3E4 in 2010. The tutorial below is similar, but uses a reactor design example. Example Consider the pair of differential equations (covered in class on 11 February): dXdW=−r′AFA0dydW=−α2y(1+εX) Some terminology (recap from your pre-requisite math courses) The independent variable is (W)The two dependent variables (variables being integrated with respect to the independent variable) are (X) and (y) Since there are two dependent variables, we require initial conditions for each variable. Creating a Microkinetic Model — CatMAP 0.2.79 documentation.

All micro-kinetic models require a minimum of 2 files: the “setup file” and the “submission script”.

Creating a Microkinetic Model — CatMAP 0.2.79 documentation

In addition it is almost always necessary to specify an “input file” which is used by the “parser” to extend the “setup file” (see Generating an Input File). Setup File¶ Next we will create the “setup file”. Lets make a text file named “CO_oxidation.mkm”. The suffix ”.mkm” is often used to designate a micro-kinetics module setup file, but it is not required. One of the most important aspects of the “setup file” is the “rxn_expressions” variable which defines the elementary steps in the model. Pycse - Python3 Computations in Science and Engineering. Matlab post In this post we derive the equations needed to find the equilibrium composition of a reacting mixture.

pycse - Python3 Computations in Science and Engineering

We use the method of direct minimization of the Gibbs free energy of the reacting mixture. The Gibbs free energy of a mixture is defined as where is the chemical potential of species , and it is temperature and pressure dependent, and is the number of moles of species We define the chemical potential as , where is the Gibbs energy in a standard state, and is the activity of species if the pressure and temperature are not at standard state conditions.

TKP4106 Process Modelling - IKP (NTNU) Introduction to Reactor Design: 3K4. Introduction to Reactor Design: 3K4. Cantera Outline - charlesreid1. Introduction: Cantera in Short Part I: Cantera Core Part II: Cantera for Python Part III: Cantera for Reaction Engineering Capabilities High level division of Cantera's capabilities Zero-D, One-D, phase objects, numerics Division of capabilities should roughly follow how Cantera source code is divided Apps - utilities for converting between Chemkin and Cantera file formats, parsing input files, comparing output files, etc.

Cantera Outline - charlesreid1

Base - more utilities for array storage, printing and logging, XML file parsing, Cantera errors/exceptions, Clib - code for C API Converters Equil Fortran - code for Fortran API Kinetics - classes for getting/setting/calculating reaction network quantities (net production rate source terms, reaction rate parameters, etc.) Overview of Cantera Reactors Theory: Description of generic Cantera reactors, canonical CHE reactor types. R vs Python: Free Books to Learn - YOU CANalytics. Please read the disclaimer about the Free PDF Books in this article at the bottom The one thing they love more than a hero is to see a hero fail, fall, die trying.

R vs Python: Free Books to Learn - YOU CANalytics

In spite of everything you’ve done for them, eventually, they will hate you [Spider-Man].– Green Goblin / Norman Osborn R vs Python- by Roopam Batman v Superman: Dawn of Justice will be released in March 2016. It will be great to see these two superheroes battle it out against each other on the screen. PythonBooks - Learn Python the easy way ! Automated Solution of Differential Equations by the Finite Element Method — FEniCS Project. Welcome — Cantera 2.2.0 documentation. How to Install Python XY for Windows - Scientific Python with Spyder IDE. Best Online Courses.