1: \begin{abstract}
2: The anelastic and pseudo-incompressible equations are two well-known soundproof approximations
3: of compressible flows useful for both theoretical and numerical analysis in meteorology, atmospheric
4: science, and ocean studies.
5: In this paper, we derive and test structure-preserving numerical schemes for these two systems.
6: The derivations are based on a discrete version of the Euler-Poincar\'e variational method.
7: This approach relies on a finite dimensional approximation of the (Lie) group of diffeomorphisms that
8: preserve {\em weighted-}volume forms. These weights describe the background stratification of the
9: fluid and correspond to the weighed velocity fields for anelasic and pseudo-incompressible approximations.
10: In particular, we identify to these discrete Lie group configurations the
11: associated Lie algebras such that elements of the latter correspond to weighted velocity fields that
12: satisfy the divergence-free conditions for both systems. Defining discrete Lagrangians in terms of these
13: Lie algebras, the discrete equations follow by means of variational principles.
14: We verify the structure-preserving nature of the resulting variational integrators applying two test cases.
15: The spectra of internal gravity waves, emitted by a hydrostatic adjustment process, perfectly reflects the
16: models' dispersion relations. And, shape and advection speed of a rising and a falling bubble match very well
17: reference results in literature. Descending from variational principles, the schemes exhibit further a
18: discrete version of Kelvin circulation theorem, are applicable to irregular meshes, and
19: show excellent long term energy behavior.
20: \end{abstract}
21: