
New Mexico Tech Hyd 510 Hydrology Program Quantitative Methods in Hydrology Part 2: Ordinary Differential Equations (ODEs) (This is new material, see Kreyszig, Chapters 1-6, and related numerics in Chaps. 19, 20, 20.1-20.7, and 21.1-21.3.) Fundamentals of Differential Equations The calculus problems we’ve reviewed have mostly been involved with finding the numerical value of one magnitude or another. For example, we’ve sought the location x0 and value f(x0) of the maxima of a function, the locations x where f(x)=0 (roots of f(x)), the slope (derivative) of f(x) at x, b or the value of a definite integral f (x)dx . ∫a But now we are going to solve engineering and science problems where the unknown is itself a function, that is, we are going to develop and solve models that express “the dependence of certain variables on others” (Petrovskii, 1956). What kind of questions can these models answer? Here are some examples from hydrology. How will drawdown in an aquifer change with distance from a pumping well? How will the discharge from a lake, flowing over a weir, vary in time? How does the velocity profile in the atmospheric boundary layer vary with distance above the ground surface? How does moisture content vary with depth? In these cases the dependent (unknown) variables are, respectfully, drawdown [L]1, discharge [L3], velocity [L/t], and moisture content [L3/ L3/]=[-]. The respective independent (known) variables are distance [L], time [t], elevation [L], and depth [L]. The problem of finding these functions is most often addressed by solving differential equations, that is, equations in which not only the unknown function(s) occurs, but also its derivatives of various orders. Examples: dh 1. + αh = αh + P dt 0 d 2φ 1 1 Q ' 2. − φ = − φ − w dx 2 λ λ 0 T ∂C ∂C ∂ 2C 3. + v − D = 0 ∂t ∂x ∂x 2 In the first example the unknown is denoted by the letter h, which represents the water level in a lake, and the independent variable by the letter t, which represents time. As there is one independent variable, it is an ordinary differential equation (ODE). As there is only one first order derivative it 1The notation [L] for length and its like (e.g., [M] for mass or [t] for time) is used to indicate units or dimensions of a variable, similar to using standard units like m (meter), s (second), or kg (kilogram). So velocity units can be indicated by [L/t] or [ms-1]. Among other things we use units to keep track of dimensional homogeneity, such that units balance in all terms on each side of an equation. See next page. - 58 - New Mexico Tech Hyd 510 Hydrology Program Quantitative Methods in Hydrology 2 is a first order equation (see below). The other symbols (α, h0, P) denote parameters with no dependence on the unknown, h. Mathematically, its possible that all three vary with the independent variable, t, but in hydrologic practice only h0 and P typically vary with time. In the second example the unknown is denoted by the Greek letter φ , representing hydraulic head in a confined aquifer, and the independent variable by the letter x, representing location. As there is still just one independent variable, it is also an ordinary differential equation (ODE). However, as a second derivative of φ is the highest order derivative it is a second order equation. The symbols λ, φ0, and Qw’ denote parameters that are known. In the third example the unknown is denoted by the letter C, representing solute concentration in a flowing river, and there are two independent variables, denoted by the letters x (space) and t (time). As there are now two (or more) independent variables, it is a partial differential equation (PDE). The highest order derivative in x defines it as a second order equation in space, while the highest order derivative in t defines it as a first order equation in time. (Later we’ll see that this particular type of PDE is called mixed hyperbolic-parabolic PDE.) The symbols v and D denote parameters, the mean river velocity and a “dispersion coefficient.” In each equation the left side contains the unknown and its derivatives, while the right side contains known loadings or forcings. For example, in the first equation the forcing is precipitation, P [L/t]. In the second equation it is pumping Qw’ [L/t] and head in a vertically adjacent aquifer, φ0 [L]. There is no forcing in the third equation (later we’ll see that forcing for that equation comes from the boundary and initial conditions instead). We often rewrite different equations so that they fit this template: unknowns and their derivatives on the left, forcings on the right. As we shall see below, mathematicians take this convention a step further. In short, the first equation is a first order ODE, the second equation is a second order ODE, and the third equation is a second order in space – first order in time PDE. In this section we concentration only on problems with one independent variable, that is, on ODEs. Dimensional homogeneity Each of these DEs is (and must be) dimensionally homogeneous. We can take advantage of this to help detect errors and to improve solutions. For example, the second equation is d 2φ 1 1 Q ' − φ = − φ − w dx 2 λ λ 0 T Here head φ and distance x have units of length [L], parameter λ [L2] includes (=TB’/K’) the influence of aquifer transmissivity (T [L2/t]) and aquitard leakance (B’/K’ [Lt/L]), where B’ is aquitard thickness [L] and K’ is aquitard vertical conductivity[L/t], and Qw’ [L/t] is pumping per unit area. All terms in the second equation have units of [1/L]. Order of equation (text, §1.1) An ordinary differential equation of order n, in one unknown function y, is a relation of the form F[x, y(x), y' (x), y' ' (x),...., y n (x)] = 0 Between the (one) independent variable x and the quantitites 2 The physical meaning of parameters like these will become known to you later. - 59 - New Mexico Tech Hyd 510 Hydrology Program Quantitative Methods in Hydrology y(x), y' (x), y' ' (x),...., y n (x) The order of the ODE is the order to the highest derivatve of the unknown function appearing in the differential equation. We’ll focus on 1st and 2nd order ODEs, respectively Chaps 1 and 2 of the textbook. In our applications, time is usually the independent variable in 1st order ODEs, while it is almost always space in 2nd order ODEs. The major exception to these observations is in geophysics, involving seismic, electromagnetic, and other signals, where 2nd order ODEs in time are also encountered. Operator We can write an equation in the form of an operator L( ), where L(unknown)= forcing or L( )= forcing. In the examples above, the operators are: d( ) 1. L( ) = + α( ) dt d 2 ( ) 1 2. L( ) = − ( ) dx 2 λ ∂( ) ∂( ) ∂ 2 ( ) 3. L( ) = + v − D ∂t ∂x ∂x 2 An operator can be an algebraic, differential or integral operator. Our examples only demonstrate differential operators. Linear dependence There are tremendous advantages of a linear model in deriving and applying solutions. For example, if we have a linear model, then we can scale or “convolute” the model result to represent a new forcing, that is, a new solution, without having to resolve the equation. If we have a linear model we can use certain solution methods that take advantage of linearity, such as LaPlace or Fourier transform methods. Even if the model is nonlinear, if the nonlinearity is mild we might be able to linearize (approximate) the model and still take advantage of linearity. On the other hand there are certain problems that have a sufficient non-linearity that it must be addressed directly. Consider chaotic behavior, as in climate models, which is the result of one kind of non-linearity that cannot be ignored. In vadose zone hydrology the multiphase flow equations are highly non-linear. The land-surface energy balance involves highly non-linear radiation terms. Taking advantage of the operator notation, there are three conditions necessary for an operator (and its differential equation) to be linear. Letting x and y represent unknowns, and a and b constants, these are (a) L(ax) = aL(x) - 60 - New Mexico Tech Hyd 510 Hydrology Program Quantitative Methods in Hydrology (b) L(x + y) = L(x) + L( y) (c) L(ax + by) = aL(x) + bL( y) As you can see the last condition covers the other two. Let’s take a look at two algebraic examples. Example a: bx+c =0 has the operator L( ) = b·( ), so that L(x)=-c. Show that L meets the requirements for a linear operator. Example b: ax2+ bx+c =0 has the operator L( ) = a·( )2 + b·( ), so that L(x)=-c. Show that L does not meets the requirements for a linear operator. That is, this is a non-linear algebraic equation. Aside: if b=0, show that the operator remains non-linear in x, but that a transform of variables to z=x2 leads to a new problem az+c =0 which is linear in z. We often look for such simple transformations to (exactly) linearize a problem (such transformations are common in vadose zone hydrology and infiltration models used for hillslope or watershed hydrology, and for simple models of phreatic aquifers through the so-called linearized Dupuit Approximation). Now, let’s examine operators for differential equations.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages15 Page
-
File Size-