Computing 34, 377-390 (1990)
~ [ ~ , i [ ~ 9 by Springer-Verlag 1990
1D-Grid Generation by Monotone Iteration Disereti...
7 downloads
562 Views
549KB Size
Report
This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
Report copyright / DMCA form
Computing 34, 377-390 (1990)
~ [ ~ , i [ ~ 9 by Springer-Verlag 1990
1D-Grid Generation by Monotone Iteration Diseretization Mansour A1-Zanaidi, Safat, and Christian Grossmann, Dresden
Received April 10, 1989; revised August 10, 1989 Summary - - Zusammenfassung 1D-Grid Generation by Monotone Iteration Discretization. On the basis of the monotone discretization technique, we propose in this paper a new feedbackgrid generation principlefor weaklynonlinear 2-point boundary value problems. By means of available estimations resulting from lower and upper solutions the grid can be refined automatically. The monotonicity of the method is guaranteed by principles of monotone iterations. The convergenceproperties of the proposed algorithm are analyzed.
AMS Subject Classifications: 65L10, 65L50, 65L60 Key words: differentialequations, boundary value problems, enclosures, grid generation. EindimensionaleGittergenerierungdurchmonotoneDiskretisierungs-Iteration.In der vorliegendenArbeit
wird ein Gittersteuerungsprinzip auf der Basis yon monotonen Diskretisierungs-Iterations-Verfahren und der damit erzeugten LfsungseinschlieBungenbei schwacb n~chtlinearen 2-Punkt-Randwertaufgaben vorgeschlagen. Mittels verftigbarerSchranken wird das Gitter automatisch erzeugt. Die Monotonie des Veffahrens ist dabei durch Prinzipien der monotonen Iteration gesichert. Es werden die Konvergenzeigenschaften des vorgeschlagenenVerfahrens analysiert.
I. Introduction
In nonlinear boundary value problems the distribution of grid points plays an important role to make a discretization technique efficient. This becomes essential in the case when local singularities occur as discussed in [9], [14] e.g. There exist various principles to estimate the influence of the location of the grid points on the accuracy of the numerical solution of the BVP (see [7], [8], [9], [15], [18] e.g.). In the case when lower and upper bounds are available for the solution, one can directly use this information to control the grid generation. In [13] a feedback grid generation principle based on monotone discretization has been proposed. The two-sided bounds in [13] are generated by an iteration technique and the bounds are obtained in the sense of a limit only. In an alternative approach the monotone iteration discretization (MID) technique proposed in [5], [6] realizes the required enclosure in each finite dimensional substep. In the present paper we base a feedback grid generation on the MID-principle. In contrast to [13] this makes the grid generation completely implementable. We prove that the proposed algorithm gives convergence. Finally, some numerical examples are given to demonstrate the practical behaviour of the M I D grid generation.
378
Mansour A1-Zanaidi and Christian Grossmann
2. Grid Refinement Using MID Iterations In this paper, we deal with the numerical solution of weakly nonlinear boundary value problems -u"+g(.,u)=O
in
f2:=(0,1) (2.1)
u(0) = u(1) = 0 where the function g: ff x ~ ~ ~ is continuously differentiable and satisfies the following monotonicity condition g(x, t) < g(x, s)
for any x ~ f2,
t < s.
(2.2)
Let V denote the Sobolew space V = H~(I2) and V* the related dual space. We define mappings L, G: Hl(I2) ~ V* by (Lu, v) := [ ^ u'(x)v'(x) dx for any u, v ~ V
(,
:= j~ g(x, u(x))v(x) dx. Now, problem (2.1) is equivalent to the operator equation u E V,
(L + G)u = 0.
(2.3)
The weak formulation (2.3) can be used for a wider class of functions g(', "). This is essential for covering the auxiliary problems which are also generated in MID itself itself because there g(., .) is replaced by piecewise continuous functions. We observe that the operator L is linear and coercive in V, i.e. > 7lluJl2
for any u ~ v
holds with some constant 7 > 0. The MID algorithm relies on the following three facts: i) Application of monotone iteration schemes similar to the approach used in [19] to problems (L + O)u = (O - a)u
(2.4)
with appropriate operators D: V ~ V*. ii) Modification of the right hand side of equation (2.4) such that the generated problem can be solved in some finite dimensional space possessing a base which is directly available for numerical calculations. Additionally, this modification is made in such a way that bounds for the solution of the original problem are generated. iii) Using estimators for the modification and keeping the process monotone by additional intersections. Furthermore the iterations are accelerated by updating the operator D such that a linearization occurs approximately.
1D-Grid Generation by Monotone Iteration Diseretization
379
A special realization of problem (2.4) is u s e d i n [19] for proving existence and for generating bounds for the solution of BVPs. Analogously to the principle used in [19] we have the following Lemma 2.1: Let G: C ( ~ )
--*
L2(g2) be a continuous
mapping. We assume functions u,
~ V to exist such that u d k+l ,
Using (3.14) this results in _ u k+l" + d~+Xu k + l_.
< d~+lt~ + x ._.
--
g(xff+( _tk+l) -]- _bk+l(x
+ (d) -- d~+X)(t~ + 1 .9
- u TM)
--
X~_+1)
(3.14)
384
Mansour Al-Zanaidi and Christian Grossmann k + t - g-e. ,k+lxI + b~+t( -< d k9+ l t_t x ik+t - 1 , ~-i x _
in
= z k+t
O k+~ --t
- - A,i_ 1 .k+l',l
"
In an analogous way we obtain __~-k+l,, ..[_ d k + l g k + l >__~-k+l
in
~?~+t.
This proves that the left part of (3.13) holds. The remaining part of the proof, in particular, the complete induction can be realized in the same way as in [5]. Lemma 2.2 guarantees the intervals U k to be decreasing. The existence of the solution can be derived from lemma 2.1. and (3.13). 9 We remark that the theorem is quite standard if the operators D and the grids would not be changed. This is reflected in the proof given above where we concentrate our attention to the non trivial part only.
4. C o n v e r g e n c e A n a l y s i s o f the M I D G r i d G e n e r a t i o n A l g o r i t h m
In theorem 3.1. we showed that the MID grid generation algorithm produces a decreasing sequence of intervals U k E I(V), k = 0, 1, ... as the original MID algorithm did. In this section we investigate the convergence of these intervals to the unique solution u of problem (2.3). Lemma 4.1: There exists some constant c > 0 such that
II_ukllcl~) 0 and B k+l c B k some c 1 > 0 exists such that Ilz_kllL2(a) < Cl ,
II~kllL2(a)< Cl,
k = O, 1. . . .
Problems (3.8) and the coercivity of the operator L lead to
~lluk§
2 _< ( L u k + l , u k+l) < ( ( L + D)uk+l,u k+l) = ( z k + l , u k + l ) .
This results in Iluk§ have the estimation
_< cl/~. Because of the continuous embedding V ~ c ( ~ ) , we Iluk+tHc(~) < c2,
k = 1, 2 . . . .
with some constant c2 > 0. Thus dku k+~ ~ L2(f2) holds and we obtain IIdku~+l [[L2(O)--< tldkllL=(a)IIuk+l
IIC(~) 9
Next, we use (3.8) in the form L u k+l
=
Z k
_
dku k+l "
This results in
Ilu k+l IIH=(a) < c3(llPIIL2r
+ IId~llL=~a)I1u~+x IIcr
ID-Grid Generation by Monotone Iteration Discretization
385
Using the continuous embedding H2([2)(Cl(~) and the previous estimations this proves the statement. 9 Before proving the convergence of the M I D grid generation technique, we introduce some realization of a mapping S(', "; X) satisfying (3.3). As assumed the mapping S(., .; X) should realize a piecewise constant underestimation and overestimation, respectively, of the solution of (3.8) on the actual grid X. This means for given z ~ PI(X) some _s, ~-~ Po(X) have to be determined such that the solution u of the following problem
(L + O)u = z is bounded by _s< u and u < ~, respectively. Let e~, ~ be defined by e i := min{z(xi_ 1 + 0) -- diui_l,z(xi -- O) - diui} and ei := max{~(xi_l + 0) - dfii-l,2(xi - O) - di~i}.
(4.1)
Based on linear interpolations of the solutions of (3.8) and bounds for the remainder (compare [5]) we define the estimator S(-,';X) = [_s,~-] ~ I(Po(X)) by _si := min{ui_l,ul} + e ih2/8 and := max{~_l,~i} + e~h2/8
(4.2)
Further realizations of mappings S(', "; X) satisfying (3.3) are proposed and analyzed in [1]. We remark that the estimator given by (4.2) locally approximates the solutions u, u of problems (L + D)_u = z,
(L + D)~ =
by some _s,~ ~ Po in the following sense Ir_u-- _SllL~(a,)--< chl,
Ilu - s-llL=(a,) -< ehi
with some c > 0. This guarantees the estimators to be close to the lower and upper solution in areas with fine grids. Greater differences can occur over larger subintervalls/2 i, especially if the solutions changes heavily. In [13] we directly used the maximal difference between the upper and lower solution to control the grid. To avoid this non strictly implementable estimations here we apply piecewise constant bounds. The idea can be improved by piecewise linear enclosures e.g. Theorem 4.1: The sequences {Tk}, {U k} generated by the M I D grid generation algorithm with a mapping S(.,.; X) accordng to (4.1), (4.2) converge in the following sense
lim [[~-k_ k--~oo
tk[lL~(.Q) = 0
(4.3)
386
Mansour AI-Zanaidi and Christian Grossmann
and l i m I1~ ~ - _u~llc(~) = 0 . k~oO
Proof: We apply a similar type of proof as used in I-13], however, unlike the detailed analysis is different from [ 13] because in each of the grids only one iteration step is performed instead of a complete iteration on each level of grids.
First, we select intervals O k := (ak, bk) ~ (0, 1) satisfying Oi,
ak, bk e (3
iel k
~k i
k
and [I~-k -- -tkllL~(a~) : ~k with 6k as defined in step 4 of the M I D grid generation algorithm. By the same arguments as used in [7], [13] we have lira h(Xk[ak, bk] ) = 0.
(4.4)
k--~oo
By selecting appropriate subsequences {ak} b {bk} ~ some a, b exist with a = lira a k ,
b = limb k .
ke]~
k~f
Because the sequences {_tk}, {~-k}, {d k} ~ L2(O ) are m o n o t o n e and bounded these sequences converge in L2(O). We denote the related limits by _t, t- and d, respectively, i.e. l i m II_t~ - _tilLers) = 0 ,
l i m IIt k - tilLs(a) = 0
k---~oo
k~oo
and lim lid k - dilLs(a) = 0.
(4.5)
k~Go
By construction and by the supposed monotonicity of g(', ") we have d > 0. F r o m (4.1), (4.2), (4.4) and from lemma 4.1 we obtain l i m lit k -- _Uk IIL=(a~,b~) = 0 ,
l i m I1~-k -- u- k 11'-2(~,bk) -- 0
k~f
kel
With Theorem 3.1 the results in lim II_tk -- Uk IIL2(a.b)= 0, k~oo
l i m l i p - - U- k IIL2(~,b) = O .
k--+oo
Next, we investigate the convergence of {_zk}, {gk}. Due to (3.5) there holds zk = dktk _ gk(.
tk ) _.1_ q k
with gk(., .) and qk(.) defined by qk(x) := bik(X -- xk_l)
for any
and gk(x, S) := g(xk_l, S),
S e R.
x e O~
(4.6)
1D-Grid Generationby Monotone Iteration Discretization
387
Thus, we obtain (4.7)
z k = dt k _ g(., t k) + (d k _ d)t k + g(., t k) _ 9k(., t k) + qk
NOW, (3.4), (3.5) result in 19(x, t~) - g(x~_ 1, t~) + b{(x - x~-l)[ < 2max{l_b~], [B~l}hp
in
0~'.
Using (4.3) to (4.7) we have l i m I1~~
-
d~
+ g(',U)HL2(a,b ) = O.
ke[
Using (3.8), (4.5) this leads to for any
(~',v')+(dg, v)=(d~-o(',g),v) g(a) = ~,
veHl(a,b)
~(b) = fl
with ~ = limk_~o~~k(a), fl = limk-~o~~k(b). Here, (.,.) denotes the usual scalar product in LE(a, b). From lemma 4.1 we conclude = lira ~k(ak),
fi = lim ~k(bk).
k--*oo
k-~oo
The remaining part of the proof is similar to the one given in [13]. Using the definition of ak, bk we obtain uk(ak) -- u_k(ak) < ~06k,
uk(bk) - u_k(bk) < e6k.
(4.8)
By lemma 2.1 (ii) the following estimation holds II~ - u-llcta,bl < max{~ -- ~,fi - fl}.
(4.9)
On the other hand we have l i m I1~k - ukllcto~.b~l = l i m •k" k"*oo
(4.10)
k~oo
Because the sequence {6k} is monotone and bounded it tends to some limit 6 > 0. From lemma 4.l and (4.8)-(4.10) we obtain 6 = l i m I1~ - _ullct,.bl < e 6 . k"-~oo
with e e (0, 1), now, 6 = 0 holds. This proves the convergence (4.3). The remaining part of the statement we conclude from (4.3) by using theorem 3.1 and the resulting estimation I1~k - _u~llc(~) _< I1~-k _ gkllL~(a ).
9
5. Numerical Results
The proposed grid generation principle is implementable on computers in the strict sense because the generated subproblems (3.8) as well as the estimating mappings can be calculated by finite number of operation and by using available information only. With PASCAL-SC [17] an appropriate tool is available for realizing interval
388
Mansour Al-Zanaidi and Christian Grossmann
estimations and for performing interval operations (compare [6]). We apply the proposed grid generation algorithm to the test problem considered in [5], [13], i.e. we consider the problem
- u " + 2~ sinh u - 2a sgn[(x - 0.55)(x - 0.75)] = 0
in
(0, 1)
u(0) = u 0 ) = 1.
H e r e , , > 0 denotes a parameter of the problem. For large values of ~ the solution of the given problem has boundary layers as well as interior layers at 0.55 and 0.75. We obtain the following numerical results for different sets of data. As initial grids we used equi-distributed ones with N o = 20 and the functions t o = - 2, ~-o = 2 have been applied as starting bounds. = 10 0 N,
deIge, deleq,,
0.9 128 7.76E-6
0.9 102 4.05E-6 2.40E-5
~ = 1000 0.5 0.9 132 125 2.74E-4 2.98E-4 6.65E-3
Here, N , denotes the final number of grid points we used. We denote by deloe~ and by dele,u the maximum error del= max {fi-i-u_i } O