HOME

HW 15 Mathematics 503, Mathematical Modeling, CSUF , August 6, 2007

Nasser M. Abbasi

June 15, 2014

Contents

1 Problem 6 page 346 section 6.2 (PDE's)
2 Problem 6 page 372 section 6.3
3 Problem 10 page 373 section 6.3

1 Problem 6 page 346 section 6.2 (PDE's)

problem:

A fluid having density ρ , specific heat C , and heat conductivity K , flows at a constant velocity V in a cylindrical tube of length L , and radius R . The temperature at position x is T = T (x,t)  and diffusion of heat is ignored. As it flows, heat is lost though the lateral side at a rate jointly proportional to the area and to the difference between the temperature Te  of the external environment and the temperature T (x,t)  of the fluid (Newton's law of cooling). Derive a PDE model for the temperature T (x,t)

Find the general solution of the equation by transforming to a moving coordinates system z = x− Vt,τ = t

Answer:




Term

Definition

Units (SI)




heat conductivity K

The quantity of heat that passes in unit time through unit area of a substance whose thickness is unity, when its opposite faces differ in temperature by one degree

ML
T3𝜃




Specific heat C

the amount of heat needed to raise a unit mass by one degree.

-L22-
T 𝜃




Density ρ

density

M3
L




First we need to decide on the quantity over which we are applying the balance equation over. We solve this problem 2 times. The first by using the amount of heat as the quantity. Next we solve the problem by using the density of heat as the quantity.

Using amount of heat as the quantity to apply balance equation on

PIC

Apply the energy balance equation. Consider 2 cross sectional area at x= a,x=  b .

Total amount of heat inside this volume = mass of fluid inside this volume × specific heat× its temperature T (x,t)

Hence amount of heat between x = a,x= b is

∫  (◜vol◞um◟e ◝        )
  b(   2         )
 a  π◟r-d◝x◜ρ◞cT (x,t)
      mass

Now consider the rate that heat flows in/out the volume between x = a and x = b , this is given by

Ax=aJ(a,t) − Ax=bJ(b,t)

and since the area does not change, this is the same as

A (J(a,t)− J (b,t))

where J(x,t)  is the amount of heat that flows though a unit area per unit time. (the Flux)

Now there is some heat loss due to cooling via the lateral side. Use Newton law of cooling which says that the amount of heat a body loses per second is proportional to temperature difference between it and its surrounding temperature, and proportional to the area of the body though which heat is lost. The constant of proportionality is k . The area of the body in this case is the surface of the cylinder of strip of width dx which is given by dx(2πr)  when considering a differential length.

PIC

Hence lateral heat loss rate between x= a and x= b is [ ∫ b                    ]
−  a k dx(2πr )(T (x,t)− Te) . The minus sign is to say that this is considered to be a heat loss, not gain, into the volume under consideration. Now need to find what the units of this k is (this is NOT the heat conductivity coefficient). Using dimensional analysis, we write

[rate of heat]  =                                      [ML2]
[k][L2][𝜃]→  [k]=  [rate-of-heat]= --[heat]- = ---T2- =
                  [L2][𝜃]    [L2][𝜃][T]  [L2][𝜃][T]  -[M]--
[𝜃][T3]

So to obtain the energy balance we write

 d ∫ b                                  ∫ b
--   πr2cρT (x,t)dx= A (J(a,t)− J(b,t))−    k dx(2πr)(T (x,t)− Te)
dt  a                                    a

Move the differentiation inside and assuming constant density throughout

pict

Now apply fundamental law of calculus to the flux term in the RHS we have

    ∫ b∂             (∫ a ∂        )     ∫ b
rcρ    --T (x,t)dx=  r    ---J(x,t)dx  − 2k    (T (x,t)− Te)dx
     a ∂t              b ∂ x              a

Changing the limits of integration on the RHS to make it match the LHS and canceling A  we obtain

   ∫                  ∫                 ∫
     b-∂                b-∂-              b
rcρ a ∂ tT (x,t)dx= − r a ∂x J(x,t)dx − 2k a (T (x,t)− Te)dx

Because the above holds for all intervals of integration and the functions involved are continuous, then we can remove the integrals and just write

    ∂            ∂
rcρ∂-tT (x,t)= − r∂xJ(x,t)− 2k (T (x,t)− Te)

For flux, consider the advection model, hence J(x,t) = Vu(x,t)  where u(x,t)  is amount of heat per unit volume at x , but this is the same as ρcT (x,t)  , hence ∂-        ∂-
∂xJ(x,t)=  ∂xV ρcT (x,t)= V ρcTx(x,t)  since V is constant, then the above becomes

pict

Hence the PDE is

|------------------------------------|
|                   2k         2k    |
| Tt(x,t)+ VTx(x,t)+ rcρ T (x,t) = rcρTe |
-------------------------------------

Let me check dimensionality. Each term above should have the same units.

T
 t  has units [𝜃]
 T

VTx  has units [-L𝜃]  [𝜃 ]
 T L =  T

2kT
rcρ has units [  M   ]
 -T32𝜃𝜃- = [-𝜃]
 LTL2𝜃 ML3   T

Hence the PDE is dimensionality correct. Now I have more confidence it is correct. Now we solve the same problem by using the density of heat.

Using density of amount of heat as the quantity to apply balance equation on

density of heat is cρT (x,t)  , hence rate of change of density of heat is d
dtcρT (x,t)

For the flux term, using the advection model, we obtain that

pict

Hence

Jx(x,t)= − VcρTx(x,t)

Now for heat loss,

pict

Hence the balance equation now becomes

d-cρT (x,t)= − VcρTx(x,t)− 2k(T-−-Te)-
dt                            r

Hence

|------------------------------------|
| T (x,t)+ V T (x,t)+ 2kT (x,t)=  2kT   |
|  t         x      cρr         cρr e  |
-------------------------------------

Which matches the results obtained earlier.

Now complete the problem. Find a general solution.

Let z = x− Vt,τ = t, Hence

pict

and

 ∂t
∂-τ = 1

Let W (z,τ)≡ T (x,t)=  T (z+ Vτ,τ)  , therefore

pict

But from the PDE itself which we derived above, we see that                     2k(T−T)
Tx(x,t)V + Tt(x,t)= − --r-e-, Hence

|--------------------------------|
| W  (z,τ)= − 2k[T (z+ V τ,τ )− T] |
|  τ          r               e  |
---------------------------------

Integrating over time we obtain

         ∫
           t  2k-
W (z,τ)=  0 − r [T (z+ V τ,τ )− Te] dτ+ g(z)

For an arbitrary function g(z)  , Substituting back for z = x− Vt and τ = t we obtain

pict

Hence general solution is

|--------------------------------------------------|
|         −2k∫t                                    |
| T (x,t)= r  0[T (x+ V (τ− t),t)− Te]dτ + g(x− V t) |
----------------------------------------------------

The function g(⋅)  can be found from initial conditions that specific T (x,0)

2 Problem 6 page 372 section 6.3

problem:

Prove that if the Dirchlet problem

− ∇2u = λu     x∈ Ω


   u = 0      x ∈ ∂Ω

has nontrivial solution then the constant λ must be positive.

solution:

Using Green first identity,

∫           ∫             ∫   du
  u∇2w dx +   ∇u ⋅∇w dx =    u---dA
 Ω           Ω             ∂Ω dn

Let w = u in the above

∫    2      ∫      2     ∫    du
   u∇ u dx+   ∥∇u ∥ dx =    u dndA
 Ω           Ω            ∂Ω

But ∫   du
 ∂Ω udndA = 0  since u= 0  on ∂Ω  , hence

∫    2        ∫      2
 Ω u∇ u dx = − Ω∥∇u ∥  dx

Now ∇2u= − λ from the PDE itself, hence the above becomes

pict

The integral in the RHS is ≥ 0

Consider the case if the integral in the RHS is zero. This implies that ∥∇u ∥= 0  . But ∥∇u∥ is a norm of a vector. (this vector being the gradient of the scalar field function u(xi)  ). The only way for a norm of a vector to be zero is for the vector itself to be zero.  For example, look at n = 2  ,                                           (  )
∇u (x ,x )=  ∂ui+ ∂uj→ ∥∇u (x ,x )∥2 = (∂u)2+ ∂u 2.
     1 2    ∂x   ∂y         1 2      ∂x     ∂y Since this sum is zero, and we are adding nonnegative numbers, then this means ∂∂uxi = 0  , i= 1..n . This implies that u itself is either zero everywhere, or u is not zero, but ∂u=  0
∂xi  , i.e. u is a constant function w.r.t to each of its independent variables. But we can't use the case when u = 0  everywhere since we are looking for nontrivial solution, hence the other possibility is for u is a constant function w.r.t to each of its independent variables. But this case also fails, because we are told u= 0  on ∂Ω  , and so if it is constant, this means it is zero also everywhere inside Ω  which means the trivial solution again, which we do not like. Hence we conclude that ∥∇u∥ can NOT be zero. Hence only other option is for it to be strictly positive, i.e. ∫ ∥∇u ∥2 dx
 Ω must be > 0

Hence   ∫  2
λ  Ωu dx = k , where k > 0  . But since u is not zero, then ∫   2
 Ω u dx > 0  , hence λ is strictly positive

3 Problem 10 page 373 section 6.3

question:

PIC

solution:

PIC

Part(a)

Apply balance equation. Using the volume density of the material as the quantity to conserve. There is no loss in this problem, hence f = 0

pict

Hence

--------------------
|                   |
| ut(x,t) = − Jx(x,t)|
--------------------|

Now the flux is made up of 2 parts in this problem, due to advection and due to diffusion. Hence

J(x,t)= − Du (x,t)− agu (x,t)
            x

Where the minus sign next to the advection term is due to speed being in opposite direction to the x-axis. Hence the PDE is

         ∂
ut(x,t)= ---[Dux (x,t)+ agu (x,t)]
        ∂ x

--------------------------------
|                              |
| ut(x,t)= Dux,x(x,t)+ agux(x,t)  |
--------------------------------

Part(b)

At steady state, u (x,t) = 0
 t  , hence we obtain

d2u(x)  ag-du(x)
 dx2  + D   dx  = 0

We can solve this by separation of variables. Let y = u′

pict

Let k = a2gD  Since y= u′

      ∫
           −kx
u(x)=    Ae  dx +B

Hence

|-------------------|
|                   |
| u (x) = − Ake−kx+ B  |
---------------------

We consider that at x= ∞, u= 0  , (i.e. since very deep lake, we take x very large)

|--------|
|        |
--B-=-0--|

Then

        A- −kx
u(x)= − k e

We also know that ∫ ∞u(x)dx=  U
 0 , hence

pict

Hence A = − kU

Hence the solution is

u(x)= − A-e−kx
        k

Then

|----------------|
| u(x)=  Ue− a2gDx |
-----------------|

To verify, as x → ∞ we obtain u(x)=  0  and at x = 0, u(x) = U

Note, it does not seem to make too much sense to me that in any tube length, total amount is always U , for this implies, for some length h that ∫
 h0 u (x)dx = U but ∫          ∫                  h
 0hu(x)dx=  0hUe−kxdx= −Uk [e−kx]0 = −Uk[e−kh− 1]

Hence -U[e−kh − 1 ]= U
−k which means 1−e−kh-= 1
  k  or 1− e−kh = k , which means h=  − ln(1−k)
      k  which at k = 1  blows up. So this means k < 1  , i.e. ag
2D  must be < 1  .