Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Runge-Kutta time-integration schemes #94

Merged
merged 11 commits into from
Jun 25, 2024

Conversation

CFD-Xing
Copy link
Contributor

@CFD-Xing CFD-Xing commented May 17, 2024

This PR implements Runge-Kutta schemes from order 1 to 4.

The default time-stepping approach is set to AB3.

All schemes (AB1 to AB4 and RK1 to RK4) have been validated for the Dahlquist equation.

For the TGV case, this PR has been tested with RK3 with the following result

enstrophy

TODO:

  • Validate order of convergence for Navier-Stokes for RK1 to RK4 and AB1 to AB4.
  • Generalize the time stepping API for arbitrary numbers of variable (currently only working for u, v, and w)

@semi-h
Copy link
Member

semi-h commented May 21, 2024

@CFD-Xing can you do a rebase please? It'll help for reviewing the RK related stuff.

@JamieJQuinn JamieJQuinn merged commit e022980 into xcompact3d:main Jun 25, 2024
2 checks passed
@CFD-Xing CFD-Xing deleted the update-time-integration-rk branch July 10, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants