Numerical study on the dissipation mechanisms in sloshing flows induced by violent and high-frequency accelerations. I. Theoretical formulation and numerical investigation