Skip to content

Commit 5c0879b

Browse files
committed
Updated readme
1 parent a7d7c3d commit 5c0879b

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

README.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
1-
# FlowInstabilities
2-
SSCP 2021 Project - Group 6 - Flow instabilities in Aneurysms
1+
## FlowInstabilities
2+
3+
<p align="center">
4+
<img src="https://i.ibb.co/ZGWQSp8/models.png" width="840 height="480" alt="Models used in code"/>
5+
</p>
6+
<p align="center">
7+
The five arterial models use to compute flow perturbation and corresponding eigenvalues.
8+
</p>
9+
10+
Description
11+
-----------
12+
FlowInstabilities is a framework for studying flow instabilities through the Reynolds-Orr method.
13+
Initially, the Navier-Stokes equations are solved to find the base flow in the given geometry, before a eigenvalue problem is defined and solved for the perturbed flow and its corresponding eigenvalues.
14+
In the current implementation the method is applied to cerebral arteries, to understand the risk of rupture in [cerebral aneurysms](https://en.wikipedia.org/wiki/Intracranial_aneurysm), including a simple cylinder case to demonstrate Poiseuille flow.
15+
The code is also applicable to other geometries in order to understand flow instabilities.
16+
17+
Installation
18+
------------
19+
20+
For reference, FlowInstabilities requires the following dependencies: FEniCS >= 2018.1.0, Numpy >= 1.13 and SLEPc4Py >= 3.0.0.
21+
To run the cylinder case (Poiseuille flow) there is an additional dependency: mshr >= 2018.
22+
If you are on Windows, macOS or Linux you can install all the general dependencies through anaconda.
23+
24+
Usage
25+
-----
26+
Inside a FEniCS/SLEPc environment, execute the following command to run the main script for case 0, kinematic viscosity of 0.1 and a pressure drop of 5 mmHg
27+
28+
python find_pertubation.py --case 0 --nu 0.1 --delta_p 5
29+
30+
The results will be located in the `Eigenmodes` folder.
31+
Alternatively, you can solve explicitly for the base flow by executing the following command.
32+
33+
python find_baseflow.py
34+
35+
The results will now be saved in the `Baseflow` folder.

0 commit comments

Comments
 (0)