geo-fluid-dynamics / phaseflow-fenics

Phaseflow simulates the convection-coupled melting and solidification of phase-change materials.
MIT License
52 stars 23 forks source link

Extend with second-order accurate time discretization #254

Closed agzimmerman closed 6 years ago

agzimmerman commented 6 years ago

Specifically I implemented BDF2; but also things are set up now to more easily implement arbitrary backward difference formulas.

I haven't actually verified the second order accuracy yet. But this pull request cleans up a lot of stuff and makes it easier to implement time discretization schemes. We'll want to formally verify second order accuracy.