Skip to content

A thermodynamically consistent variational formulation and structure-preserving finite element methods for non-isothermal liquid--vapor flows with moving contact lines

Junkai Wang, Ting Xiao, Qiaolin He

math-ph

Abstract

In this paper, we present a variational formulation and structure-preserving finite element methods for non-isothermal liquid--vapor flows with moving contact lines. Based on the dynamic van der Waals theory with gradient contributions and surface thermodynamics, the governing equations and hydrodynamic boundary conditions are derived from a generalized Hamilton's principle for nonequilibrium thermodynamics. Two equivalent variational formulations based on internal energy and Helmholtz free energy are developed, using entropy density and temperature, respectively, as the primary thermal variable. Using the resulting weak forms, compatible spatial operators and discrete thermodynamic chain rules, we construct two thermodynamically consistent fully discrete finite element schemes. We rigorously prove the following properties for both fully discrete schemes: mass conservation, bound preservation for the number density, positivity of the temperature, an exact total energy balance incorporating external work and heat exchange, and a temperature-weighted weak entropy inequality with nonnegative bulk and boundary entropy production. Numerical experiments in two and three dimensions assess accuracy and structure preservation, with applications to non-isothermal droplet wetting, pool boiling and droplet ejection.

Create a lesson