Thrombus growth model decribed in the publications:
The framework includes two main programs, each residing in their respective directories along with their makefiles, located in
(i) pkmcnn-palabos-openfoam/pkmcnnlb
, this program can be compiled using make and is designed to be run using MPI MPMD launch mode.
(ii) pkmcnn-palabos-openfoam/fvm/agonistTransportDyMFoam
, this program should be compiled using wmake and is also intended for execution using MPI MPMD launch mode.
Before compiling and running the programs, ensure the following prerequisites are met: Modified versions of the Palabos, OpenFOAM, and MUI libraries are provided in the repository. Update the directory paths for these libraries in the respective Makefiles and code files as needed. Additionally, the OpenFOAM package needs to be compiled and the OpenFOAM environment needs to be loaded.
The param.xml
file in the case
directory contains a list of input simulation parameters that can be changed depending on the example being studied.
An example meshed stenotic geometry is provided in the case
directory.
The geometries directory contains stl files of some geometries that can be utilized for simulations. Each geometry must be appropriately meshed, e.g., using snappyHexMesh
, and the case
directory needs to be updated accordingly. Additionally, the stl file input is also needed in the param.xml
file.
To run the example, cd
to case
and run:
mpirun -np n1 pkmcnn-palabos-openfoam/pkmcnnlb : -np n2 agonistTransportDyMFoam #-parallel
The simulations output .csv files that contain platelet locations and activation levels after different time intervals, .vti files that have velocity profiles, and 'time' directories containing agonist concentration field data. These outputs can all be visualized using Paraview.
Ensure all dependencies are properly configured and paths are updated before compiling and running. For any further assistance or inquiries, please contact me.