Top Banner
Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1. E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F. Farirgrieve, Yu. A Kuznetsov, B. Sandstede & X.Wang (2001) “AUTO 2000: Continuation and bifurcation software for ODEs (with HomCont)” Technical Report, Caltech, Feb. 2001
27

Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Mar 28, 2015

Download

Documents

Abel Ferrington
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Introduction to AUTO 20001

AUTO 2000 ~ numerical bifurcation software

Presented by Patrick Longhini

1. E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F. Farirgrieve, Yu. A Kuznetsov, B. Sandstede & X.Wang (2001)“AUTO 2000: Continuation and bifurcation software for ODEs (with HomCont)” Technical Report, Caltech, Feb. 2001

Page 2: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Getting Started Download http://sourceforge.net/projects/auto2000

The AUTO manual gives details on how to install the program on your Linux/UNIX based machine.

)),(()( ptuftu

AUTO can do bifurcation analysis on a system of ordinary differential equations (ODEs) of the form

Page 3: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Main AUTO files

The equation-file xxx.cContains the C subroutines func, stpnt, bcnd, icnd, …

func: defines the function f(u,p)

stpnt: defines the starting solution (u,p)

The constants-file c.xxx Controls the dynamics of AUTO

Page 4: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Example 1: abc reaction

This demo illustrates the computation of stationary solutions,Hopf bifurcations and periodic solutions in the A B C reaction (Doedel & Heinemann (1983)).

Page 5: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Solution of Example abc

10 15 20 25 30 35 40 45 500

0.5

1u 1-

3 p

1 = 0

.15

10 15 20 25 30 35 40 45 500

2

4

6

u 1-3

p1 =

0.3

3

10 15 20 25 30 35 40 45 500

2

4

6

8

time

u 1-3

p1 =

0.3

9

15 16 17 18 19 20 21 22 23 24 250.97

0.975

0.98

0.985

0.99

0.995p1 = 0.15

p1 = 0.33

p1 = 0.39

Page 6: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Basic Steps:

Step 1: step up abc.c and c.abc

Step 2: first run -- stationary solutions

Step 3: restart at hopf and compute periodic solutions

Page 7: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Define system: abc.c

Parameters

Initial Conditions

Required Subroutines

Page 8: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Define constants: c.abc

Constants briefly described in: auto2000_quick_ref.pdf

Run 1: save as c.abc.1

Page 9: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

MOST USED CONSTANTS

Page 10: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Command LineTo begin type

auto

2 2 2 0 10

3 80

Page 11: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.
Page 12: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

save(‘abc’)

Using save(‘abc’) you get 3 output files b.abc bifurcation branches s.abc solution d.abc dynamics (stability)

Relating labels to output file.

Page 13: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

b.abc

Page 14: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

d.abc

Page 15: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Using thecomand:

plot(‘abc’)

Page 16: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Looking at the solution for label 7

Page 17: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Example 2: lor.c

Starting an orbit from numerical data

with p1 = 280, p2 = 8/3 and p3 = 10.

Numerical data must have one complete periodic oscillation whichis contained in lor.dat

us(‘lor’) creates AUTO output file s.dat

Page 18: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Creating file: xxx.datUse fprintf to print the data to a file. Make sure that you only have one period.

Page 19: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

time u1 u2 u3

lor.dat

Page 20: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Command line steps:

Show how to write a Makefile to run command line steps.

This is better because you can running all the steps with one command and keep track of your work.

Page 21: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Makefile

Page 22: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.
Page 23: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Plotting using Plaut @p lor

Type: Commands

d3 (show stability)

then

BD0 (default settings)

Appendix B of manual contains all commands

Page 24: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Useful commands: (using command mode)

@fl lor – list Floquet multipliers in d.lor

@ev abc – list eigenvalues of the Jacobian d.abc

@lp xxx, @bp xxx, @hb xxx, lists limit points, branch points and hopf bifurcations, respectively.

Page 25: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

using @fl lor

Page 26: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Graphical User Interface.Type

@auto

or its abbreviation @a

Appendix C of manual contains help for GUI

Page 27: Introduction to AUTO 2000 1 AUTO 2000 ~ numerical bifurcation software Presented by Patrick Longhini 1.E.J. Doedel, R.C. Paffenroth, A.R. Champneys, T.F.

Other useful tools xppaut www.math.pitt.edu/~bard/xpp/xpp.html

Solves ODEs,DDEs,also AUTO built in

winpp Windows version of xppaut but used LOCBIF instead of

AUTO

matcont allserv.rug.acbe/~ajdhooge/research.html Continuation software in Matlab July 9th 2004 (lastest version)

DDE-BIFTOOL Matlab package for numerical bifurcation analysis of delay equations