Next: wav : Periodic Waves.
Up: AUTO Demos : Parabolic PDEs.
Previous: pd1 : Stationary States
Contents
pd2 : Stationary States (2D Problem).
This demo uses Euler's method to locate a stationary solution of
a nonlinear parabolic PDE, followed by continuation of this stationary
state in a free problem parameter. The equations are
|
(16.1) |
on the space interval , where PAR(11) is fixed throughout,
as are the diffusion constants PAR(15) and PAR(16) .
The boundary conditions are
and
,
for all time.
In the first run the continuation parameter is the independent time variable,
namely PAR(14), while is fixed.
The AUTO -constants DS, DSMIN, and DSMAX then control the step size
in space-time, here consisting of PAR(14) and
.
Initial data at time zero are
and .
Note that in the subroutine STPNT the initial data must be scaled to
the unit interval, and that the scaled derivatives must also be provided;
see the equations-file pv2.f.
In the second run the continuation parameter is .
A branch point is located during this run.
Euler time integration is only first order accurate, so that
the time step must be sufficiently small to ensure correct results.
Indeed, this option has been added only as a convenience, and should
generally be used only to locate stationary states.
Table 16.2:
Commands for running demo pd2.
AUTO -COMMAND |
ACTION |
! mkdir pd2 |
create an empty work directory |
cd pd2 |
change directory |
demo('pd2') |
copy the demo files to the work directory |
run(c='pd2.1') |
time integration towards stationary state |
sv('1') |
save output-files as b.1, s.1, d.1 |
run(c='pd2.2',s='1') |
continuation of stationary states; read restart data from s.1. constants changed : IPS, IRS, ICP, etc.
|
sv('2') |
save output-files as b.2, s.2, d.2 |
|
Next: wav : Periodic Waves.
Up: AUTO Demos : Parabolic PDEs.
Previous: pd1 : Stationary States
Contents
Gabriel Lord
2007-11-19