Figure 1 - Unsteady-State Heat Conduction in a One-dimensional Slab



Similar documents
Module 1 : Conduction. Lecture 5 : 1D conduction example problems. 2D conduction

Integration of a fin experiment into the undergraduate heat transfer laboratory

Frost Damage of Roof Tiles in Relatively Warm Areas in Japan

Finite Element Modules for Enhancing Undergraduate Transport Courses: Application to Fuel Cell Fundamentals

Coupling Forced Convection in Air Gaps with Heat and Moisture Transfer inside Constructions

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

Conductive and Radiative Heat Transfer in Insulators

Chapter 5. Principles of Unsteady - State Heat Transfer

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

ME6130 An introduction to CFD 1-1

HEAT TRANSFER IM LECTURE HOURS PER WEEK THERMODYNAMICS - IM _1

Applications of mathematical software packages for modelling and simulations in environmental engineering education

Feature Commercial codes In-house codes

Heat Transfer and Energy

HEAT TRANSFER CODES FOR STUDENTS IN JAVA

WEEKLY SCHEDULE. GROUPS (mark X) SPECIAL ROOM FOR SESSION (Computer class room, audio-visual class room)

TWO-DIMENSIONAL FINITE ELEMENT ANALYSIS OF FORCED CONVECTION FLOW AND HEAT TRANSFER IN A LAMINAR CHANNEL FLOW

INJECTION MOLDING COOLING TIME REDUCTION AND THERMAL STRESS ANALYSIS

Lecture 9, Thermal Notes, 3.054

ANSYS Example: Transient Thermal Analysis of a Pipe Support Bracket

V out. Figure 1: A voltage divider on the left, and potentiometer on the right.

The temperature of a body, in general, varies with time as well

Steady Heat Conduction

Second Order Linear Partial Differential Equations. Part I

Heat Transfer Prof. Dr. Aloke Kumar Ghosal Department of Chemical Engineering Indian Institute of Technology, Guwahati

Ampacity simulation of a high voltage cable to connecting off shore wind farms

Differential Balance Equations (DBE)

Chapter 12 IVP Practice Problems

Compressible Fluids. Faith A. Morrison Associate Professor of Chemical Engineering Michigan Technological University November 4, 2004

Lecture 3 Fluid Dynamics and Balance Equa6ons for Reac6ng Flows

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

Energy Transport. Focus on heat transfer. Heat Transfer Mechanisms: Conduction Radiation Convection (mass movement of fluids)

Trace Layer Import for Printed Circuit Boards Under Icepak

Heat Transfer From A Heated Vertical Plate

Analyzing Electrical Effects of RTA-driven Local Anneal Temperature Variation

CCTech TM. ICEM-CFD & FLUENT Software Training. Course Brochure. Simulation is The Future

Development of Thermal Recovery Simulator for Hot Water Flooding

Dynamic Process Modeling. Process Dynamics and Control

AS COMPETITION PAPER 2007 SOLUTIONS

Two-Dimensional Conduction: Shape Factors and Dimensionless Conduction Heat Rates

Performance Estimation of Water Thermal Energy Storage Tank by Using Simplified Simulation

The Three Heat Transfer Modes in Reflow Soldering

The soot and scale problems

APPLICATION OF TRANSIENT WELLBORE SIMULATOR TO EVALUATE DELIVERABILITY CURVE ON HYPOTHETICAL WELL-X

5.56 MM CERAMIC GUN BARREL THERMAL ANALYSES WITH CYCLED AMMUNITION

EFFECT ON HEAT TRANSFER AND THERMAL DEVELOPMENT OF A RADIATIVELY PARTICIPATING FLUID IN A CHANNEL FLOW

Calculating Heat Loss by Mark Crombie, Chromalox

Sizing of triple concentric pipe heat exchanger

Introduction To Materials Science FOR ENGINEERS, Ch. 5. Diffusion. MSE 201 Callister Chapter 5

Real Time Simulation of Power Plants

ANSI/ASHRAE Standard Building Thermal Envelope and Fabric Load Tests

New Methods of Testing PCB Traces Capacity and Fusing

Chemical Kinetics. 2. Using the kinetics of a given reaction a possible reaction mechanism

Measuring Optical and Thermal Properties of High Temperature Receivers

TEXTILE FABRICS AS THERMAL INSULATORS

INTERNATIONAL ASSOCIATION OF CLASSIFICATION SOCIETIES. Interpretations of the FTP

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

Numerical Methods for Differential Equations

Published in: Proceedings of the 11th International Refrigeration and Air Conditioning Conference

