Skip to content

savand8/CFDProject

Repository files navigation

Parallel Fluid Simulator using Finite Element Method (FEM) with PETSc

Solves the incompressible Navier Stokes equation using a semi-implicit approach with BDF2 time integration and Chroin-Temam Projection. Simulates laminar 2D fluid flow.

Compiling

To compile the simulator natively, create a build directory and execute compile.sh as follows:

mkdir build
bash compile.sh

Apptainer

Using apptainer will containerise the simulator and dependencies. Executing the .sif file both compiles and runs the simulator. To generate the .sif file:

apptainer build cfd_apptainer.def cfd_apptainer.sif

Examples

1000re05s

backstep1

About

A parallel unstructured fluid simulator based on the finite element method. Built using C++ (backend) with PETSc, Gmsh, and Python (frontend).

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages