On the generalized method of lines and its proximal explicit and hyper-finite difference approaches
Fabio Botelho

TL;DR
This paper introduces proximal explicit and hyper-finite difference methods for the generalized method of lines, aiming to reduce solution error in PDE discretization through novel domain decomposition and boundary condition techniques.
Contribution
It develops new proximal and hyper-finite difference approaches for the generalized method of lines, enhancing accuracy and computational efficiency in PDE solutions.
Findings
Proximal explicit approach reduces solution error for small parameters.
Hyper-finite differences enable domain decomposition without increasing error.
Numerical examples demonstrate method effectiveness.
Abstract
This article firstly develops a proximal explicit approach for the generalized method of lines. In such a method, the domain of the PDE in question is discretized in lines and the equation solution is written on these lines as functions of the boundary conditions and domain shape. The main objective of introducing a proximal formulation is to minimize the solution error as a typical parameter is too small. In a second step we present another procedure to minimize this same error, namely, the hyper-finite differences approach. In this last method the domain is divided in sub-domains on which the solution is obtained through the generalized method of lines allowing the parameter to be very small without increasing the solution error. The solutions for the sub-domains are connected through the boundary conditions and the solution of the partial differential…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical methods in engineering · Numerical methods for differential equations · Advanced Numerical Methods in Computational Mathematics
On the generalized method of lines and its proximal explicit and hyper-finite difference approaches
Fabio Silva Botelho
Department of Mathematics
Federal University of Santa Catarina, UFSC
Florianópolis, SC - Brazil
Abstract
This article firstly develops a proximal explicit approach for the generalized method of lines. In such a method, the domain of the PDE in question is discretized in lines and the equation solution is written on these lines as functions of the boundary conditions and domain shape. The main objective of introducing a proximal formulation is to minimize the solution error as a typical parameter is too small. In a second step we present another procedure to minimize this same error, namely, the hyper finite differences approach. In this last method the domain is divided in sub-domains on which the solution is obtained through the generalized method of lines allowing the parameter to be very small without increasing the solution error. The solutions for the sub-domains are connected through the boundary conditions and the solution of the partial differential equation in question on the node lines which separate the sub-domains. In the last sections of each text part we present the concerning softwares and perform numerical examples.
1 Introduction
This article develops two improvements relating the generalized method of lines. In our previous publications [2, 4], we highlight the method there addressed may present a relevant error as a parameter is too small, that is, as is about 0.01, 0.001 or even smaller.
In the present section we develop a solution for such a problem through a proximal formulation suitable for a large class of non-linear elliptic PDEs.
At this point we reintroduce the generalized method of lines, originally presented in F.Botelho [2]. In the present context we add new theoretical and applied results to the original presentation. Specially the computations are all completely new. Consider first the equation
[TABLE]
with the boundary conditions
[TABLE]
From now on we assume that , and are smooth functions (we mean functions), unless otherwise specified. Here denotes the internal boundary of and the external one. Consider the simpler case where
[TABLE]
and suppose there exists , a smooth function such that
[TABLE]
being .
In polar coordinates the above equation may be written as
[TABLE]
and
[TABLE]
Define the variable by
[TABLE]
Also defining by
[TABLE]
dropping the bar in , equation (1) is equivalent to
[TABLE]
in . Here , and are known functions.
More specifically, denoting
[TABLE]
we have:
[TABLE]
[TABLE]
and
[TABLE]
Observe that in . Discretizing in (N equal pieces which will generate N lines ) we obtain the equation
[TABLE]
. Here, corresponds to the solution on the line . Thus we may write
[TABLE]
where
[TABLE]
1.1 Some preliminaries results and the main algorithm
Now we recall a classical definition.
Definition 1.1**.**
Let be a subset of a Banach space and let be an operator. Thus is said to be a contraction mapping if there exists such that
[TABLE]
Remark 1.2**.**
Observe that if on a convex set then is a contraction mapping, since by the mean value inequality,
[TABLE]
The next result is the base of our generalized method of lines. For a proof see [3].
Theorem 1.3** (Contraction Mapping Theorem).**
Let be a closed subset of a Banach space . Assume is contraction mapping on , then there exists a unique such that . Moreover, for an arbitrary defining the sequence
[TABLE]
we have
[TABLE]
To obtain a fixed point for each indicated in (5) is perfectly possible if However if is small, the error in this process may be relevant.
To solve this problem, firstly we propose the following algorithm,
Choose and set 2. 2.
Calculate by solving the equation
[TABLE]
Such an equation is solved through the Banach fixed point theorem, that is, defining
[TABLE]
equation (14) stands for
[TABLE]
so that for we have
[TABLE]
We may use the Contraction Mapping Theorem to calculate as a function of . The procedure would be,
- (a)
set 2. (b)
obtain recursively
[TABLE] 3. (c)
and finally get
[TABLE]
Thus, we have obtained
[TABLE]
We can repeat the process for , that is, we can solve the equation
[TABLE]
which from above stands for
[TABLE]
The procedure would be:
- (a)
Set , 2. (b)
calculate
[TABLE] 3. (c)
obtain
[TABLE]
We proceed in this fashion until obtaining
[TABLE]
Being known we have obtained . We may then calculate
[TABLE]
[TABLE]
and so on, up to finding
[TABLE]
Thus this part of the problem is solved. 3. 3.
Set and go to item 2 up to the satisfaction of an appropriate convergence criterion.
Remark 1.4**.**
Here we consider some points concerning the convergence of the method.
In the next lines the norm indicated refers to the infinity one for . In particular for from above we have:
[TABLE]
that is
[TABLE]
Hence, denoting
[TABLE]
and
[TABLE]
for sufficiently big we may obtain
[TABLE]
and by induction
[TABLE]
so that we would have
[TABLE]
This last calculation is just to clarify that the procedure of obtaining the relation between consecutive lines through the contraction mapping theorem is well defined.
1.2 A numerical example, the proximal explicit approach
In this section we present a numerical example. Consider the equation
[TABLE]
where, for a Ginburg-Landau type equation (see [1, 5] for the corresponding models in physics),
[TABLE]
with the boundary conditions
[TABLE]
where ,
[TABLE]
[TABLE]
Through the generalized method of lines, for (10 lines), in polar coordinates and finite differences (please see [6] for general schemes in finite differences), equation (17), stands for
[TABLE]
At this point we present, through the generalized method of lines, the concerning algorithm which may be for the softwares maple or mathematica.
In this software, stands for .
[TABLE]
[TABLE]
At this point we present the expressions for 10 lines, firstly for and In the next lines stands for .
For each line we have obtained,
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
In the next lines we present the results relating the software indicated, with and
For each line we have obtained,
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
Remark 1.5**.**
Observe that since the solution is close to the constant value along the domain, which is an approximate solution of equation
2 The hyper-finite differences approach
In the last sections we have introduced a method to minimize the solution error for a large class of PDEs as a typical parameter is small. The main idea there presented it consisted of a proximal formulation combined with the generalized method of lines.
In the present section we develop another new solution for such a problem also for a large class of non-linear elliptic PDEs, namely, the hyper-finite differences approach. We believe the result here developed is better than those of the previous sections. Indeed in the present method, in general the convergence is obtained more easily.
The idea here is to divide the domain interval, concerning variable to be specified, into sub-domains in order to minimize the effect of the small parameter . For example if we divide the domain into sub-domains, for and the example addressed in the next pages, the error applying the generalized method of lines on which sub-domain is very small. Finally, we reconnect the sub-domains by solving the system of equations corresponding to the partial differential equation in question on each of these nodes. As is a small number for the amount of nodes (typically ), we have justified the terminology hyper-finite differences.
First observe that, in equation (3), in . Discretizing in ( equal pieces which will generate lines ), we recall that such a general equation (3),
[TABLE]
partially in finite differences, has the expression
[TABLE]
. Here, corresponds to the solution on the line . Thus we may write
[TABLE]
where
[TABLE]
2.1 The main algorithm
To obtain a fixed point for each indicated in (13) is perfectly possible if However, for the case in which is small, we highlight once more the error may be relevant, so that we propose the following algorithm to deal with such a situation of small
Choose and (specifically for the example in the next lines). Divide the interval domain in the variable into equal pieces (for example, for the interval through a concerning partition , where and is the grid thickness in ). 2. 2.
Through the generalized method of lines, solve the equation in question on the interval as function of and and the domain shape.
To calculate on , proceed as follows. First observe that the equation in question stands for
[TABLE]
where
[TABLE]
Such an equation is solved through the Banach fixed point theorem, that is, defining
[TABLE]
equation (14) stands for
[TABLE]
so that for we have
[TABLE]
We may use the Contraction Mapping Theorem to calculate as a function of and . The procedure would be,
- (a)
set 2. (b)
obtain recursively
[TABLE] 3. (c)
and finally get
[TABLE]
Thus, we have obtained
[TABLE]
We can repeat the process for , that is, we can solve the equation
[TABLE]
which from above stands for
[TABLE]
The procedure would be:
- (a)
Set , 2. (b)
calculate
[TABLE] 3. (c)
obtain
[TABLE]
We proceed in this fashion until obtaining
[TABLE]
We have obtained . We may then calculate
[TABLE]
[TABLE]
and so on, up to finding
[TABLE]
Thus this part of the problem is solved. 3. 3.
Calculate the solution on the lines corresponding to , by solving the system,
[TABLE]
which correspond to the partial differential equation in question on the line , where
[TABLE]
Here may use the Banach fixed point theorem for the final calculation as well.
The problem is then solved.
2.2 A numerical example
In this section we present a numerical example. Consider the equation
[TABLE]
where, for a Ginburg-Landau type equation (see [1, 5] for the corresponding models in physics),
[TABLE]
with the boundary conditions
[TABLE]
where ,
[TABLE]
[TABLE]
Through the generalized method of lines, for (30 lines in which sub-domain), (10 sub-domains) and , in polar coordinates and finite differences (please see [6] for general schemes in finite differences), equation (17) stands for
[TABLE]
At this point we present, through the generalized method of lines, the concerning algorithm which may be for the softwares mathematica or maple.
In this software, stands for .
[TABLE]
[TABLE]
At this point we present the expressions for and . In the next lines stands for ().
For each line we have obtained:
[TABLE]
Remark 2.1**.**
Observe that since the solution is close to the constant value along the domain, which is an approximate solution of equation Finally, the first output of the method is the solution on the nodes which, in some sense, justify the terminology hyper-finite differences, even though the solution in all the lines have been obtained.
3 Conclusion
In this article we have developed two improvements concerning the generalized method of lines. For a large class of models, we have solved the problem of minimizing the error as the parameter is small. In a first step we present a proximal formulation through the introduction of a parameter and related equation part properly specified. In a second step, we develop the hyper-differences approach which corresponds to a domain division in smaller sub-domains so that the solution on each sub-domain is obtained through the generalized method of lines.
We highlight the methods here developed may be applied to a large class of problems, including the Ginzburg-Landau system in superconductivity in the presence of a magnetic field and respective magnetic potential.
We intend to address this kind of model and others such as the Navier-Stokes system in a future research.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J.F. Annet, Superconductivity, Superfluids and Condensates, 2nd edn. ( Oxford Master Series in Condensed Matter Physics, Oxford University Press, Reprint, 2010)
- 2[2] F. Botelho, Topics on Functional Analysis, Calculus of Variations and Duality, Academic Publications (IJPAM), Sofia, 2011.
- 3[3] F. Botelho, Functional Analysis and Applied Optimization in Banach Spaces, (Springer Switzerland, 2014).
- 4[4] F. Botelho, Existence of solution for the Ginzburg-Landau system, a related optimal control problem and its computation by the generalized method of lines , Applied Mathematics and Computation, 218, 11976-11989, (2012).
- 5[5] L.D. Landau and E.M. Lifschits, Course of Theoretical Physics, Vol. 5- Statistical Physics, part 1. (Butterworth-Heinemann, Elsevier, reprint 2008).
- 6[6] J.C. Strikwerda, Finite Difference Schemes and Partial Differential Equations , SIAM, second edition (2004).