Maximum likelihood estimation of mean reverting processes

Introduction to CFD Analysis

NUMERICAL SIMULATION OF BIOHEAT TRANSFER PROCESS IN THE HUMAN EYE USING FINITE ELEMENT METHOD

Finite Difference Approach to Option Pricing

FREE CONVECTION FROM OPTIMUM SINUSOIDAL SURFACE EXPOSED TO VERTICAL VIBRATIONS

1 Finite difference example: 1D implicit heat equation

Graduate Courses in Mechanical Engineering

INTERACTION OF LIQUID MOTION ON MOBILE TANK STRUCTURE

Rate of Heating Analysis of Data Centers during Power Shutdown

ADVANCED COMPUTATIONAL TOOLS FOR EDUCATION IN CHEMICAL AND BIOMEDICAL ENGINEERING ANALYSIS

BINOMIAL OPTIONS PRICING MODEL. Mark Ioffe. Abstract

ES250: Electrical Science. HW7: Energy Storage Elements

Thermal diffusivity and conductivity - an introduction to theory and practice

Fan Basics and Selection Criteria (How to Use)

Supercapacitors. Advantages Power density Recycle ability Environmentally friendly Safe Light weight

Global Seasonal Phase Lag between Solar Heating and Surface Temperature

CBE 6333, R. Levicky 1 Differential Balance Equations

Numerical Model for the Study of the Velocity Dependence Of the Ionisation Growth in Gas Discharge Plasma

240EQ014 - Transportation Science

Modelling the Drying of Porous Coal Particles in Superheated Steam

How To Calculate Thermal Resistance On A Pb (Plastipo)

Everline Module Application Note: Round LED Module Thermal Management

Free Convection Film Flows and Heat Transfer

Carbon Cable. Sergio Rubio Carles Paul Albert Monte

A LAMINAR FLOW ELEMENT WITH A LINEAR PRESSURE DROP VERSUS VOLUMETRIC FLOW ASME Fluids Engineering Division Summer Meeting

DESIGN AND SIMULATION OF LITHIUM- ION BATTERY THERMAL MANAGEMENT SYSTEM FOR MILD HYBRID VEHICLE APPLICATION

CE 204 FLUID MECHANICS

Introduction to CFD Analysis

The two dimensional heat equation

Convection in water (an almost-incompressible fluid)

Model Order Reduction for Linear Convective Thermal Flow

Determination of Thermal Conductivity of Coarse and Fine Sand Soils

Dynamic Thermal Management for Distributed Systems

Finite Element Modeling of Heat Transfer in Salt Bath Furnaces

Comparing naturally cooled horizontal baseplate heat sinks with vertical baseplate heat sinks

Eco Pelmet Modelling and Assessment. CFD Based Study. Report Number R1D1. 13 January 2015

12S, 14S, 15S Series. Time Delay Relays and Sequencers. Time Delay Relays and Sequencers. Features and Benefits. Switch Actions and Configurations

Turbulence Modeling in CFD Simulation of Intake Manifold for a 4 Cylinder Engine

HEAT AND MASS TRANSFER

Ravi Kumar Singh*, K. B. Sahu**, Thakur Debasis Mishra***

LASER MELTED STEEL FREE SURFACE FORMATION

Transcription:

The Numerical Method of Lines for Partial Differential Equations by Michael B. Cutlip, University of Connecticut and Mordechai Shacham, Ben-Gurion University of the Negev The method of lines is a general technique for solving partial differential equations (PDEs) by typically using finite difference relationships for the spatial derivatives and ordinary differential equations for the time derivative. William E. Schiesser at Lehigh University has been a major proponent of the numerical method of lines, NMOL. 1 This solution approach can be very useful with undergraduates when this technique is implemented in conjunction with a convenient ODE solver package such as POLYMATH. A Problem in Unsteady-State Heat Transfer 3 This approach can be illustrated by considering a problem in unsteady-state heat conduction in a one-dimensional slab with one face insulated and constant thermal conductivity as discussed by Geankoplis. 4 Unsteady-state heat transfer in a slab in the x direction is described by the partial differential equation T = α (1) t where T is the temperature in K, t is the time in s, and α is the thermal diffusivity in m /s given by k/ρc p. In this treatment, the thermal conductivity k in W/m K, the density ρ in kg/m 3, and the heat capacity c p in J/kg K are all considered to be constant. Consider that a slab of material with a thickness 1.00 m is supported on a nonconducting insulation. This slab is shown in Figure 1. For a numerical problem solution, the slab is divided into N sections with N + 1 node points. The slab is initially at a uniform temperature of 100 C. This gives the initial condition that all the internal node temperatures are known at time t = 0. T n = 100 for n = (N + 1) at t = 0 () 1 Schiesser, W. E. The Numerical Method of Lines, San Diego, CA: Academic Press, 1991. POLYMATH is a numerical analysis package for IBM-compatible personal computers that is available through the CACHE Corporation. Information can be found at www.polymathsoftware.com. 3 This problem is adapted in part from Cutlip, M. B., and M. Shacham Problem Solving in Chemical Engineering with Numerical Methods, Upper Saddle River, NJ: Prentice Hall, 1999. 4 Geankoplis, C. J. Transport Processes and Unit Operations, 3rd ed. Englewood Cliffs, NJ: Prentice Hall, 1993. 1

