1 The Diffusion Equation



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

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

CONSERVATION LAWS. See Figures 2 and 1.

Scalars, Vectors and Tensors

Lecture 3 Fluid Dynamics and Balance Equa6ons for Reac6ng Flows

Dimensional analysis is a method for reducing the number and complexity of experimental variables that affect a given physical phenomena.

Electromagnetism - Lecture 2. Electric Fields

ECON20310 LECTURE SYNOPSIS REAL BUSINESS CYCLE

Jim Lambers MAT 169 Fall Semester Lecture 25 Notes

ALL GROUND-WATER HYDROLOGY WORK IS MODELING. A Model is a representation of a system.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Time Series Analysis

Integration of a fin experiment into the undergraduate heat transfer laboratory

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

α = u v. In other words, Orthogonal Projection

- momentum conservation equation ρ = ρf. These are equivalent to four scalar equations with four unknowns: - pressure p - velocity components

5 Homogeneous systems

The Quantum Harmonic Oscillator Stephen Webb

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

Mathematical modeling of energy flow in a geothermal reservoir

Chapter 9 Partial Differential Equations

1 Prior Probability and Posterior Probability

About the Gamma Function

High Speed Aerodynamics Prof. K. P. Sinhamahapatra Department of Aerospace Engineering Indian Institute of Technology, Kharagpur

CBE 6333, R. Levicky 1 Differential Balance Equations

CHAPTER 24 GAUSS S LAW

INTRODUCTION TO FLUID MECHANICS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Second Order Linear Partial Differential Equations. Part I

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

MATH 590: Meshfree Methods

Section 4.4 Inner Product Spaces

Unified Lecture # 4 Vectors

Differential Balance Equations (DBE)

Basic Equations, Boundary Conditions and Dimensionless Parameters

Lecture 6 Black-Scholes PDE

An Introduction to Partial Differential Equations in the Undergraduate Curriculum

Lecture L5 - Other Coordinate Systems

Mechanics 1: Conservation of Energy and Momentum

Linear Algebra Notes for Marsden and Tromba Vector Calculus

arxiv: v2 [physics.acc-ph] 27 Oct 2014

Part 2: Analysis of Relationship Between Two Variables

Parabolic Equations. Chapter 5. Contents Well-Posed Initial-Boundary Value Problem Time Irreversibility of the Heat Equation

10.2 Series and Convergence

Solving Systems of Linear Equations

Development of Thermal Recovery Simulator for Hot Water Flooding

4.3 Results Drained Conditions Undrained Conditions References Data Files Undrained Analysis of

1 Error in Euler s Method

N 1. (q k+1 q k ) 2 + α 3. k=0

Systems of Linear Equations

Class Meeting # 1: Introduction to PDEs

Heat Transfer and Energy

Lecture 14: Section 3.3

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

Physics 1A Lecture 10C

The Two-Body Problem

You Are What You Bet: Eliciting Risk Attitudes from Horse Races

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

Examples of magnetic field calculations and applications. 1 Example of a magnetic moment calculation

Future Value of an Annuity Sinking Fund. MATH 1003 Calculus and Linear Algebra (Lecture 3)

Method of Green s Functions

6 J - vector electric current density (A/m2 )

Chapter 2. Derivation of the Equations of Open Channel Flow. 2.1 General Considerations

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

Persuasion by Cheap Talk - Online Appendix

Lecture 3: Growth with Overlapping Generations (Acemoglu 2009, Chapter 9, adapted from Zilibotti)

MAT 1341: REVIEW II SANGHOON BAEK

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

Vector surface area Differentials in an OCS

1 The Brownian bridge construction

II. Linear Systems of Equations

Heat Transfer by Free Convection

Numerical Simulation of Oil Recovery Through Water Flooding in Petroleum Reservoir Using Boundary-Fitted Coordinates

Viscous flow in pipe

7. DYNAMIC LIGHT SCATTERING 7.1 First order temporal autocorrelation function.

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

MULTIPLE INTEGRALS. h 2 (y) are continuous functions on [c, d] and let f(x, y) be a function defined on R. Then

Metric Spaces. Chapter Metrics

M/M/1 and M/M/m Queueing Systems

Nonparametric adaptive age replacement with a one-cycle criterion

