Searcharxiv⌕ Search

arXiv subjects

Morteza Derakhti

Publications and source records attributed to Morteza Derakhti.

2 recordsLinked to original sources

Computational performance versus numerical accuracy in the acoustic terms of weakly-compressible SPH

Accurate computation of the acoustic terms in weakly-compressible SPH, including the equation of state, its inverse, and the evaluation of the local speed of sound, is essential to ensure energy conservation, robust solid boundary conditions, and correct open boundary behavior. In the classic Cole's equation of state, using values of the polytropic constant $γ\ne 1$ can lead to significant precision loss, particularly when computations are performed in single precision, as is common in GPU implementations. We extend here our previous results on the optimal choice of state variable by introducing a new higher-precision form for all three acoustic terms, denoted \texttt{explog}, and assess its numerical accuracy and computational performance across a variety of devices and test cases. We find that the new form evaluates the acoustic terms with a maximum ULP of~2 for arguments less than $0.125$, and has higher errors in less than 1\% of the arguments larger than the threshold. Combined with a rewritten expression of the pressure at solid boundary particles in the ``dummy'' model, it provides consistently more accurate results, maintaining deviations from the reference pressure profile to below 2\%, even in presence of a rough bottom terrain. Computationally, the new formulation is also faster than the naive one on GPU, and only marginally slower on CPU.

math.NA↗

A unified breaking onset criterion for surface gravity water waves in arbitrary depth

We investigate the validity and robustness of the Barthelemy et al. (2018) breaking wave onset prediction framework for surface gravity water waves in arbitrary water depth, including shallow water breaking over varying bathymetry. We show that the Barthelemy et al. (2018) breaking onset criterion, which they validated for deep and intermediate water depths, also segregates breaking crests from non-breaking crests in shallow water, with subsequent breaking always following the exceedance of their proposed generic breaking threshold. We consider a number of representative wave types, including regular, irregular, solitary, and focused waves, shoaling over idealized bed topographies including an idealized bar geometry and a mildly- to steeply-sloping planar beach. Our results show that the new breaking onset criterion is capable of detecting single and multiple breaking events in time and space in arbitrary water depth. Further, we show that the new generic criterion provides improved skill for signaling imminent breaking onset, relative to the available kinematic or geometric breaking onset criteria in the literature. In particular, the new criterion is suitable for use in wave-resolving models that cannot intrinsically detect the onset of wave breaking.

physics.flu-dyn↗