Figure 1 - Unsteady-State Heat Conduction in a One-dimensional Slab If at time zero the exposed surface is suddenly held constant at a temperature of 0 C, this gives the boundary condition at node 1: T 1 = 0 for t 0 (3) The other boundary condition is that the insulated boundary at node N + 1 allows no heat conduction. Thus T N + 1 = 0 for t 0 (4) Note that this problem is equivalent to having a slab of twice the thickness exposed to the initial temperature on both faces. Problem (a) - Numerically solve Equation (1) with the initial and boundary conditions of (), (3), and (4) for the case where α = 10-5 m /s and the slab surface is held constant at T 1 = 0 C. This solution should utilize the numerical method of lines with N = 10 sections. Plot the temperatures T, T 3, T 4, and T 5 as functions of time to 6000 s. For this problem with N = 10 sections of length x = 0.1 m, Equation (1) can be rewritten using a central difference formula for the second derivative as n α = ( T 1 1 ) n+ Tn + Tn for ( n 10) (5) t ( x) The boundary condition represented by Equation (4) can be written using a second-order backward finite difference as t that can be solved for T 11 to yield 11 = 3T 11 10 + T9 T 11 4T x = 0 (6) 4T10 T9 = (7) 3

The problem then requires the solution of Equations (3), (5), and (7) which results in nine simultaneous ordinary differential equations and two explicit algebraic equation for the 11 temperatures at the various nodes. This set of equations can be entered into the POLYMATH Simultaneous Differential Equation Solver or some other ODE solver. The resulting equation set for POLYMATH is Equations: d(t)/d(t)=alpha/deltax^*(t3-*t+t1) d(t3)/d(t)=alpha/deltax^*(t4-*t3+t) d(t4)/d(t)=alpha/deltax^*(t5-*t4+t3) d(t5)/d(t)=alpha/deltax^*(t6-*t5+t4) d(t6)/d(t)=alpha/deltax^*(t7-*t6+t5) d(t7)/d(t)=alpha/deltax^*(t8-*t7+t6) d(t8)/d(t)=alpha/deltax^*(t9-*t8+t7) d(t9)/d(t)=alpha/deltax^*(t10-*t9+t8) d(t10)/d(t)=alpha/deltax^*(t11-*t10+t9) alpha=.e-5 T1=0 T11=(4*T10-T9)/3 deltax=.10 The initial condition for each of the T s is 100 and the independent variable t varies from 0 to 6000. The plots of the temperatures in the first four sections, node points 5, are shown in Figure. The transients in temperatures show an approach to steady state. The numerical results are compared to the hand calculations of a finite difference solution by Geankoplis 4 (pp. 471 3) at the time of 6000 s in Table 1. These results indicate that there is general agreement regarding the problem solution, but differences between the temperatures at corresponding nodes increase as the insulated boundary of the slab is approached. Figure Temperature Profiles for Unsteady-state Heat Conduction in a One-dimensional Slab 3