Student name: Earlham College. Fall 2011 December 15, 2011

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Graduate Macro Theory II: Notes on Investment

Schooling, Political Participation, and the Economy. (Online Supplementary Appendix: Not for Publication)

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which

Lecture Notes 2: Matrices as Systems of Linear Equations

Dynamical Models of Plant Growth

Lecture 14 More on Real Business Cycles. Noah Williams

WELLBORE STORAGE. The fluid produced, q, is the sum production of fluid from the wellbore, q wb, and fluid coming from the reservoir, q sf.

Chapter 22: The Electric Field. Read Chapter 22 Do Ch. 22 Questions 3, 5, 7, 9 Do Ch. 22 Problems 5, 19, 24

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

Continuous Compounding and Discounting

arxiv:physics/ v1 [physics.ed-ph] 14 Apr 2000

NUMERICAL ANALYSIS OF OPEN CHANNEL STEADY GRADUALLY VARIED FLOW USING THE SIMPLIFIED SAINT-VENANT EQUATIONS

Define the notations you are using properly. Present your arguments in details. Good luck!

An Introduction to Partial Differential Equations

4.3 Lagrange Approximation

Transcription:

Jim Lambers ENERGY 28 Spring Quarter 2007-08 Lecture Notes These notes are based on Rosalind Archer s PE28 lecture notes, with some revisions by Jim Lambers. The Diffusion Equation This course considers slightly compressible fluid flow in porous media. The differential equation governing the flow can be derived by performing a mass balance on the fluid within a control volume.. One-dimensional Case First consider a one-dimensional case as shown in Figure : A z y x x Figure : One-dimensional control volume mass in) mass out) = mass accumulation) ) tqρ x tqρ x+ x = φv ρ t+ t φv ρ t 2) p x. where V = xa and q = ka µ Dividing 2) through by x and t and taking limits as x 0 and t 0 gives: qρ x qρ x+ x lim x 0 x φaρ t+ t φaρ t = lim t o t 3)

x qρ) = φaρ) 4) Substituting Darcy s law into 4) gives: ) ka x µ ρp = φaρ) 5) x This equation is sometimes referred to as a mass balance or a material balance. Now assume for simplicity) that k,µ and A are constant: x ρ p ) x = µ k φρ Now account for the dependence of ρ on pressure by introducing the isothermal compressibility: c f = ) ρ 7) ρ p T where T denotes that the derivative is taken at constant temperature. Now apply the product rule for differentiation to 6): ρ p ) = µ ρ φ ) x x k + φρ 8) The right hand side terms in equation 8) require further attention. First consider the final term, φ ρ. By the Chain Rule and 7), Now consider φ ρ = ρ p p = c fρ p. First define the rock compressibility as: c r = φ ) φ p T φ = φc r Substitute equation 9) and ) into 8): ρ p ) x x p = µ k ρφc r + c f ) p Let c t = c r + c f. Now expand the spatial derivative in equation 2): 6) 9) 0) ) 2) ρ 2 p x 2 + p ρ x x = φµc t k ρp 3) 2

Now consider the second term in equation 3): p ρ x x = p x ρ p p x = ρ p ) p 2 = c f ρ x ) p 2 4) x This term is expected to be small, so it is usually neglected. Finally we have: 2 p x 2 = φµc t p 5) k 2 Three-dimensional Case The diffusion equation can be expressed using the notation of vector calculus for a general coordinate system as: 2 p = φµc t k For the case of the radial coordinates the diffusion equation is: r r r p r ) p + 2 p r 2 θ 2 + 2 p z 2 = φµc t p k 6) 7) 3 Dimensionless Form 3. One Dimensional Problem The pressure equation for one dimensional flow equation 5)) can be written in dimensionless form by choosing the following dimensionless variables: p D = p i p, x D = x p i L, t D = kt φµc t L2, 8) where L is a length scale in the problem. With this choice of dimensionless variables the flow equation becomes: 2 p D x 2 D = p D D 9) This can be seen by applying the Chain Rule to obtain x = x D x D x =, L x D = D D = k φµc t L 2. 20) D 3

