Computational fluid dynamics, multiphase flows, machine learning, OpenFOAM
Some calculus with torch::autograd
Most neural networks learn by minimizing a scalar-valued error. There is ample information about the back-propagation c...
Training a PyTorch neural network on cell-centered OpenFOAM fields
This post covers the use of the PyTorch C++ API for approximating cell-centered fields (pressure, temperature, density, ...
An almost minimal example of an object-oriented library in OpenFOAM
Computational Fluid Dynamics (CFD) models often share the same data and differ in how this data is processed, which orga...
Learning cos(x) using torch::Sequential from the PyTorch C++ API
This post covers the use of the PyTorch C++ API for approximating a function of a single variable using a Neural Network...