We present a finite element discretization of a non-linear diffusion equation used in the field of critical phenomena and, more recently, in the context of dynamic density functional theory. The discretized equation preserves the structure of the continuum equation. Specifically, it conserves the total number of particles and fulfills an H-theorem as the original partial differential equation. The discretization proposed suggests a particular definition of the discrete hydrodynamic variables in microscopic terms. These variables are then used to obtain, with the theory of coarse-graining, their dynamic equations for both averages and fluctuations. The hydrodynamic variables defined in this way lead to microscopically derived hydrodynamic equations that have a natural interpretation in terms of discretization of continuum equations. Also, the theory of coarse-graining allows to discuss the introduction of thermal fluctuations in a physically sensible way. The methodology proposed for the introduction of thermal fluctuations in finite element methods is general and valid for both regular and irregular grids in arbitrary dimensions. We focus here on simulations of the Ginzburg-Landau free energy functional using both regular and irregular 1D grids. Convergence of the numerical results is obtained for the static and dynamic structure factors as the resolution of the grid is increased.
ASJC Scopus subject areas
- Physics and Astronomy(all)
- Physical and Theoretical Chemistry