Closed dh810 closed 6 years ago
@dh810 some elements regarding your questions:
etax
and etay
indeed correspond to, respectively. The threshold value of 10.0 is not based on a theoretical argument, except the fact that when the local slope is at such high values, the simulation exhibits numerical instabilities (this is not a realistic value of the local slope). It was just a criteria used to detect the appearance of those instabilities and not a breaking onset parameter. For this, I can advise two recent papers:Betsy Seiffert, Guillaume Ducrozet, Félicien Bonnefoy. Simulation of breaking waves using the High-Order Spectral method with laboratory experiments: Wave-breaking onset. Ocean Modelling, Volume 119, Pages 94-104, 2017, 10.1016/j.ocemod.2017.09.00
Betsy Seiffert, Guillaume Ducrozet. Simulation of breaking waves using the high-order spectral method with laboratory experiments: wave-breaking energy dissipation. Ocean Dynamics, Volume 68, Issue 1, pp 65–89, 2018, 10.1007/s10236-017-1119-3
J. R. Cash and A. H. Karp. A variable order Runge-Kutta method for initial value problems with rapidly varying right-hand sides. ACMTrans.Math. Softw., 16(3):201– 222, 1990.
Hope this helps!
Guillaume.
Having gone through the literature and the source code, I have a couple of questions relating to the above:
With regards to the breaking (or steepness) limit: On
line 539
ofHOS-ocean.f90
, there is a check on the maximum slope of the surface and the simulation stops when the maximum absolute value ofetax
andetay
exceed a threshold value of 10.0. I wasn't able to find whatetax
andetay
correspond to, but I am assuming they correspond to respectively. Aside from this though, what does the threshold value of 10.0 correspond to? Is it based on theoretical arguments similar to the arguments made here?With regards to the adaptive time-step: I am unsure about the conditions on which the time-step is adapted. Is it adapted to conserve energy or is it to minimise errors in some other way? Most of the literature simply states that "The two surface quantities are then marched in time using an efficient 4th-order Runge-Kutta scheme featuring an adaptive step-size control and in which the linear part of the equations is integrated analytically."
Thank you.