%0 Journal Article %T A variational derivation of the thermodynamics of a moist atmosphere with rain process and its pseudoincompressible approximation %+ Laboratoire de Météorologie Dynamique (UMR 8539) (LMD) %A Gay-Balmaz, François %< avec comité de lecture %@ 0309-1929 %J Geophysical and Astrophysical Fluid Dynamics %I Taylor & Francis %V 113 %P 428-465 %8 2019 %D 2019 %Z 2019GApFD.113..428G %R 10.1080/03091929.2019.1570505 %K Moist atmosphere %K variational formulation %K irreversible processes %K nonequilibrium thermodynamics %K lagrangian and eulerian formulations %Z Sciences of the Universe [physics]Journal articles %X Irreversible processes play a major role in the description and prediction of atmospheric dynamics. In this paper, we present a variational derivation for moist atmospheric dynamics with rain process and subject to the irreversible processes of viscosity, heat conduction, diffusion, and phase transition. This derivation is based on a general variational formalism for nonequilibrium thermodynamics which extends Hamilton's principle to incorporate irreversible processes. It is valid for any state equation and thus also includes the treatment of the atmosphere of other planets. In this approach, the second law of thermodynamics is understood as a nonlinear constraint formulated with the help of new variables, called thermodynamic displacements, whose time derivative coincides with the thermodynamic force of the irreversible process. In order to cover the case of atmospheric dynamics, the original variational principle is extended in three directions in this paper: the inclusion of the rain process, the inclusion of phase changes, and the treatment of constraints. The variational formulation is written both in the Lagrangian and Eulerian descriptions and can be directly adapted to oceanic dynamics. The proposed variational formulation yields a general approach for the modelling of thermodynamically consistent models in atmospheric dynamics, thereby extending previous variational methods that were restricted to the reversible Hamiltonian case. We illustrate this point, by deriving a moist pseudoincompressible model with general equations of state and subject to the irreversible processes of viscosity, heat conduction, diffusion, and phase transition. %G English %L insu-03727011 %U https://insu.hal.science/insu-03727011 %~ INSU %~ X %~ ENS-PARIS %~ ENPC %~ CNRS %~ X-LMD %~ X-DEP %~ X-DEP-MECA %~ PARISTECH %~ LMD %~ ENPC-LMD %~ PSL %~ UNIV-PARIS-SACLAY %~ X-SACLAY %~ SORBONNE-UNIVERSITE %~ SORBONNE-UNIV %~ SU-SCIENCES %~ ENS-PSL %~ ALLIANCE-SU