gzavo / hemoflow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HemoFlow

Macroscopic flow simulation, aimed at vessel simulations. It relies on the 'preprocessorlbm' package to prepare the voxelized simulation domain.

The input parameters are read from an XML descriptor file. By default every path is relative to the XML file location.

The code supports MPI execution.

Note

  • All input parameters should be either SI or non-dimensional!

Setup

The code builds on the Palabos open-source code. If not present, copy it to the 'palabos' directory, or use the 'setup.sh' script to clone it from the repository. Afterwards use CMake to build the executable, e.g.:

mkdir build cd build cmake .. make -j 4

Shortcomings

  • Openings must be on the axis aligned (AA) bounding box border for now to make geometry preparation automatic.
  • An opening cannot fall to an edge or corner of the AA bounding box (or it can be detected on the wrong side).

TODO

  • New inlet scale function (a more realistic one)
  • New outlet pressure distribution based on Murray-law (smallest outlet -> p=0)
  • Pass the angle of the openings based on centerline calculations (new ID / opening, every centerline goes from the inlet to an opening)
  • Calculate proper axis aligned Pouseuille profile even if the boundary is not perpendicular.
  • [] Validate and verify

About


Languages

Language:C++ 97.7%Language:CMake 1.4%Language:C 0.7%Language:Python 0.2%Language:MATLAB 0.0%Language:Shell 0.0%