- This is version 2.0 of the software, previous versions can be found in the old releases
- The software can solve Incompressible Navier-Stokes and Heat advection diffusion equations for both singlephase and multiphase problems
- Immersed boundary method is implemented to compute flow over solid bodies
- Progress is underway to add new physics modules
- Standard MPI distributed memory model
- MPI Remote Memory Access (RMA) model
- MPI Shared Memory (SHM) model
- Hyper-threading using OpenMP
- Loop tiling for linear algebra solvers
- Array padding for spatial data
- Blocked data storage for stencil computations
- Download the source code
- Make sure you have make utility and the latest version of GNU and MPI-3 or higher installed
- Edit the Makefile in ./src to include your MPI path
src
make
cp Solver ../working/.
cd ../working
mpirun -n [number_of_procs] ./Solver
-
You can also optimize Poisson solver and heat equation by hyper-threading using OpenMP on each core. The number of threads are specified in Solver.h
-
To plot results, edit the python file (plot.py) to match your grid size and simply type (make sure k = nblockx and d = nblocky)
python plot.py