07p/demos/pd1/pd1.auto
raw| 1 | |
| 2 | #============== |
| 3 | # AUTO Demo pd1 |
| 4 | #============== |
| 5 | |
| 6 | pgm = "pd1" |
| 7 | print "\nDemo %s is started"%pgm |
| 8 | print "\n%s : first run : time integration towards stationary state"%pgm |
| 9 | r1 = run(e=pgm,c=pgm) |
| 10 | save(r1,'1') |
| 11 | |
| 12 | print "\n%s : second run : continuation of stationary state"%pgm |
| 13 | r2 = run(r1,IPS=17,ICP=[1],NTST=20,NMX=100,RL1=50,NPR=25,DS=0.1,DSMAX=0.5) |
| 14 | save(r2,'2') |
| 15 | |
| 16 | print "\n***Clean the directory***" |
| 17 | cl() |
| 18 |