OpenFOAM vs py-pde
OpenFOAM
openfoam.compy-pde
py-pde.readthedocs.ioSide by side
| Figure | OpenFOAM | py-pde |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Physics Simulation Software | 8.7 (#5) | 8.1 (#29) |
| Features | OpenFOAM includes pre-processing, mesh generation, solvers for multiple flow and physics types, and post-processing tools. | It supports nonlinear PDEs, complex boundary conditions, and collections of scalar, vector, or tensor fields. |
| Intended users | OpenCFD describes its services for science and engineering companies, consultancies, and universities. | The project says it is aimed at researchers and students exploring PDE behavior and boundary conditions. |
| License | OpenFOAM is distributed under the GNU General Public Licence (GPL). | The repository identifies the project as MIT licensed. |
| Platforms | The v2606 release provides Linux packages and source code; Windows users can use WSL, native cross-compiled executables, or Docker, and macOS users can compile from source or use Docker. | The package is developed for Python 3.12, tested through Python 3.14, and documented for Linux, Windows, and macOS. |
| Purpose | OpenFOAM is an open-source computational fluid dynamics toolbox for simulating fluid flow, heat transfer, and related physical processes. | py-pde provides methods and classes for simulating partial differential equations and stochastic differential equations. |
| Security | OpenFOAM documentation states that user-supplied system calls are disabled unless allowSystemOperations is enabled, and warns that system calls carry potential security risk. | The documentation warns that interpreting arbitrary expressions uses exec() and should not be used where malicious input may occur. |
| Support | OpenCFD offers a one-year support package covering installation, bug fixes, updates, CFD assistance, and code customisation, with a maximum number of service hours per year. | The repository points users to GitHub Discussions for more information. |
Plans
In their own words
OpenFOAM
OpenFOAM is a free, open-source computational fluid dynamics toolbox for simulating fluid flow, heat transfer, and related physical processes. It provides pre-processing, mesh generation, solvers for different flow and physics problems, and post-processing tools. Built-in utilities include blockMesh and snappyHexMesh, and it can convert meshes from external formats. ParaView visualization is supported through the paraFoam launcher, reader modules, VTK conversion, and VTK output during simulations. OpenFOAM runs on Linux, macOS, and Windows, and supports self-hosted use. Its current release is v2606, released on 26 June 2026; GPU offloading is available as a compile-time option, with that work on a separate development track. It is distributed under the GNU General Public Licence. OpenCFD offers a one-year support package for installation, fixes, updates, CFD assistance, and code customization, subject to a yearly service-hours maximum. It does not respond to support queries without a prior package. Training courses are also offered, with prices provided through a schedule or enquiry process.
py-pde
py-pde has no write-up on Specifiction yet; its figures are above.