1: \begin{abstract}
2: We present a finite element discretization of a non-linear diffusion
3: equation used in the field of critical phenomena and, more recently,
4: in the context of Dynamic Density Functional Theory. The
5: discretized equation preserves the structure of the continuum
6: equation. Specifically, it conserves the total number of particles
7: and fulfills an H-theorem as the original partial differential
8: equation. The discretization proposed suggests a particular
9: definition of the discrete hydrodynamic variables in microscopic
10: terms. These variables are then used to obtain, with the theory of
11: coarse-graining, their dynamic equations for both averages and
12: fluctuations. The hydrodynamic variables defined in this way lead
13: to microscopically derived hydrodynamic equations that have a
14: natural interpretation in terms of discretization of continuum
15: equations. Also, the theory of coarse-graining allows to discuss
16: the introduction of thermal fluctuations in a physically sensible
17: way. The methodology proposed for the introduction of thermal
18: fluctuations in finite element methods is general and valid for both
19: regular and irregular grids in arbitrary dimensions. We focus here
20: on simulations of the Ginzburg-Landau free energy functional using
21: both regular and irregular 1D grids. Convergence of the numerical
22: results is obtained for the static and dynamic structure factors as
23: the resolution of the grid is increased.
24: \end{abstract}
25: