top of page
Basel Abu-sinni
![](https://static.wixstatic.com/media/03588a_fa38cc282f9849af93d5b3d52766f729~mv2.png/v1/fill/w_151,h_150,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/03588a_fa38cc282f9849af93d5b3d52766f729~mv2.png)
OpenFOAM and PETSc Integration
![Laplacianfoam](https://static.wixstatic.com/media/03588a_213c749aa0f248b6adfe61ff08667694~mv2.png/v1/fill/w_319,h_260,al_c,q_85,enc_auto/03588a_213c749aa0f248b6adfe61ff08667694~mv2.png)
Laplacianfoam
Illustration Only
Integrating between two open-source libraries: OpenFOAM and PETSc.
OpenFOAM provides a toolbox for development of Numerical Solvers and processing utilities for Computational Fluid Dynamics.
PETSc is a suite of Data Structures developed for Parallel solutions of scientific applications modeled by Partial Differential Equations.
Goal: bypassing OpenFOAM's solvers, and using PETSc's Parallel Linear System solvers instead, to solve Linear Systems generated by OpenFOAM at runtime.
The project consisted:
-
Getting familiarized with OF and PETSc.
-
Learning each library's different representation of Matrices.
-
Recoding an existing OF solver to use PETSc and check correctness of solutions.
-
Write an elaborate HOWTO tutorial
bottom of page