scispace - formally typeset
Open AccessJournal ArticleDOI

An adaptive finite difference solver for nonlinear two point boundary problems with mild boundary layers.

Marianela Lentini, +1 more
- 01 Nov 1975 - 
- Vol. 14, Iss: 1, pp 91-111
TLDR
The combination of automatic variable order (via deferred corrections) and automatic (adaptive) mesh selection produces, as in the case of initial value problem solvers, a versatile, robust, and efficient algorithm.
Abstract
A variable order variable step finite difference algorithm for approximately solving m-dimensional systems of the form y'' = f(t,y), t $\in$ [a,b] subject to the nonlinear boundary conditions g(y(a),y(b)) = 0 is presented. A program, PASVAR, implementing these ideas has been written and the results on several test runs are presented together with comparisons with other methods. The main features of the new procedure are: a) Its ability to produce very precise global error estimates, which in turn allow a very fine control between desired tolerance and actual output precision. b) Non-uniform meshes allow an economical and accurate treatment of boundary layers and other sharp changes in the solutions. c) The combination of automatic variable order (via deferred corrections) and automatic (adaptive) mesh selection produces, as in the case of initial value problem solvers, a versatile, robust, and efficient algorithm.

read more

Content maybe subject to copyright    Report

Lawrence Berkeley National Laboratory
Recent Work
Title
AN ADAPTIVE FINITE DIFFERENCE SOLVER FOR NONLINEAR TWO POINT BOUNDARY
PROBLEMS WITH MILD BOUNDARY LAYERS
Permalink
https://escholarship.org/uc/item/569825w9
Author
Lentini, M.
Publication Date
1975-11-01
eScholarship.org Powered by the California Digital Library
University of California

Submitted
to
SIAM
Journal
of
Numerical
Analysis
LBL-4226
t:
'
(STAN-
CS - 7 5
-53
0)
Pre
print
AN
ADAPTIVE
FINITE
DIFFERENCE
SOLVER
FOR
NONLINEAR
TWO
POINT
BOUNDARY
PROBLEMS
WITH
MILD
BOUNDARY
LAYERS
M.
Lentini
and
V.
Pereyra
November
1975
~-.:
E :.: E I V E D
'0,WRENCE
tif:f:KfHY
!.ACOiU1 TORY
AH?
6
19/G
L
..
:
;,
,
:·~,
/\
I:::Z
V A N D
On•::UMENTS
:5ECTION
Prepared
for
the
U.
S.
Energy
Research
and
Development
Administration
under
Contract
W
-7405-ENG-48
For
Reference
Not to
be
taken
from
this room

DISCLAIMER
This document was prepared
as
an account
of
work sponsored by the United States
Government. While this document is believed
to
contain correct information, neither the
United States Government nor any agency thereof, nor the Regents
of
the University of
California, nor any
of
their employees, makes any warranty, express or implied, or
assumes any legal responsibility for the accuracy, completeness, or usefulness
of
any
information, apparatus, product, or process disclosed, or represents that its use would not
infringe privately owned rights. Reference herein to any specific commercial product,
process, or service by its trade name, trademark, manufacturer, or otherwise, does not
necessarily constitute or imply its endorsement, recommendation, or favoring by the
United States Government or any agency thereof, or the Regents
of
the University
of
Califomia. The views and opinions
of
authors expressed herein do not necessarily state or
reflect those
of
the United States Government or any agency thereof or the Regents
of
the
University
of
California.

'i'
..
"An .Adaptive
Finite
Difference
Solver
for
Nonlinear
Two
Point
Boundary
Problems
with
Mild
Boundary
Layers,"
M.
Lentini
and
V.
Pereyra
ABSTRACT.
A
variable
order
variable
step
finite
difference
algorithm
for
approximately
solving
m-dimensional
systems
of
the
form
y'
==
f(t,y),
t E
[a,b]
subject
to
the
nonlinear
boundary
conditions
g(y(a),y(b))
==
0
is
presented.
A
program,
PASVAR,
implementing
these
ideas
have
been
written
and
the
results
on
several
test
runs
are
presented
together
with
comparisons
with
other
methods.
The main
feautres
of
the
new
pro-
cedure
are:
a)
Its
ability
to
produce
very
precise
global
error
estimates,
which
in
turn
allow
a
very
fine
control
between
desired
tolerance
and
actual
output
precision.
b)
Non-uniform
meshes
allow
an
economical
and
accurate
treatment
of
boundary
layers
and
other
sharp
changes
in
the
solutions.
c)
The
combination
of
automatic
variable
order
(via
deferred
corrections)
and
automatic
(adaptive)
mesh
selection
produces,
as
in
the
case
of
initial
value
problem
solvers,
a
versatile,
robust,
and
efficient
algori
tbm.
I
0
n o

'
AN
ADAPTIVE
FINITE
DIFFERENCE
SOLVER
FOR
NONLINEAR
TWO
POINT
BOUNDARY
PROBLEMS
WITH
MILD
BOUNDARY
IAYERS
*
M.
Lentini
and
+
v.
Pereyra
1.
Introduction
We
are
interested
in
developing
usable
software
for
two-
point
boundary
problems
for
m-dimensional
systems
of
the
form
y'
=
f(t,y)
tE
[a,b]
(
1.
1 )
g(y(a),y(b))
0
In
[8,
9]
we
have
already
presented
a
finite
difference
algorithm
(SYSSOL),
based
on
deferred
corrections,
which
has
variable
order
capabilities.
SYSSOL
uses
only
uniform
meshes,
which
can
be
refined
automatically
in
order
to
reduce
the
maximum
norm
of
the
(esti-
mated)
global
error
on
the.
current
mesh
below
a
requested
tolerance.
SYSSOL
behaves
quite
adeguately
for
many
problems
(see
[
8,
9]),
but
becomes
inefficient
or
does
not
work
at
all
as
soon
as
the
(*). .
_Department
of
Applied
Mathematics,
Caltech,
Pasadena,
California.
(+)Department
of-Mathematics,
University
of
Southern
California,
Los
Angeles.
The work
of
M.
Lentini
was
partly
supported
by
Conicit,
and
that
of
V.
Pereyra
by
the
u.s.
Energy
Research
and
Development
Administration
while
visiting
Stanford
University
and Lawrence
Berkeley
Laboratory,
and
the
National
Science
Foundation
at
USC.
Both
authors
are
on
leave
of
absence
from
Universidad
Central
de
Venezuela,
Caracas.
Z
~
-~
I 0
~
~
0 0 0

Citations
More filters
Journal ArticleDOI

Multi-level adaptive solutions to boundary-value problems

TL;DR: In this paper, the boundary value problem is discretized on several grids (or finite-element spaces) of widely different mesh sizes, and interactions between these levels enable us to solve the possibly nonlinear system of n discrete equations in 0(n) operations (40n additions and shifts for Poisson problems); and conveniently adapt the discretization (the local mesh size, local order of approximation, etc.) to the evolving solution in a nearly optimal way, obtaining "°°-order" approximations and low n, even when singularities are present.
Journal ArticleDOI

Collocation Software for Boundary-Value ODEs

TL;DR: The use of a general-purpose code, COLSYS, capable of solving mixed-order systems of boundary-value problems in ordinary differential equations, which has been found to be particularly effective for difficult problems.
Journal ArticleDOI

A collocation solver for mixed order systems of boundary value problems

TL;DR: Implementation of a spline collocation method for solving boundary value problems for mixed order systems of ordinary differential equations is discussed and the resulting general purpose code, COLSYS, is tested on a number of examples to demonstrate its stability, efficiency and flexibility.
Journal ArticleDOI

Algorithm 733: TOMP–Fortran modules for optimal control calculations

TL;DR: An easy-to-use software package is described which efficiently solves the given problem and has been tested on a number of complex engineering tasks, including aerospace and robotic trajectory planning.
References
More filters
Journal ArticleDOI

A modified Newton method for the solution of ill-conditioned systems of nonlinear equations with application to multiple shooting

TL;DR: In this paper, the modified (underrelaxed, damped) Newton method is extended in such a way as to apply to the solution of ill-conditioned systems of nonlinear equations, i.e. systems having a "nearly singular" Jacobian at some iterate.
Journal ArticleDOI

Solution of Vandermonde Systems of Equations

TL;DR: In this article, a considerable improvement over a method developed earlier by Ballester and Pereyra for the solution of systems of linear equations with Vandermonde matrices of coefficients was obtained by observing that a part of the earlier algorithm is equivalent to Newton's interpolation method.
Book ChapterDOI

Good approximation by splines with variable knots. II

Carl de Boor
TL;DR: In this paper, the authors consider approximation of a given function f, on [0, 1] say, by elements of S π k, i.e., by polynomial splines of order k (or, degree < k) on some partition.
Journal ArticleDOI

A collocation method for boundary value problems

TL;DR: Collocation with piecewise polynomial functions is developed as a method for solving two-point boundary value problems in this paper, and convergence is shown for a general class of linear problems and a rather broad class of nonlinear problems.
Journal ArticleDOI

Accurate Difference Methods for Nonlinear Two-Point Boundary Value Problems

TL;DR: In this paper, it was shown that each isolated solution, y(t), of the general nonlinear two-point boundary value problem can be approximated by the box difference scheme.
Related Papers (5)