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

Potential instability related to explicit treatment of Coriolis for C-grid #917

Open
JFLemieux73 opened this issue Dec 12, 2023 · 3 comments
Labels

Comments

@JFLemieux73
Copy link
Contributor

Although we have not seen any problems so far, it is possible the current forward Euler for time-stepping the momentum equation is unstable.

We should investigate the use of another approach such as leap-frog.

@JFLemieux73 JFLemieux73 changed the title C-grid explicit time-stepping instability Potential instability related to explicit treatment of Coriolis for C-grid Dec 12, 2023
@dupontf
Copy link

dupontf commented Dec 12, 2023

An Euler-forward temporal scheme for inertial oscillations is

$$u^{n+1}-u^{n} + i f \Delta_t u^{n} = 0$$

and its dispersion relation yields

$$| e^{i \omega \Delta_t} | = | 1 + i f \Delta_t | >= 1$$

and thus, $\omega$ must have an imaginary part which allows for growing amplitude, therefore the scheme is unconditionally unstable.

@JFLemieux73
Copy link
Contributor Author

Thanks Fred. Could you do the same thing but adding the water stress?

@JFLemieux73
Copy link
Contributor Author

See comments from Martin Losch about this in this issue:

#941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants