Acessibilidade / Reportar erro

Numerical Solution of Heat Equation with Singular Robin Boundary Condition Work presented at the XXXVI National Congress of Applied and Computational Mathematics, Gramado, RS, Brazil, 2016.

ABSTRACT

In this work we study the numerical solution of one-dimensional heat diffusion equation subject to Robin boundary conditions multiplied with a small parameter epsilon greater than zero. The numerical evidences tell us that the numerical solution of the differential equation with Robin boundary condition are very close in certain sense of the analytic solution of the problem with homogeneous Dirichlet boundary conditions when ε tends to zero.

Keywords:
Eigenvalue Problems; Finite Difference Method; Robin Boundary Conditions; Numerical Solutions

RESUMO

Neste trabalho, obtemos soluções numéricas da equação diferencial de difusão do calor unidimensional com um parâmetro pequeno ε nas condições de contorno de Robin. Exemplos numéricos demonstram que as soluções numéricas do problema com condição de contorno de Robin convergem para a soluções analíticas do problema de Dirichlet homogêneo quando ε tende a zero.

Palavras-chave:
Problema de Autovalores; Método de Diferenças Finitas; Condições de Contorno de Robin; Soluções Numéricas

1 INTRODUCTION

It is well known that the diffusion differential equation models the transient conduction phenomenon that occurs in numerous engineering applications and may be analyzed by using different analytic and numerical methods. Many transient problems involving geometry and simple boundary value conditions, their analytic solution are known explicitly, especially the one-dimensional (1D) case. Still for the two-dimensional (2D) and three-dimensional (3D) cases some of the analytic solutions are known (see 11. J.M. Arrieta, A.N. Carvalho & A. Rodríguez-Bernal. Attractors of parabolic problems with nonlinear boundary conditions. Uniform bounds. Comunications in Partial Differential Equations, 25(1-2) (2000), 1-37.), (22. T.L. Bergman, A.S. Lavine, I.F. P. & D.P. Dewitt. “Fundamentals of Heat and Mass Transfer”. 7th ed., John Wiley and Sons, Inc. (2007).). However, in most cases, the geometry or boundary conditions make it impossible to apply analytic techniques to solve the heat diffusion equation.

In this work we use the Crank-Nicolson Finite Difference Method (FDM) (see 99. J.D. Hoffman. “Numerical Methods for Engineers and Scientists”. Marcel Dekker, Inc., New York, 2nd edition (2001).) to solve the 1D heat diffusion equation in transient regime with Robin boundary conditions given by

