Skip to content

alundilong/CoronaryHemodynamics

Repository files navigation

Please see the following files that are inside the "docs" folder. They are:

  • COPYING.TXT - the GNU Public license (GPL)
  • LICENSE.TXT - the blueCFD-Core License and other information

On CoronaryHemodynamics:

CoronaryHemodynamics is a comprehensive simulation package developed on the OpenFOAM platform (blueCFD-core), designed specifically for coronary artery hemodynamics analysis. The package integrates a complete suite of tools for simulation preparation, including automatic case setup, boundary condition configuration, computational domain meshing, and a CFD solver. It fully supports MPI parallelization, leveraging the native parallel computing capabilities of OpenFOAM. The package implements Windkessel boundary conditions at the aorta outlet and all coronary vessel outlets, with outlet parameters automatically derived from physiological metrics such as heart rate, systolic blood pressure, and myocardial volume. At the aorta inlet, a parabolic flow profile is applied based on the input flow rate waveform. CoronaryHemodynamics supports both steady-state and transient solvers, enabling the simulation of various flow conditions. Flow rate and pressure data are recorded at all boundaries during the simulation, and outputs such as wall shear stress, pressure fields, and velocity fields are automatically stored for detailed post-processing and analysis. By automating critical aspects of the simulation pipeline and integrating physiological boundary conditions, CoronaryHemodynamics offers an efficient and robust framework for studying coronary hemodynamics in both research and clinical applications

alt text

How to run demo cases?

Setting Environment Variables

Before running the application, you need to activate the environment variables by opening the command control panel and typing the following command:

setvar.sh

alt text

Windkessel Model Validation

This case demonstrates the implementation validity of the Windkessel 2-element and Windkessel 3-element models. You can run the case using the following steps:

cd tutorials/demo/WK2/pimplePipe
m4.exe blockMeshDict.m4 > system/blockMeshDict
blockMesh.exe
pimpleFoam.exe

Simple Coronary Simulation

This case demonstrates the steady-state simulation of a realistic coronary geometry. You can run the case using the following steps:

cd tutorials/demo/simpleCoronary
casePreparer.exe
cartesianMesh.exe
initializeFields.exe
changeDictionary.exe
simpleCoronaryFoam.exe

# For MPI execution
decomposePar.exe
mpirun.exe -np 8 simpleCoronaryFoam.exe -parallel

Pimple Coronary Simulation

This case demonstrates the steady-state simulation of a realistic coronary geometry using the Pimple solver. You can run the case using the following steps:

cd tutorials/demo/pimpleCoronary
casePreparer.exe
cartesianMesh.exe
initializeFields.exe
changeDictionary.exe
pimpleCoronaryFoam.exe

# For MPI execution
decomposePar.exe
mpirun.exe -np 8 pimpleCoronaryFoam.exe -parallel

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published