3.2 Radial Problem The radial form of the pressure equation is usually written in nondimensional form taking account of the boundary conditions. When only radial variations of pressure are considered the pressure equation is: r r r p r ) = φµc t k p 2) Working with cylindrical control volumes, we obtain the boundary and initial conditions q = 2πkh µ rp r, r = r w 22) p = p i, r, t 23) p = p i, t = 0, r 24) To nondimensionalize the initial and boundary conditions, we set p D = αp i p) 25) where α must still be determined. The infinite acting-boundary condition becomes p D = αp i p i ) = 0, r, t 26) The initial condition becomes p D = αp i p i ) = 0, t = 0, r 27) We set the dimensionless length, r D, and dimensionless time, t D, to r D = r r w, t D = t t, 28) where t must still be determined. We substitute p D and r D into the pressure equation and obtain r D r w r D r w r D r w r D r w Simplifying 29) gives rw 2 r D p )) D α + p i = φµc t p ) D α + p i k D t 29) ) p D r D r D r D = φµc t kt p D D. 30) 4

By setting we obtain t = φµc trw 2, 3) k ) p D r D r D r D r D = p D D. 32) Finally, we determine α from the inner boundary condition 22). Substituting r D and p D yields which simplifies to By setting qµ 2πkh = r Dr w r D r w p ) D α + p i, 33) qµ 2πkh = p D. 34) α r D α = 2πkh qµ 35) We obtain the dimensionless inner boundary condition p D r =. 36) D rd = 4 Superposition Solutions to complex problems can be found by adding simple solutions representing the pressure distribution due to wells producing at constant rate at various locations and times. This concept is known as superposition. It is only applicable to linear problems. Superposition in Time Assume we have an analytical solution, p const q,r,t), to the problem of a well producing at a constant rate in a given reservoir. Using superposition in time this solution can be extended to handle a well with a variable flow rate. If a well begins producing at rate q then at time t the rate changes to q 2 the flow rate can be represented as shown in Figure 2. The analytical solution for the pressure distribution caused by the well producing at variable rate is: p var r,t) = p const q,r,t) + p const q 2 q,r,t t )Ht t ) 37) 5

q q q2 t = t q q t + q t t -q-q2) Figure 2: Flow rate variation where Ht) is the Heaviside function, defined by { 0 t < 0 Ht) = t 0. 38) We will see this function many times throughout this course. Superposition in Space Production from multiple wells can be handled using superposition also. Suppose again we have a solution p const q,r,t) for the pressure distribution due to a well located at the origin, flowing at rate q. The solution for a a reservoir containing two wells as shown in Figure 3 can be generated by summing this solution as follows: pr,t) = p const q,r,t) + p const q 2,r 2,t) 39) where r i = x x i ) 2 + y y i ) 2, i =,2. 40) 6

y x Figure 3: Well configuration Using Superposition to Handle Boundary Conditions Superposition in space can be used to impose constant pressure and/or closed boundary conditions. To do so fictitious wells known as image wells are placed in the reservoir in such a way that their effect on the pressure distribution creates the boundary condition. If multiple boundary conditions are involved this can lead to an array of images wells whose contribution to the reservoir pressure distribution is summed. Examples of the use of image wells are shown in Figures 4 and 5. closed boundary reservoir image producer well producer Figure 4: Closed boundary 7

constant pressure boundary reservoir image injector well producer Figure 5: Constant pressure boundary 4. Well Boundary Conditions when Superposition is Applied The superposition theorem guarantees the pressure distribution obtaining by summing simple solutions will satisfy the pressure equation. The boundary condition at the well however requires careful consideration. 4.. Wells Controlled by Bottom Hole Pressure If a reservoir contains two wells with specified bottom hole pressures p and p 2 a pressure solution can be obtained by summing two solutions for a single well at specified well pressure. This solution will satisfy the pressure equation. However this solution will not satisfy the required bottom hole pressures at the wells. If both wells are producers then there will be additional drawdowns at each well due to production in the other well, because the solution for each well will not be nonzero at the location of the other wells. However, if the wells are far apart, this effect is likely to be small. 4..2 Wells with a Specified Flow Rate A solution for a reservoir with multiple wells with specified flow rates can be generated from solutions for a single well. Unlike the case of bottom hole pressure controlled wells this solution will satisfy the flow rate boundary condition at each well. This is possible because each superposed solution conserves mass locally so it does not add any extra flow at the well locations. 8