{ u t = u x x , 1 < x < 1, t > 0, ε u x ( 1 ) = u ( 1 ) , ε u x ( 1 ) = u ( 1 ) , (1.1)

where ε ∈ (0,1].

If ε = 0 in (1.1) we have the classical problem with homogeneous Dirichlet boundary conditions for the heat equation which is well known.

There is great interest on heat problems and much work was done considering different boundary conditions. Nevertheless, the particular (1.1) problem with singular boundary conditions, depending on a positive parameter, has not been studied previously neither analytically nor numerically. Our little contribution with this kind of problems which depend of a small parameter is to show numerical solutions when we vary the values of ε.

Many problems in the industry are modeled by the heat equation subject to specific initial and boundary conditions, and sometimes it is not possible to get the analytic solution. Actually many researchers use different numerical techniques to understand the behavior of the solution (for more details see (5, 6, 10) and in references therein).

This paper is organized as follows. In Section 2, we state that the equation (1.1) has unique solution for each ε > 0. Also we study asymptotic behaviour of the eigenvalues of ( ε ) when ε tends to zero. In Section 3 a brief description of the problem with Robin boundary condition in conjunction with the FDM approach is presented. The numerical experiments are discussed in Section 4, and finally the conclusions are presented in Section 5.

2 ON THE EXISTENCE OF SOLUTION

Let Ω = (-1, 1) and the Lebesgue space X = L 2 (Ω). Let A ε: D(A ε ) ⊂ L 2(Ω) L 2(Ω) be an unbounded linear operator defined through

D ( A ε ) = { u H 2 ( Ω ) : ε u x ( 1 ) = u ( 1 ) , ε u x ( 1 ) = u ( 1 ) } , (2.1)

A ε u = u " . (2.2)

Thus we can write the equation (1.1) as an evolution equation in L 2(Ω) (see 77. D. Henry. “Geometric theory of semilinear parabolic equations”, volume 840. Springer-Verlag, Berlim (1981).) as follows

{ u ˙ = A ε u , t > 0, u ( 0 ) = u 0 H 1 ( Ω ) . (2.3)

Theorem 1.For each u0H 1(Ω) there exists a unique solution u = u(t;u 0) of(2.3)defined on its maximal interval of existence[0,τu0)which mean that eitherτu0=+, or ifτu0<themlimsuptτu0u(t,u0)=+.

Proof. See 11. J.M. Arrieta, A.N. Carvalho & A. Rodríguez-Bernal. Attractors of parabolic problems with nonlinear boundary conditions. Uniform bounds. Comunications in Partial Differential Equations, 25(1-2) (2000), 1-37.),(77. D. Henry. “Geometric theory of semilinear parabolic equations”, volume 840. Springer-Verlag, Berlim (1981).. □

It is well known that for a fixed value ε > 0, the problem (2.3) generates a well-defined linear semigroup in H 1(Ω), the solutions enter W 1.p (Ω) for any p such that 1< p < ∞ and are classical for t positive (for more details see 11. J.M. Arrieta, A.N. Carvalho & A. Rodríguez-Bernal. Attractors of parabolic problems with nonlinear boundary conditions. Uniform bounds. Comunications in Partial Differential Equations, 25(1-2) (2000), 1-37.),(77. D. Henry. “Geometric theory of semilinear parabolic equations”, volume 840. Springer-Verlag, Berlim (1981).).

2.1 Equilibrium solution for (1.1)

The equilibrium solution of (1.1) satisfy the elliptic boundary value problem

{ u x x = 0, t > 0, 1 < x < 1, ε u x ( 1 ) = u ( 1 ) , ε u x ( 1 ) = u ( 1 ) . (2.4)

Theorem 2.For every ε > 0 the unique equilibrium solution of(2.4)is u ε ≡ 0.

Proof. The solution of the problem (2.4) is given by

u ( x ) = ( u ( 1 ) u ( 1 ) 2 ) x + u ( 1 ) + u ( 1 ) 2 , x Ω . (2.5)

By the boundary conditions (2.4) in (2.5) we have that u(?1) and u(1) satisfy

u ( 1 ) = ε u ( 1 ) u ( 1 ) 2 = u ( 1 ) . (2.6)

Thus we have u(?1) + u(1) = 0, and (2.5) provides

u ( x ) = ( u ( 1 ) u ( 1 ) 2 ) x . (2.7)

Again, by using the boundary conditions (2.4) we have

u ( 1 ) u ( 1 ) 2 = ε u ( 1 ) u ( 1 ) 2 , (2.8)

and for ε ≠ 1 we have

u ( 1 ) u ( 1 ) = 0. (2.9)

Finally, from (2.9) we conclude that u ε ≡ 0. □

Remark 3. From the Theorem 2 we can say that uε ≡ 0 converges to the solution u ≡ 0 of the problem with homogeneous Dirichlet bounday conditions.

2.2 Eigenvalue problem

Consider the eigenvalue problem associated with the linear operator A ε

{ u x x = λ ε u , in Ω , ε u x ( 1 ) = u ( 1 ) , ε u x ( 1 ) = u ( 1 ) .

( ( )

For each ε > 0, the problem ( ε ) has a sequence of real eigenvalues {λnε}n=1, with an L 2(Ω)-orthogonal and complete associated system of eigenfunctions {φnε}n=1. This conclusion is possible because the operator Aε is densely defined closed and self-adjoint in L 2(Ω).

From (2.4) we conclude that zero is not an eigenvalue for ( ε ). The variational formulation for λnε is given by

λ n ε = min ψ Y n { ε ( ψ ' ( 1 ) 2 + ψ ' ( 1 ) 2 ) Ω | ψ ' | 2 Ω ψ 2 } , (2.10)

where

Y n = { w C 2 ( Ω ) : w 0, w | 1 1 = ± ε w | 1 1 , Ω w φ j ε = 0, j = 1,2,..., n 1 } .

For more details about the variational formulation of boundary value problems see for example [33. H. Brezis. “Functional analysis, Sobolev spaces and partial differential equations”. Springer, New York (2011)., Chapter 8] and [44. G. Buttazzo, M. Giaquinta & S. Hildebrandt. “One-dimensional variational problems. An introduction”, volume 15. The Clarendon Press, Oxford University Press, New York (1998)., Chapter 5].

Let λε = ω2, ω ∈ ℝ, and φ ε (x) = cosh(ωx) the eigenfunction associated with λ(. From the boundary conditions for φ ε , we have

tanh ω = 1 ε ω . (2.11)

The solutions of (2.11) can be determined numerically. They can also be obtained approximately by sketching the graphs of Ψ 1(ω) = tanh ω and ψ2(ω)=1εω for ε = 0.1, 0.09, 0.08, 0.07, and identifying the points of intersection of the curves (see in Fig. 1). Let ω 1(ε) be the interception points of the curves Ψ 1(ω) and Ψ 2(ω). Thus λ1ε=ω1(ε)2.

Figure 1:
Graphical solution of tanh(ω)=1εω for ε = 0:1; 0:09; 0:08; 0:07.

Now, taking the eigenfunction φ ε (x) = sinh(ωx) and using the boundary condition, we have

tanh ω = ε ω . (2.12)

In Fig. 2 we also have plotted the graphs of ϕ 1(ω) = tanh ω and ϕ2(ω) = εω for ε = 0.1, 0.09, 0.08, 0.07, as function of ω. Let ω 2(ε) be the interception points of the curves ϕ1(ω) and ϕ 2(ω). Thus λ2ε=ω2(ε)2.

Figure 2:
Graphical solution of tanh(ω) = εω for ε = 0:1; 0:09; 0:08; 0:07.

From Figs. 1 and 2 we can observe that the eigenvalues λ1ε and λ2ε increase continually when ε tends to zero, respectively.

Lemma 4.Let ε > 0. Thenλ1ε>λ2ε. Moreoverλ1ε,λ2εwhen ε 0.

Proof. We know that the functions tanh ω and coth ω can be write as

tanh ω = 1 2 e 2 ω + 2 e 4 ω 2 e 6 ω + ... (2.13)

coth ω = 1 + 2 e 2 ω + 2 e 4 ω + 2 e 6 ω + ... (2.14)

From the equation (2.11), we have

ω = 1 ε 1 tanh ω . (2.15)

When ω is large enough, tanh ω approaches 1. Thus, from (2.15) we have

ω = 1 ε coth 1 ε = 1 ε ( 1 + 2 e 2 / ε + 2 e 4 / ε + 2 e 6 / ε + ... ) . (2.16)

Since λ1ε=ω1(ε)2, we have

λ 1 ε = 1 ε 2 + 4 ε 2 e 2 / ε + 8 ε 2 e 4 / ε + . (2.17)

From (2.12) we obtain

ω = 1 ε tanh ω . (2.18)

When ω is large enough, tanh ω approaches 1. Thus, from (2.18) we have

ω = 1 ε tanh 1 ε = 1 ε ( 1 2 e 2 / ε + 2 e 4 / ε 2 e 6 / ε + ) . (2.19)

Since λ2ε=ω2(ε)2, we have

λ 2 ε = 1 ε 2 4 ε 2 e 2 / ε + 8 ε 2 e 4 / ε . (2.20)

From (2.17) and (2.20) follow the results. □

Also from (2.17) and (2.20) we have that the gap between λ1ε and λ2ε is given by

λ 1 ε λ 2 ε 8 ε 2 e 2 / ε . (2.21)

Remark 5.When ε tends to zero, the problem ( ε) becomes

{ u x x = λ 0 u , 1 < x < 1, u ( 1 ) = u ( 1 ) = 0.

( 0)

We known that the eigenvalues of the problem ( 0) are given byλn0=n2π2,n.

When ε tends to infinity, the problem ( ε) becomes

{ u x x = λ 0 u , 1 < x < 1, u x ( 1 ) = u ( 1 ) = 0.

( )

3 THE FDM APPROACH

In this section we present the numerical schemes to solve (1.1) by applying the finite difference method (FDM) combined with the classic and unconditionally stable Crank-Nicolson method (see88. H.E. Hernández-Figueroa & C.E. Rubio-Mercedes. Transparent boundary for the finite element simulation of temporal soliton propagation. IEEE Transaction on Magnetics, 34(5) (1998).).

To solve (1.1), the spatial domain [-1; 1] is discretized with uniform grid of n divisions of size h, where each spatial nodal points are x i = ih - 1. Similarly, the temporal domain [0, T] is divided in m parts of size k, where T > 0 and the temporal nodal points are indexed by t j = jk. With this indexes, we can use the following notation for the values of u: u ij = u(x i ,t j ) and u i = u(x i , t).

From the boundary condition given in (1.1) at x = - 1 and for ε > 0 we write

u x ( 1, t ) = u ( 1, t ) ε .

Assuming that at x = -1, the function u is twice differentiable in x, so that we can write

u x x ( 1, t ) = u x ( 1, t ) ε = u ( 1, t ) ε 2 ,

and in the same way at x =1 we get

u x x ( 1, t ) = u x ( 1, t ) ε = u ( 1, t ) ε 2 .

Also, by using the finite difference approach for u xx (t) (see 99. J.D. Hoffman. “Numerical Methods for Engineers and Scientists”. Marcel Dekker, Inc., New York, 2nd edition (2001).), the problema (1.1) can be write

d u i ( t ) d t = u i + 1 ( t ) 2 u i ( t ) + u i 1 ( t ) h 2 (3.1)

for i = 1, ..., n - 1 , and for i = 0 and i = n, we have

d u 0 ( t ) d t = u 0 ( t ) ε 2 , (3.2)

and

d u n ( t ) d t = u n ( t ) ε 2 , (3.3)

respectively. Thus by using (3.1)-(3.3), the problem (1.1) can be transformed into the first-order matrix differential equation given by

t [ u 0 u 1 u 2 u n 2 u n 1 u n ] = 1 h 2 [ h 2 ε 2 0 0 0 0 0 1 2 1 0 0 1 2 0 0 2 1 0 0 1 2 1 0 0 0 0 0 h 2 ε 2 ] [ u 0 u 1 u 2 u n 2 u n 1 u n ] , (3.4)

or in compact way

d U d t = L U , (3.5)

where, the matrix L represents the discrete counterpart of the corresponding differential operator given in (1.1), which is a tridiagonal band matrix and U denotes a vector with the unknown values of u defined over the nodes of the spatial mesh.

There are two general methods to solve (3.5): the explicit and implicit finite difference schemes. The type of implicit scheme adopted in this work was the Crank-Nicolson algorithm (see 88. H.E. Hernández-Figueroa & C.E. Rubio-Mercedes. Transparent boundary for the finite element simulation of temporal soliton propagation. IEEE Transaction on Magnetics, 34(5) (1998).).

4 NUMERICAL RESULTS

For the numerical examples we consider the initial condition given by

u ( x ,0 ) = cos ( π 2 x ) , (4.1)

where for homogeneous Dirichlet boundary condition, which is obtained from (1.1) with ε = 0, the analytical solution is

u ( x , t ) = exp ( π 2 4 t ) cos ( π 2 x ) . (4.2)

The examples were solved using n = 20 divisions in x axis and m = 100 divisions in temporal axis t. In Fig. 3 we display the spatial behavior of the solution for t = 1.5 considering several values of ε: ε = 0.08, ε = 0.05, ε = 0.025, ε = 0.0075. The absolute error and the maximum error norm between analytical and numerical solution, u a and u n , are calculated and shown in Tables 1 and 2, respectively. In Fig. 4 we show the temporal behavior of the solution for the same values of ε used in the Fig. 3 but at x = 0.8. From these simulations, shown in Figs. 3 and 4 and in Tables 1 and 2, we can see that the numerical solutions of (1.1), which is a boundary value problem with Robin boundary conditions, converges to the exact solution of the problem with homogeneous Dirichlet boundary conditions, when ε tends to zero.

Figure 3:
Numerical solutions of (1.1) when ε 0 at t = 1.5.

Table 1:
Absolute error ||u a - u n || in function of x calculated from the data of Fig. 3.

Table 2:
Maximum error norm of the difference of solutions u a and u n .

Figure 4:
Numerical solutions of (1.1) when ε 0 at x = 0.8.

The Figs. 5 and 6 display the temporal evolution of the solutions with the initial condition given by (4.1), the numerical solution for ε = 0.05 in Fig. 5 and analytical solution in 6. It is worth noting that the numerical solution presented in Fig. 5 for ε = 0.05 agrees very well with analytic solution of the problem with homogeneous Dirichlet boundary conditions presented in Fig. 6.

Figure 5:
Temporal evolution of the numerical solution obtained with initial condition given by (4.1) and for ε = 0.05.

Figure 6:
Temporal evolution of the analytical solution obtained in (4.2), with initial condition given by (4.1).

5 CONCLUSIONS

In the first part of the paper, we prove several results on the well-posedness of the system (1.1) and the associated stationary problem. In the second part, the application of the Crank-Nicolson for the numerical solution of (1.1), involving the Robin boundary condition, has been presented here. The usefulness of this numerical technique has also been demonstrated by means of examples involving the solution of (1.1) for several values of ε. Analytical approaches and numerical simulations have clearly illustrated the asymptotic behaviour of the solution of (1.1) when ε tends to zero. Continuous dependence of the solutions of (1.1) from the ε parameter has also been demonstrated.

ACKNOWLEDGEMENTS

G. Lozada-Cruz is partially supported by the São Paulo Research Foundation (FAPESP, grant: 2015/24095-6). C.E. Rubio-Mercedes is supported by The Mato Grosso do Sul Research Foundation (FUNDECT, grant: 219/2016). J. Rodrigues-Ribeiro is partially supported by Coordination for the Improvement of Higher Education Personnel (CAPES, grant: PICME-9725290/M).

The authors are grateful to the referee for valuable remarks improving the original version of the paper.

REFERENCES

  • 1
    J.M. Arrieta, A.N. Carvalho & A. Rodríguez-Bernal. Attractors of parabolic problems with nonlinear boundary conditions. Uniform bounds. Comunications in Partial Differential Equations, 25(1-2) (2000), 1-37.
  • 2
    T.L. Bergman, A.S. Lavine, I.F. P. & D.P. Dewitt. “Fundamentals of Heat and Mass Transfer”. 7th ed., John Wiley and Sons, Inc. (2007).
  • 3
    H. Brezis. “Functional analysis, Sobolev spaces and partial differential equations”. Springer, New York (2011).
  • 4
    G. Buttazzo, M. Giaquinta & S. Hildebrandt. “One-dimensional variational problems. An introduction”, volume 15. The Clarendon Press, Oxford University Press, New York (1998).
  • 5
    L.D. Chiwiacowsky & H. de Campos Velho. Different Approaches for the Solution of a Backward Heat Conduction Problem. Inverse Problems in Engineering, (3) (2010), 471-494.
  • 6
    R. Das, S. Mishra, T. Kumar & R. Uppaluri. An Inverse Analysis for Parameter Estimation Applied to a Non-Fourier Conduction-Radiation Problem. Heat Transfer Engineering, 32(6) (2011), 455-466.
  • 7
    D. Henry. “Geometric theory of semilinear parabolic equations”, volume 840. Springer-Verlag, Berlim (1981).
  • 8
    H.E. Hernández-Figueroa & C.E. Rubio-Mercedes. Transparent boundary for the finite element simulation of temporal soliton propagation. IEEE Transaction on Magnetics, 34(5) (1998).
  • 9
    J.D. Hoffman. “Numerical Methods for Engineers and Scientists”. Marcel Dekker, Inc., New York, 2nd edition (2001).
  • 10
    L.B.L. Santos, L.D. Chiwiacowsky & H.F. Campos-Velho. Genetic algorithm and variational method to identify initial conditions: worked example in hyperbolic heat transfer. Tendências em Matemática Aplicada e Computacional, 14(2) (2013), 265-276.
  • Work presented at the XXXVI National Congress of Applied and Computational Mathematics, Gramado, RS, Brazil, 2016.

Publication Dates

  • Publication in this collection
    May-Aug 2018

History

  • Received
    17 Apr 2017
  • Accepted
    23 Nov 2017
Sociedade Brasileira de Matemática Aplicada e Computacional Rua Maestro João Seppe, nº. 900, 16º. andar - Sala 163 , 13561-120 São Carlos - SP, Tel. / Fax: (55 16) 3412-9752 - São Carlos - SP - Brazil
E-mail: sbmac@sbmac.org.br