Machine learning based non-Newtonian fluid model with molecular fidelity

Huan Lei, Lei Wu, Weinan EarXiv 2020

Introduction

Modeling the dynamics of non-Newtonian fluids—such as polymer solutions, gels, and biological fluids—presents a fundamental challenge in computational physics. The difficulty lies in a stark trade-off between accuracy and computational feasibility. Traditional macro-scale models, like the Oldroyd-B or FENE-P equations, are computationally efficient but rely on empirical closure assumptions that often fail to capture the complex viscoelastic behaviors inherent in real-world materials. Conversely, micro-scale simulations like Molecular Dynamics (MD) offer high fidelity but are prohibitively expensive for large-scale engineering applications.

To bridge this gap, researchers have introduced DeePN$^2$, a deep learning-based framework designed to construct macro-scale non-Newtonian fluid models directly from micro-scale molecular data. By embedding physical symmetries and deriving evolution equations from first principles, DeePN$^2$ achieves molecular-level accuracy at a fraction of the cost of full MD simulations.

The Challenge of Scale Bridging

Standard machine learning approaches to fluid dynamics often struggle with the transition from micro to macro scales. Learning dynamics from time-series data is notoriously difficult because micro-scale simulations are inherently noisy. This noise makes it nearly impossible to calculate the precise time derivatives required to train standard neural network models. Furthermore, traditional rheology relies on choosing specific "objective tensor derivatives" (e.g., upper-convected or corrotational derivatives) to ensure frame invariance. These choices are often heuristic and can introduce significant modeling errors.

The DeePN$^2$ Methodology

The DeePN$^2$ framework bypasses these hurdles through a physics-informed, end-to-end architecture that focuses on four key innovations:

  1. Micro-Macro Encoders: Rather than attempting to reconstruct the high-dimensional probability distribution of polymer configurations, the framework uses encoder functions to extract macro-scale "features"—nonlinear conformation tensors—directly from micro-scale states.
  2. Physics-Derived Ansatz: The mathematical structure of the model is derived directly from the micro-scale Fokker-Planck equation. This provides a structural skeleton for the evolution equations, allowing the model to be trained using static configuration samples rather than noisy time-series data.
  3. Symmetry-Preserving Neural Networks: To ensure the model is physically admissible, the neural networks representing stress and evolution dynamics are custom-built to rigorously preserve rotational invariance (frame indifference).
  4. Generalized Objective Tensor Derivative: Instead of selecting a standard derivative from a list of empirical options, DeePN$^2$ organically derives a new objective tensor derivative from the underlying physics. This derivative includes a source term that accounts for nonlinear responses to external flow fields, eliminating a major source of ambiguity in traditional rheology.

Experimental Validation

The model was trained and evaluated using data from Dissipative Particle Dynamics (DPD) simulations. Two primary systems were tested:

  • Dumbbell Polymer Solution: A dataset of 36,000 samples using the FENE (Finite Extensible Nonlinear Elastic) bond potential.
  • Three-Bead Suspension: A more complex system involving both bond and angle potentials to demonstrate the model's scalability to higher-dimensional configuration spaces.

In simulations of reverse Poiseuille flow (RPF), DeePN$^2$ demonstrated remarkable performance. It perfectly matched the velocity profiles and stress tensors of full MD simulations. In contrast, standard empirical models like FENE-P showed pronounced overestimations in both the magnitude and duration of flow oscillations. Notably, DeePN$^2$ successfully captured "bond length dispersion," a nonlinear micro-scale response that traditional mean-field approximations typically miss.

Performance and Efficiency

One of the most significant achievements of the DeePN$^2$ framework is its computational efficiency. The model operates at less than 0.05% of the computational cost of full MD simulations. While it is approximately ten times slower than highly simplified empirical continuum models, the gain in accuracy and molecular fidelity makes it a superior choice for complex fluid simulations.

Conclusion and Future Outlook

DeePN$^2$ demonstrates that explicit knowledge of high-dimensional probability density functions is not necessary to construct accurate constitutive equations; rather, well-learned conformation tensors can capture the essential dynamics. By deriving loss functions from the Fokker-Planck equation, the framework sidesteps the "noisy data" problem that plagues many ML-based physics models.

Future work will focus on applying this approach to more complex, realistic polymer chains and automating the selection of model complexity (e.g., the number of encoder functions). Additionally, integrating active learning to improve the efficiency of micro-scale sampling could further streamline the training process, paving the way for high-fidelity, large-scale simulations of complex fluids in industrial and biological contexts.

Summary updated

BibTeX
@misc{lei2020machine,
  author = {Huan Lei and Lei Wu and Weinan E},
  title = {{Machine learning based non-Newtonian fluid model with molecular fidelity}},
  year = {2020},
  eprint = {2003.03672},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.03672},
}
Figure