mesh-adaptation / goalie

Goal-oriented error estimation and mesh adaptation for finite element problems solved using Firedrake
Other
1 stars 1 forks source link

Add ODE demo #100

Closed jwallwork23 closed 6 months ago

jwallwork23 commented 6 months ago

It would be nice to have a demo illustrating solving an ODE, i.e., in the Real function space.

I was thinking of just solving

$\frac{du}{dt}=u,\quad u(t)=1,\quad t\in[0,1],$

(which has analytical solution $u(t)=e^t$) using Forward Euler, Backward Euler, and Crank-Nicolson and comparing the results.

[Motivation: a simple example like this would be a good springboard for trying out parallel-in-time methods in Goalie.]