Table 1 Results for Unsteady-state Heat Transfer in a One-dimensional Slab at t = 6000 s Distance Geankoplis 4 Numerical Method of Lines from Slab Surface in m x = 0.m N = 5 x = 0.1 m N = 10 x = 0.05 m N = 0 x = 0.0333 m N = 30 n T n T n T n T 0 1 0.0 1 0.0 1 0.0 1 0.0 0. 31.5 3 31.71 5 31.68 7 31.67 0.4 3 58.59 5 58.49 9 58.47 13 58.47 0.6 4 78.13 7 77.46 13 77.49 19 77.50 0.8 5 89.84 9 88. 17 88.9 5 88.31 1.0 6 93.75 11 91.66 1 91.7 31 91.73 Problem (b) - Repeat Problem (a) with 0 sections and compare results with part (a). The validity of the numerical solution can be investigated by doubling the number of sections for the NMOL solution. This involves adding an additional 10 equations given by the relationship in Equation (5), modifying Equation (7) to calculate T 1, and halving x. The results for these changes in the POLYMATH equation set are also summarized in Table 1 as are similar results for 30 sections. Here the numerical solutions are similar to the previous solution in part (a) as the temperature profiles are virtually unchanged as the number of section is increased. Problem (c) - Repeat parts (a) and (b) for the case where heat convection is present at the slab surface. The heat transfer coefficient is h = 5.0 W/m K, and the thermal conductivity is k = 10.0 W/m K. When convection is considered as the only mode of heat transfer to the surface of the slab, an energy balance can be made at the interface that relates the energy input by convection to the energy output by conduction. Thus at any time for transport normal to the slab surface in the x direction h ( T0 T1 ) = k (8) where h is the convective heat transfer coefficient in W/m K and T 0 is the ambient temperature. The preceding energy balance at the slab surface can be used to determine a relationship between the slab surface temperature T 1, the ambient temperature T 0, and the temperatures at internal node points. In this case, the second-order forward difference equation for the first derivative can be applied at the surface x= 0 ( T + T 3T ) 3 4 1 = x= 0 x (9) 4

and can be substituted into Equation (8) to yield The preceding equation can be solved for T 1 to give ( T + 4T 3T ) 3 1 h( T0 T1 ) = k (10) x ht0 x kt3 + 4kT T1 = (11) 3k + h x and the above equation can be used to calculate T 1 during the NMOL solution. The resulting equation set for POLYMATH for x = 0.10 m for N = 10 is Equations: d(t)/d(t)=alpha/deltax^*(t3-*t+t1) d(t3)/d(t)=alpha/deltax^*(t4-*t3+t) d(t4)/d(t)=alpha/deltax^*(t5-*t4+t3) d(t5)/d(t)=alpha/deltax^*(t6-*t5+t4) d(t6)/d(t)=alpha/deltax^*(t7-*t6+t5) d(t7)/d(t)=alpha/deltax^*(t8-*t7+t6) d(t8)/d(t)=alpha/deltax^*(t9-*t8+t7) d(t9)/d(t)=alpha/deltax^*(t10-*t9+t8) d(t10)/d(t)=alpha/deltax^*(t11-*t10+t9) alpha=.e-5 deltax=.10 T11=(4*T10-T9)/3 h=5. T0=0 k=10. T1=(*h*T0*deltax-k*T3+4*k*T)/(3*k+*h*deltax) The preceding equation set can be integrated to any time t with POLYMATH or another ODE solver. The results at t = 1500 s are summarized in Table. Table Results for Unsteady-state Heat Transfer with Convection in a One-dimensional Slab at t = 1500 s Distance Geankoplis 4 Numerical Method of Lines from Slab Surface in m x = 0.m N = 5 x = 0.1 m N = 10 x = 0.05 m N = 0 x = 0.0333 m N = 30 n T n T n T n T 0 1 64.07 1 64.40 1 64.99 1 65.10 0. 89.07 3 88.13 5 88.77 7 88.90 0.4 3 98.44 5 97.38 9 97.73 13 97.80 0.6 4 100.00 7 99.61 13 99.7 19 99.74 0.8 5 100.00 9 99.96 17 99.98 5 99.98 1.0 6 100.00 11 100.00 1 100.00 31 100.00 There is reasonable agreement between the various NMOL results as the number of sections (smaller x) is increased. The slower response of the temperatures within the 5

slab due to the additional convective resistance to heat transfer is evident when the temperatures are compared to those presented in Table 1. Selected temperatures are presented in Figure 3 for the same locations and at the same scale as Figure. The delays in the responses of the various temperatures are quite evident. Figure 3 Temperature Profiles for Unsteady-state Heat Transfer with Convection in a One-dimensional Slab Problem Extensions There are a number of extensions to this problem that can be solved with the Numerical Method of Lines. The thermal conductivity of the solid could vary with the local temperature. There could be an initial temperature profile in the solid. Radiative heat transfer to the surface could be considered in addition to the convection. The convective heat transfer coefficient could be a function of the T between the bulk gas and the slab surface. All these possibilities and more can be solved with the NMOL and an ODE solver such as POLYMATH. This type of problem can be used to effectively introduce undergraduate students to transient heat transfer and instruct them to the numerical solution of partial differential equations a subject area that is not normally considered in a typical curriculum. 6