Content deleted Content added
mNo edit summary |
m Code cleaned up using CodeFixer |
||
Line 12:
:where ''f'' is the unknown [[function (mathematics)|function]], ''f''<sub>''xx''</sub> and ''f''<sub>''yy''</sub> denote the second [[partial derivative]]s with respect to ''x'' and ''y'', respectively.
Here, the [[___domain (mathematics)|___domain]] is the square [0,1]
This particular problem can be solved exactly on paper, so there is no need for a computer. However, this is an exceptional case, and most BVPs cannot be solved exactly. The only possibility is to use a computer to find an approximate solution.
Line 18:
=== Solving on a computer ===
A typical way of doing this is to ''sample'' ''f'' at regular [[interval]]s in the [[Square (geometry)|square]] [0,1]
There are some difficulties, for instance it is not possible to calculate ''f''<sub>''xx''</sub>(0.5,0.5) knowing ''f'' at only 64 points in the square. To overcome this, one uses some sort of numerical approximation of the derivatives, see for instance the [[finite element method]] or [[finite difference]]s. We ignore these difficulties and concentrate on another aspect of the problem.
Line 27:
:2''a'' + 5''b'' = 12 (*)
:6''a''
This is a system of 2 equations in 2 unknowns (''a'' and ''b''). If we solve the BVP above in the manner suggested, we will need to solve a system of 64 equations in 64 unknowns. This is not a hard problem for modern computers, but if we use a larger number of samples, even modern computers cannot solve the BVP very efficiently.
Line 33:
=== Domain decomposition ===
Which brings us to ___domain decomposition methods. If we split the ___domain [0,1]
==== Size of the problems ====
In terms of the linear systems, we're trying to split the system of 64 equations in 64 unknowns into two systems of 32 equations in 32 unknowns. This would be a clear gain, for the following reason. Looking back at system (*), we see that there are 6 important pieces of information. They are the coefficients of ''a'' and ''b'' (2,5 on the first line and 6,
:System 1: 3''a'' = 15
:System 2: 6''b'' =
We see that this system has only 4 important pieces of information. This means that a computer program will have an easier time solving two
==== Domain decomposition algorithm ====
Unfortunately, for technical reason it is usually not possible to split our grid of 64 points (a
:1) Begin with an approximate solution of the
:2) From the
:3) Solve the two
:4) Put the two
:5) If the solution isn't very good yet, repeat from 2.
There are two ways in which this can be better than solving the base
In fact, solving two
== A technical example ==
Line 68:
The boundary condition is boundedness at infinity.
We decompose the ___domain '''R'''² into two overlapping subdomains H<sub>1</sub> = (<nowiki>
:''u''<sup>( ''j'' )</sup><sub>''xx''</sub> + ''u''<sup>( ''j'' )</sup><sub>''yy''</sub> = ''f'' in H<sub>''j''</sub>
Line 78:
#Start with approximate solutions ''u''<sup>( 1 )</sup><sub>0</sub> and ''u''<sup>( 2 )</sup><sub>0</sub> of the PDE in subdomains H<sub>1</sub> and H<sub>2</sub> respectively. Initialize ''k'' to 1.
#Calculate ''u''<sup>( ''j'' )</sup><sub>''k'' + 1</sub> = S(''f'',''u''<sup>(3
#Increase ''k'' by one and repeat 2 until sufficient precision is achieved.
Line 90:
* [http://www.ddm.org The official Domain Decomposition Methods page]
{{
[[Category:Domain decomposition methods]]
|