Skip to content

Commit c2661ff

Browse files
committed
[mod] readme
1 parent c1503fb commit c2661ff

File tree

2 files changed

+61
-78
lines changed

2 files changed

+61
-78
lines changed

README.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Simple IBM Solver
2+
3+
[![License](https://img.shields.io/github/license/NaokiHori/SimpleIBMSolver)](https://opensource.org/licenses/MIT)
4+
[![Last Commit](https://img.shields.io/github/last-commit/NaokiHori/SimpleIBMSolver/main)](https://github.com/NaokiHori/SimpleIBMSolver/commits/main)
5+
6+
[![Simulation Snapshot](https://github.com/NaokiHori/SimpleIBMSolver/blob/main/docs/source/snapshot2d.png)](https://youtu.be/nMAyrIYET10)
7+
8+
## Overview
9+
10+
This library numerically simulates the motion of rigid particles in two- and three-dimensional Cartesian domains using the finite-difference and immersed boundary methods.
11+
12+
## Dependency
13+
14+
This solver is built on top of [`SimpleNSSolver`](https://github.com/NaokiHori/SimpleNSSolver).
15+
Please check its repository for dependency details.
16+
17+
## Quick Start
18+
19+
1. **Set up your workspace**
20+
21+
```console
22+
mkdir -p /path/to/your/directory
23+
cd /path/to/your/directory
24+
```
25+
26+
2. **Clone the repository**
27+
28+
```console
29+
git clone --recurse-submodules https://github.com/NaokiHori/SimpleIBMSolver
30+
cd SimpleIBMSolver
31+
```
32+
33+
3. **Set the initial condition**
34+
35+
Python 3 is used to conveniently initialize the flow fields.
36+
Alternatively, `NPY` files can be provided in a different manner under `initial_condition/output/`.
37+
38+
```console
39+
cd initial_condition
40+
make output
41+
bash exec.sh
42+
cd ..
43+
```
44+
45+
4. **Build the solver**
46+
47+
```console
48+
make output
49+
make all
50+
```
51+
52+
5. **Run the simulation**
53+
54+
```console
55+
bash exec.sh
56+
```
57+
58+
## Note
59+
60+
The immersed boundary method and the collision model are based on [this publication](https://www.sciencedirect.com/science/article/pii/S0045793021003716) with some modifications.
61+

README.rst

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)