Nonlinear finite elements/Weak form of heat equation

From testwiki
Jump to navigation Jump to search

Template:TOCright

Weak form of the heat equation

Let us now derive the weak form of the model of heat conduction in equations (16). It is more convenient to use the form of the governing equation given in equation (10). The equation is

ρCvTt[κ๐‘ป]=s.

Let ๐’ฑ be the space of weighting functions (or test functions). Then any w(๐ฑ)๐’ฑ (๐ฑΩยฏ) is continuously differentiable. The weighting functions also satisfy w(๐ฑ)=0 on ΓT. Recall that we called a similar set of functions ๐’ณ in our discussion of the Poisson problem. We can write

๐’ฑ={w(๐ฑ)|๐ฑΩยฏ,w(๐ฑ)โ„‹1(Ω),andw(๐ฑ)=0onΓT}.

Let ๐’ฎt be the set of trial solutions. Then any trial function T(๐ฑ,t)๐’ฎt has to satisfy the essential boundary conditions on ΓT. This is written as

๐’ฎt={T(๐ฑ,t)|๐ฑΩยฏ,t>0,T(๐ฑ,t)โ„‹1(Ω),andT(๐ฑ,t)=T(๐ฑ,t)onΓT}.

To get the weak form, we multiply the governing equation by the weighting function and integrate over the volume to get

(28)Ω(ρCvTt)wdVΩ[(κ๐‘ป)]wdV=ΩswdV.

The second term in the equation has second-order derivatives. We will convert these into first order derivatives using the divergence theorem and the identity

(φ๐ฎ)=φ(๐ฎ)+(φ)๐ฎ.

From the identity we get

(29)w[(κT)]=[w(κT)](w)(κT).

Substitute (29) into the second term in (28) to get

(30)Ω[(κT)]wdV=Ω[w(κT)]dVΩ(w)(κT)dV.

Apply the divergence theorem to the first term on the right hand side of (30). You will get

(31)Ω[w(κT)]dV=Γ[w(κT)]๐งdA

where ๐ง is the unit outward normal to the boundary Γ.

Since w(๐ฑ)=0 on ΓT, equation (31) becomes

(32)Ω[w(κT)]dV=Γq[w(κT)]๐งdA.

Substitute (31) into (30) and (30) back into (28). You will get

(33)Ω(ρCvTt)wdVΓq[w(κT)]๐งdA+Ω(w)(κT)dV=ΩswdV.

After rearrangement, we get the exact weak form of the heat equation

(34)Ω(ρCvTt)wdV+Ω(w)(κT)dV=ΩswdV+Γq[w(κT)]๐งdA.

Recall that equation (15) gives us

(κT)๐ง=qonΓq.

Therefore equation (34) can be written as

(35)Ω(ρCvTt)wdV+Ω(w)(κT)dV=ΩswdVΓqwqdA.

In more compact notation

(36)w,ρCvTห™+a(w,T)=w,sw,qΓ.

Following the same process for the initial condition, we get

(37)Ωw[ρCvT(0)]dV=Ωw[ρCvT0]dV.

In compact notation,

w,ρCvT(0)=w,ρCvT0.

The variation initial boundary value problem for heat conduction can then be stated as follows.

๐–ต๐–บ๐—‹๐—‚๐–บ๐—๐—‚๐—ˆ๐—‡๐–บ๐—…๐–ก๐–ต๐–ฏ๐–ฟ๐—ˆ๐—‹๐—๐—๐–พ๐–ง๐–พ๐–บ๐—๐–ค๐—Š๐—Ž๐–บ๐—๐—‚๐—ˆ๐—‡Find a functionT(t)๐’ฎt,t[0,τ]such that for allw๐’ฑΩ(ρCvTt)wdV+Ω(w)(κT)dV=ΩswdVΓqwqdAΩwρCvT(0)dV=ΩwρCvT0dV.

Well-posedness of the boundary value problem

Unless Ω has a simple geometry - square, spherical or cylindrical, it is very difficult to solve the BVP in closed form (using separation of variables, for instance). For some BVPs, it may not be possible at all to get a closed form solution. In fact, it may not even be obvious that a solution exists or is unique or that the solution depends continuously on the data.

A well-posed problem is one that satisfied the three conditions :

  • a solution exists.
  • the solution is unique.
  • the solution depends continuously on the data (that is, smallchanges in the data do not cause wild fluctuations in the solution).

BVPs can be used to get reliable results only when they are well-posed.

Let us look at an example. Recall the BVP for the Poisson equation.

๐–ฏ๐—ˆ๐—‚๐—Œ๐—Œ๐—ˆ๐—‡๐—Œ๐–พ๐—Š๐—Ž๐–บ๐—๐—‚๐—ˆ๐—‡PDE:2T=finΩBCs:T=T(๐ฑ)onΓTandTn=g(๐ฑ)onΓq

Assume that Γ=Γq. That means that the heat flux is given on the entire boundary.

Suppose T is a solution. Then T+c is also a solution, where c is a constant. To see why, compute the Laplacian of T+c.

2(T+c)=[(๐‘ป+๐’„)]=(๐‘ป)=2T.

So the solution T+c satisfies the PDE.

How about the boundary conditions?Plug in T+c into the boundary condition to get

(T+c)n=[(T+c)]๐ง=(T)๐ง=Tn

So the boundary conditions are also satisfied. That means that if ΓT=, then the solution is not unique. We can add any constant temperature to the body and the solution will be consistent with the governing equations.

We can also check the conditions under which a solution will exist for this problem. Integrate the Poisson equation over Ω to get

Ω2TdV=ΩfdV.

Apply the divergence theorem to the Laplacian. We get

Ω2TdV=Ω(๐‘ป)dV=Γ๐งTdA=ΓTndA.

From the boundary condition,

ΓTndA=ΓgdA.

Therefore, we have

ΓgdA=ΩfdVor,ΓgdA+ΩfdV=0.


The boxed equation is called a compatibility condition and a solution does not exist unless this condition is satisfied.

In the context of the steady heat conduction problem, the compatibility condition says that the heat generated in the body must equal the heat flux. A similar (but more complicated) exercise can be used to show the existence and uniqueness of solutions for the full heat equation.

Template:Subpage navbar