For the final value of T=800 K, the integration time span will vary from

Similar documents
Both the polynomial must meet and give same value at t=4 and should look like this

Step 2: After opening the file, you should see following window. Select all the code, right click and then copy the code

Both the polynomial must meet and give same value at t=4 and should look like this

Polymath 6. Overview

Non-linear regression tutorial

Unsteady-State Diffusion in a Slab by Robert P. Hesketh 3 October 2006

Introduction to CS graphs and plots in Excel Jacek Wiślicki, Laurent Babout,

POLYMATH Example for the Numerical Solution of ODEs

Scottish Improvement Skills

RK4. Version 3.0. (updated 12/1/2006) 2001, 2005, 2006 Tomas Co. Michigan Technological University Houghton, MI 49931

lab MS Excel 2010 active cell

Lab Practical - Limit Equilibrium Analysis of Engineered Slopes

RK4. Version 2.0 (updated 5/30/2005) 2001, 2005 Tomas Co. Michigan Technological University Houghton, MI 49931

Chemistry 1A Graphing Tutorial CSUS Department of Chemistry

0 Graphical Analysis Use of Excel

Pre-Lab Excel Problem

7-5 Parametric Equations

Calculus II (Math 122) Final Exam, 11 December 2013

Chapter 3: Rate Laws Excel Tutorial on Fitting logarithmic data

Excel For Algebra. Conversion Notes: Excel 2007 vs Excel 2003

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6. ) is graphed below:

A Simple First-Model Using the Berkeley-Madonna Program

Exercise 4a: Creating and Editing XY Plots

Finding the axis of symmetry, vertex, and roots of a parabola

Open Excel by following the directions listed below: Click on Start, select Programs, and the click on Microsoft Excel.

MATH 31A HOMEWORK 9 (DUE 12/6) PARTS (A) AND (B) SECTION 5.4. f(x) = x + 1 x 2 + 9, F (7) = 0

TUTORIAL - COMMAND CENTER

Chapter 5 Accumulating Change: Limits of Sums and the Definite Integral

INTViewer Tutorial Cube Tutorial

Using Graphical Analysis This exercise will familiarize you with using Graphical Analysis in Beer s Law and kinetics.

Surfaces and Integral Curves

TUTORIAL 2. OBJECTIVE: Use SolidWorks/COSMOS to model and analyze a cattle gate bracket that is subjected to a force of 100,000 lbs.

Math 265 Exam 3 Solutions

The diagram above shows a sketch of the curve C with parametric equations

Outline. More on Excel. Review Entering Formulas. Review Excel Basics Home tab selected here Tabs Different ribbon commands. Copying Formulas (2/2)

Metrics Tutorial. Table of Contents. 1. Introduction

2. Solve for x when x < 22. Write your answer in interval notation. 3. Find the distance between the points ( 1, 5) and (4, 3).

Excel Primer CH141 Fall, 2017

ECE 304: Using EXCEL Preliminaries...3 Construction of Spreadsheet...3 Figure 1:...3 FORMAT CELLS menu with selected font settings...

Microsoft Word for Report-Writing (2016 Version)

Tutorial 2: Particles convected with the flow along a curved pipe.

Creating a Histogram Creating a Histogram

CPIB SUMMER SCHOOL 2011: INTRODUCTION TO BIOLOGICAL MODELLING

MICROSOFT EXCEL TUTORIAL

Module 1.7W: Point Loading of a 3D Cantilever Beam

EES Program Overview

This tutorial walks you through the process of using CC BATCH to simulate a batch distillation column.

A TUTORIAL ON WORD. Katie Gregory

EXCEL 98 TUTORIAL Chemistry C2407 fall 1998 Andy Eng, Columbia University 1998

TI- Nspire Testing Instructions

Installing a Custom AutoCAD Toolbar (CUI interface)

TI-83 Graphing Functions & Relations

Isotropic Porous Media Tutorial

Air Movement. Air Movement

Truss Analysis using Multiframe

Procurement Contract Overview

Isothermal Batch Reactor Modeling

WHAT YOU SHOULD LEARN

Math 126 Winter CHECK that your exam contains 8 problems.

Start Mail Merge Step by Step Mail Merge Wizard messages

Tabs, Tables & Columns

Introduction to Excel

6.3. Applying Designs CHAPTER

and to the following students who assisted in the creation of the Fluid Dynamics tutorials:

Graphing Calculator Tutorial

Microsoft Word 2011 Tutorial

Figure 1: Control & Simulation Loop

Select Cases. Select Cases GRAPHS. The Select Cases command excludes from further. selection criteria. Select Use filter variables

Section Polar Coordinates. or 4 π (restricting θ to the domain of the lemniscate). So, there are horizontal tangents at ( 4 3

2.1 System Dynamics Tool: STELLA Version 10 Tutorial 1. Introduction to Computational Science: Modeling and Simulation for the Sciences, 2nd Edition

Quickstart for Desktop Version

The PEPA Eclipse Plug-in

Solution Recording and Playback: Vortex Shedding

Tutorial 2 Materials and Loading

What you will learn today

MS Office for Engineers

Experiment 1 CH Fall 2004 INTRODUCTION TO SPREADSHEETS

Autodesk Inventor - Basics Tutorial Exercise 1

SOLVING SYSTEMS OF EQUATIONS

Tutorial 1: Welded Frame - Problem Description

CREATING & RUNNING A VERY SIMPLE MODEL

UNIT 3B CREATING AND GRAPHING EQUATIONS Lesson 4: Solving Systems of Equations Instruction

How to Format Modern Language Association (MLA) Style Papers

WinTruss Tutorial By Matt Sutton

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Topics in Analytic Geometry Part II

Track Changes in MS Word

GASWorkS 10.0 Example. Town DXF. Summary. Steps. 1) Import The DXF File

