FourierFlows / FourierFlows.jl

Tools for building fast, hackable, pseudospectral partial differential equation solvers on periodic domains
https://bit.ly/FourierFlows
MIT License
202 stars 29 forks source link

Add LSRK54 time stepping method #335

Closed doraemonho closed 1 year ago

doraemonho commented 1 year ago

Implements a 4th-order 5-stages 2-storage Runge-Kutta timestepper, LSRK54.

Closes #334

navidcy commented 1 year ago

Should we include the FilteredLSRK54TimeStepper?

navidcy commented 1 year ago

I made a few changes @doraemonho. Have a look and let me know what you think.

doraemonho commented 1 year ago

Should we include the FilteredLSRK54TimeStepper?

It is workable but I am not sure if the solution is stable in the combination with the filter + low storage method. Maybe let us test it first and push this in the next update.?

doraemonho commented 1 year ago

@navidcy I changed the coef. values to rational form and also tested once. Could you check if the formatting is correct or not?

navidcy commented 1 year ago

When tests pass I'll merge.

navidcy commented 1 year ago

@doraemonho welcome to FourierFlows contributors ;)

doraemonho commented 1 year ago

@doraemonho welcome to FourierFlows contributors ;)

It is my pleasure : D