arXiv ScienceSearch

arXiv · cond-mat/0605359

Stabilisation of the lattice-Boltzmann method using the Ehrenfests' coarse-graining

Abstract

The lattice-Boltzmann method (LBM) and its variants have emerged as promising, computationally efficient and increasingly popular numerical methods for modelling complex fluid flow. However, it is acknowledged that the method can demonstrate numerical instabilities, e.g., in the vicinity of shocks. We propose a simple and novel technique to stabilise the lattice-Boltzmann method by monitoring the difference between microscopic and macroscopic entropy. Populations are returned to their equilibrium states if a threshold value is exceeded. We coin the name Ehrenfests' steps for this procedure in homage to the vehicle that we use to introduce the procedure, namely, the Ehrenfests' idea of coarse-graining. The one-dimensional shock tube for a compressible isothermal fluid is a standard benchmark test for hydrodynamic codes. We observe that, of all the LBMs considered in the numerical experiment with the one-dimensional shock tube, only the method which includes Ehrenfests' steps is capable of suppressing spurious post-shock oscillations.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

R. A. Brownlee, A. N. Gorban, J. Levesley. 2006-05-23. Stabilisation of the lattice-Boltzmann method using the Ehrenfests' coarse-graining. https://doi.org/10.1103/physreve.74.037703

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Far tails of the biased CTRW model under the short time limit

It has been observed in numerous experiments, simulations, and various theoretical studies that the spreading of particles can be modeled by the continuous-time random walk. We consider two widely used cases, namely Gaussian and discrete displacements, to compute the position distribution and demonstrate the emergence of exponential decay in the far tails when a bias is introduced. We further analyze the temporal rate function and the positional rate function to examine the convergence of the theoretical predictions. For Gaussian displacements, we also discuss the relationship between the position distributions with and without bias in different asymptotic limits.

cond-mat.stat-mech

Stochastic Thermodynamics for Autoregressive Generative Models: A Non-Markovian Perspective

Autoregressive generative models -- including Transformers, recurrent neural networks, classical Kalman filters, state space models, and Mamba -- all generate sequences by sampling each output from a deterministic summary of the past, producing genuinely non-Markovian observed processes. We develop a general theoretical framework based on stochastic thermodynamics for this class of architectures and introduce the entropy production, which can be efficiently estimated from sampled trajectories without exponential sampling cost, despite the non-Markovian nature of the observed dynamics. As a proof-of-concept experiment with a large language model (LLM), we evaluate the entropy production for a pre-trained Transformer-based model, GPT-2. We find that the token-level entropy production is dominated by a syntactic artifact, while the sentence-level entropy production tends to be larger for causally ordered than for non-causal text sets. This observation is supported by a re-evaluation with a substantially larger model, Qwen3-4B-Base. We also demonstrate the framework in the linear Gaussian case, where the model reduces to the Kalman innovation representation and the entropy production admits an analytical expression. We also show that the entropy production decomposes exactly into non-negative per-step contributions in terms of retrospective inference, and each of those terms further splits into information-theoretically meaningful terms: a compression loss and a model mismatch. Our results establish a bridge between stochastic thermodynamics and modern generative models, and provide a starting point for using irreversibility as a quantitative probe of the highly non-Markovian processes generated by models such as LLMs.

cond-mat.stat-mech

Quantum tunneling Mpemba effect

We investigate a quantum tunneling Mpemba effect for a particle in a continuous one-dimensional symmetric double-well potential subject to irreversible boundary loss. The dissipation is described by a complex absorbing potential (CAP) and the corresponding conditional no-jump evolution. Using a biorthogonal spectral representation, we derive the exact non-Hermitian decomposition of the subnormalized density matrix and analyze the corresponding relaxation dynamics. We show that the off-diagonal coefficients exhibit a parity selection rule, leaving same-parity interference terms in general. To isolate the interplay between thermal spectral preparation and mode-dependent decay rates, we introduce a diagonal spectral relaxation measure $S(t,T_i)$. For a quartic double well, numerical calculations reveal finite-time crossings of $S(t,T_i)$ prepared at different initial temperatures, as well as a non-monotonic temperature dependence of selected diagonal spectral weights. These features are explained by the enhanced thermal population of spatially extended, rapidly leaking excited states. In contrast, the trace distance of the normalized conditional state to the asymptotic quasi-stationary state exhibits no crossing, demonstrating that the anomalous ordering is specifically a spectral Mpemba effect rather than a universal acceleration of the complete conditional state. Our continuous-space formulation provides a real-space perspective on anomalous quantum relaxation without invoking universal nodal or topological theorems.

cond-mat.stat-mech