petsc-3.3-p7 2013-05-11

Time steppers for ODE and DAE - TS: Examples

The time-stepping (TS) component provides ODE and DAE integrators as well as pseudo-timestepping. TS internally employs SNES to solve the nonlinear problems at each time step (except for the Sundials functions, which use nonlinear solvers within Sundials). TS users can also set SNES options directly in application codes by first extracting the SNES context from the TS context via TSGetSNES() and then directly calling various SNES (and KSP and PC with further unwrapping) routines (e.g., PCSetType() ).

ex1.c: Solves the time dependent Bratu problem using pseudo-timestepping
ex2.c: Solves a time-dependent nonlinear PDE
util2.c:
ex3.c: Solves a simple time-dependent linear PDE (the heat equation)
ex4.c: Solves a simple time-dependent linear PDE (the heat equation)
ex5.c: Solves a simple time-dependent linear PDE (the heat equation)
ex6.c: Solves a simple time-dependent linear PDE (the heat equation)
ex7.c: Nonlinear, time-dependent PDE in 2d
ex8.c: Nonlinear DAE benchmark problems
ex9.c: 1D periodic Finite Volume solver in slope-limiter form with semidiscrete time stepping
ex10.c: 1D nonequilibrium radiation diffusion with Saha ionization model
ex12.c: Nonlinear, time-dependent PDE in 2d
ex13.c: Time-dependent PDE in 2d
ex14.c: Toy hydrostatic ice flow with multigrid in 3D
ex15.c: Time-dependent PDE in 2d
ex16.c: Solves the van der Pol equation
ex17.c: Time-dependent PDE in 1d
ex18.c: Isogeometric analysis of isothermal Navier-Stokes-Korteweg in 2D
ex19.c: Solves the van der Pol DAE
ex20.c: Solves the van der Pol equation
ex21.c: Solves a time-dependent nonlinear PDE with lower and upper bounds on the interior grid points
ex22.c: Time-dependent advection-reaction PDE in 1d, demonstrates IMEX methods
ex23.c: Cahn-Hilliard-2d problem for constant mobility and triangular elements
ex24.c: Pseudotransient continuation to solve a many-variable system that comes from the 2 variable Rosenbrock function + trivial
ex25.c: Time-dependent Brusselator reaction-diffusion PDE in 1d
ex26.c: Transient nonlinear driven cavity in 2d
makefile