d f(g(t), h(t)) = x dt + f ( y dt = 0. Notice that we can rewrite the relationship on the left hand side of the equality using the dot product: ( f


Math 2524: Activity 1 (Using Excel) Fall 2002

Compressible Flow in a Nozzle

To sketch the graph we need to evaluate the parameter t within the given interval to create our x and y values.

Jim Lambers MAT 169 Fall Semester Lecture 33 Notes

Steady Flow: Lid-Driven Cavity Flow

IGSS 13 Configuration Workshop - Exercises

TFA. KlimaLogg Pro. User Manual. Revision: 1.1

EXCEL 2003 DISCLAIMER:

Using Microsoft Word. Paragraph Formatting. Displaying Hidden Characters

v MODPATH GMS 10.3 Tutorial The MODPATH Interface in GMS Prerequisite Tutorials MODFLOW Conceptual Model Approach I

Transcription:

Tutorial to fool Polymath (Example 11-4) In this tutorial, we will generate a figure of the equilibrium conversion (X e and X EB ) as a function of temperature for Example 11-4 (Calculating the Adiabatic Equilibrium temperature) The equations are Where, K e2 = 75,000 at T 2 = 298 K H RX = 14,000 cal/mol, θ I = 1 C PA = 25 cal mol.k, C P I = 50 cal mol.k K e = K e2 exp [ H Rx R ( 1 T2 1 T )] K e X e = 1 + K e X EB = (C PA + θ I C PI ) (T T 0 ) To get equilibrium conversion at different temperature, we need to vary temperature in the above equations. We do this by fooling Polymath by using a dummy independent variable t i.e. dt dt = 1 Now, you can vary temperature by varying the value of t.let s plot X e and X EB for temperature ranging from 300 K to 800 K. So initial value of T is T(0)=300 K For the final value of T=800 K, the integration time span will vary from t initial = 0 and t final = 500 Now, the above problem becomes an ordinary differential equation which can be easily solved using Polymath. Next we change variables in plotting program to make T as the independent variable and X e and X EB as the dependent variables to obtain the desired graph

Step 1: Now open the polymath software. If you don t have it, then refer to the installation instruction available at http://www.umich.edu/~elements/5e/software/polymath.html You will see the following window when you open the polymath Step 2: Here, we need to use Differential equation solver, so click on the Program tab present on the toolbar and select DEQ Differential Equations. You can also refer to step-by-step Polymath tutorial for solving DEQ present at http://www.umich.edu/~elements/5e/software/polymath.html

Step 3: To enter the differential equations, press the "d(x) +" button present on the menu bar (shown by red circle in the below screenshot). This will bring up a dialogue box in which you can enter your differential equation. You will also need to specify an initial value for the differential variable. Enter the differential equation for T and click Done button Step 4: You will find that your differential equation is entered in the main window. Now press "x= +" button to enter all the explicit equation and parameter values. Enter the expression for Kc and click Done as shown below

Step 5: Similarly enter all other explicit equations and parameter values in the window Step 6: You have now entered both the differential equations and the explicit equation. Now you need to set the time span for which you want to perform the integration. To specify the initial and final values of t, click the "ini-finl" button present on the menu bar. A dialogue box will appear again. Enter the initial and final value of t in the space provided. In this case t initial =0 and t final=500 and then press Ok

Step 7: When all of the necessary information has been specified, the screen will look like this. Check the box corresponding to graph option to generate the graph in addition to report. Next click on the pink arrow to have Polymath perform the integration. Step 8: The following report will be generated which gives initial and final values of every variable present, the minimum and maximum values of the variables in the given interval, and the equations you entered. Click on X to close the report and obtain graph

Step 9: The following graph will be generated. By default, polymath plots all dependent variable on Y axis and independent variable on X axis. In this case, dependent variable is T and independent variable is t. To select the variable you want to plot, double click on the graph or click on graph button present on left panel (shown below). This will open up a dialogue box. Step 10: You can now select independent variable from drop- down menu and dependent variable by checking/unchecking the boxes next to the variable name. In this case, you want to plot X and XEB as a function of Temperature. So select independent variable as T. Check the boxes corresponding to Xe and XEB and uncheck the box for T. After you are done, hit Close button

Step 11: Now your graph will change as shown. The axis mark up and scaling is not very convenient to read. So let s edit graph properties. Right click on graph and select Format or click on brush button present on the left panel. Step 12: This will open up a dialogue box where you can edit graph properties. Click on Titles tab to add title to the graph. Enter the title as Xe and XEB as a function of T

Step 13: Now, Click on X, Y axis tab to change the decimal point of axis numbers. From the drop down menu, select 0 for X Axis and 0.0 for Y axis Step 14: Next, click on Scale and Margins tab to change the axis range. Under Y header, enter the value of Max=1 and Min=0. This defines the range of Y axis. Now click Apply Button

Step 15: After you are done, press Close button. You will see that graph properties have changed as desired. The following graph shows Xe and XEB as a function of Temperature. You can now find the intersection of Xe and XEB to determine adiabatic equilibrium temperature Step 16: Now let s obtain the graph of Xe and XEB for different inlet temperature. Let s evaluate at To=380 K. Close the above graph by clicking on X to go back to Step 7. Now change the value of To from 480 to 380 as shown below. Click on pink arrow to run the program

Step 17: You should obtain following report. Step 18: Close the report to obtain graph. Repeat Step 9-15 to obtain below graph for To=380 K