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
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
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
Theorem 1.For each u0 ∈ H 1(Ω) there exists a unique solution u = u(t;u 0) of(2.3)defined on its maximal interval of existencewhich mean that either, or ifthem.
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
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
By the boundary conditions (2.4) in (2.5) we have that u(?1) and u(1) satisfy
Thus we have u(?1) + u(1) = 0, and (2.5) provides
Again, by using the boundary conditions (2.4) we have
and for ε ≠ 1 we have
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 ε
(ℰ ( )
For each ε > 0, the problem (ℰ ε ) has a sequence of real eigenvalues , with an L 2(Ω)-orthogonal and complete associated system of eigenfunctions . 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 is given by
where
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
The solutions of (2.11) can be determined numerically. They can also be obtained approximately by sketching the graphs of Ψ 1(ω) = tanh ω and 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 .
Now, taking the eigenfunction φ ε (x) = sinh(ωx) and using the boundary condition, we have
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 .
From Figs. 1 and 2 we can observe that the eigenvalues and increase continually when ε tends to zero, respectively.
Lemma 4.Let ε > 0. Then. Moreoverwhen ε → 0.
Proof. We know that the functions tanh ω and coth ω can be write as
From the equation (2.11), we have
When ω is large enough, tanh ω approaches 1. Thus, from (2.15) we have
Since , we have
From (2.12) we obtain
When ω is large enough, tanh ω approaches 1. Thus, from (2.18) we have
Since , we have
From (2.17) and (2.20) follow the results. □
Also from (2.17) and (2.20) we have that the gap between and is given by
Remark 5.When ε tends to zero, the problem (ℰ ε) becomes
(ℰ 0)
We known that the eigenvalues of the problem (ℰ 0) are given by.
When ε tends to infinity, the problem (ℰ ε) becomes
(ℰ ∞)
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
Assuming that at x = -1, the function u is twice differentiable in x, so that we can write
and in the same way at x =1 we get
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
for i = 1, ..., n - 1 , and for i = 0 and i = n, we have
and
respectively. Thus by using (3.1)-(3.3), the problem (1.1) can be transformed into the first-order matrix differential equation given by
or in compact way
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
where for homogeneous Dirichlet boundary condition, which is obtained from (1.1) with ε = 0, the analytical solution is
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.
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.
Temporal evolution of the numerical solution obtained with initial condition given by (4.1) and for ε = 0.05.
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
-
1J.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.
-
2T.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).
-
3H. Brezis. “Functional analysis, Sobolev spaces and partial differential equations”. Springer, New York (2011).
-
4G. Buttazzo, M. Giaquinta & S. Hildebrandt. “One-dimensional variational problems. An introduction”, volume 15. The Clarendon Press, Oxford University Press, New York (1998).
-
5L.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.
-
6R. 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.
-
7D. Henry. “Geometric theory of semilinear parabolic equations”, volume 840. Springer-Verlag, Berlim (1981).
-
8H.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).
-
9J.D. Hoffman. “Numerical Methods for Engineers and Scientists”. Marcel Dekker, Inc., New York, 2nd edition (2001).
-
10L.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