Hostname: page-component-76d6cb85b7-6jg5l Total loading time: 0 Render date: 2026-07-21T14:08:03.549Z Has data issue: false hasContentIssue false

Hammering at the entropy: a GENERIC-guided approach to learning polymeric rheological constitutive equations using PINNs

Published online by Cambridge University Press:  29 July 2025

David Nieto Simavilla*
Affiliation:
Dept. Energía y Combustibles, Escuela Técnica Superior de Ingenieros de Minas y Energia, Universidad Politécnica de Madrid, Madrid, Spain
Andrea Bonfanti
Affiliation:
BMW AG, Digital Campus Munich, Munich, Germany University of the Basque Country (UPV/EHU), Bilbao, Spain Basque Center for Applied Mathematics (BCAM), Bilbao, Spain
Imanol García-Beristain
Affiliation:
Applied Mathematics Department, Engineering School of Bilbao, University of the Basque Country (UPV/EHU), Bilbao, Spain
Pep Español
Affiliation:
Dept. Física Fundamental, Universidad Nacional de Educación a Distancia, Madrid, Spain
Marco Ellero
Affiliation:
Basque Center for Applied Mathematics (BCAM), Bilbao, Spain IKERBASQUE, Basque Foundation for Science, Bilbao, Spain Complex Fluids Research Group, Department of Chemical Engineering, Faculty of Science and Engineering, Swansea University, Swansea, UK
*
Corresponding author: David Nieto Simavilla, david.nsimavilla@upm.es

Abstract

We present a versatile framework that employs Physics-Informed Neural Networks (PINNs) to discover the entropic contribution that leads to the constitutive equation for the extra-stress in rheological models of dilute polymer solutions. In this framework the training of the neural network is guided by an evolution equation for the conformation tensor, which is GENERIC-compliant. We compare two training methodologies for the data-driven PINN constitutive models: one trained on data from the analytical solution of the Oldroyd-B (OB) model under steady-state rheometric flows (PINN-rheometric), and another trained on in silico data generated from computational fluid dynamics (CFD) simulations of complex flow around a cylinder that use the OB model (PINN-complex). The capacity of the PINN models to provide good predictions is evaluated by comparison with CFD simulations using the underlying OB model as a reference. Both models are capable of predicting flow behaviour in transient and complex conditions; however, the PINN-complex model, trained on a broader range of mixed-flow data, outperforms the PINN-rheometric model in complex flow scenarios. The geometry agnostic character of our methodology allows us to apply the learned PINN models to flows with topologies different from those used for training.

Information

Type
JFM Papers
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1. Sketch of the PINNs architecture.

Figure 1

Figure 2. Flowchart of the procedure for macroscopic flow simulations using RheoTool and Python script PINN integration. Orange boxes refer to RheoTool actions. Purple boxes refer to actions in python script.

Figure 2

Figure 3. Entropy as a function of Wi along the steady-state viscometric line. The inset shows the whole entropy surface (3.1) as a function of $c_1$ and $c_2$. The lines over the surface correspond to steady-state rheometric flows (extensional (red), simple shear (blue) and Poiseuille (green)). These lines all coincide.

Figure 3

Figure 4. (a) True entropy. (b) Predicted entropy given by OB model in (3.1). (c) Relative error in the prediction of the entropy for the PINN-rheometric model.

Figure 4

Figure 5. (a) Relative error in the prediction of the first eigenvalue of $\boldsymbol \sigma$. (b) Relative error in the prediction of the second eigenvalue of $\boldsymbol \sigma$. The eigenvalues of $\boldsymbol \sigma$ are determined through automatic differentiation of the PINN-rheometric model entropy in figure 4.

Figure 5

Figure 6. Sketch (a) and mesh example (b) near the cylinder in the flow around cylinder case.

Figure 6

Figure 7. RheoTool simulation with steady-state rheometric training (PINN-rheometric) versus standard RheoTool simulation of the OB model at Wi$=0.067$.

Figure 7

Figure 8. RheoTool simulation with steady-state rheometric training (PINN-rheometric) versus standard RheoTool simulation of the OB model at Wi$=0.15$.

Figure 8

Figure 9. The $c_1$$c_2$$ $ region covered in simulations of flow around a cylinder with Wi$=0.067$ (a) and Wi$=0.15$ (b). Green crosses represent the results using the PINN-rheometric model, red crosses represent the OB implementation in RheoTool (FV) and the black solid line represent the analytical solution for steady-state rheometric flows where the training has been applied.

Figure 9

Figure 10. (a) True entropy given by OB model in (3.1). (b) Predicted entropy. (c) Relative error in the prediction of the entropy for the PINN-complex model. In all three maps, the light blue points represent the training data and the white dashed line represents the steady-state rheometric flow solution.

Figure 10

Figure 11. (a) Relative error in the prediction of the first eigenvalue of $\boldsymbol \sigma$. (b) Relative error in the prediction of the second eigenvalue of $\boldsymbol \sigma$. The eigenvalues of $\boldsymbol \sigma$ are determined through automatic differentiation of the PINN-complex model entropy in figure 4. The light blue points represent the training data.

Figure 11

Figure 12. Comparison of RheoTool simulation results for PINN-complex and OB models at Wi = 0.15.

Figure 12

Figure 13. Comparison of RheoTool simulation results for PINN-complex and OB models at Wi = 0.45.

Figure 13

Figure 14. The $c_1$$c_2$$ $ region covered in simulation of flow around a cylinder with Wi = 0.45. Green crosses represent the results using the PINN-complex model, red crosses represent the OB implementation in RheoTool (FV), whereas the black solid line represent the analytical solution for steady-state rheometric flow.

Figure 14

Figure 15. The $c_1$$c_2$$ $ region covered in simulation of cross-slot, flow around a cylinder and contraction flow with Wi = 0.2.

Figure 15

Figure 16. Comparison of stress on cylinder and symmetry plane. Inset shows the line over which the stress is computed.

Figure 16

Figure 17. Periodic array of cylinders (PAC) test case geometry representation.

Figure 17

Figure 18. The $c_1$$c_2$$ $ region covered in a PAC flow at Wi = 0.35 at (a) L = 2.5 R and (b) L = 3 R for the PINN-complex model (green crosses). Red crosses represent the OB implementation in RheoTool (FV), and the black solid line represent the analytical solution for steady-state rheometric flows. The convex hull of the PINN-complex training range in a flow around a single cylinder is also shown with a dashed line.

Figure 18

Figure 19. Comparison of RheoTool simulation with PINN-complex and OB models at Wi = 0.35 in a PAC for $L=3R$.

Figure 19

Figure 20. Comparison of RheoTool simulation with PINN-complex and OB models at Wi = 0.35 in a PAC for $L=2.5R$.

Figure 20

Figure 21. Start-up and steady-state shear and extensional flow analytic solutions for the OB model.

Figure 21

Figure 22. Comparison of PINN-complex (FENE) and RheoTool simulation results at Wi = 0.5. The stress relative error has been plotted with exponential decay when the magnitude of the true value is lower than 5 %.

Figure 22

Figure 23. The $c_1$$c_2$$ $ region covered in simulations of flow around a cylinder with Wi$=0.5$. Green crosses represent the results using the PINN-rheometric model, and red crosses represent the implementation of FENE-P in RheoTool (FV).

Figure 23

Figure 24. Anisotropy factor (AF) for flow around a cylinder at Wi = 0.2.

Figure 24

Figure 25. Orientation angle ($\chi$) for flow around a cylinder at Wi = 0.2.