Skip to content

Commit de76a56

Browse files
authored
A better readme (#341)
1 parent 83cc59a commit de76a56

File tree

2 files changed

+52
-10
lines changed

2 files changed

+52
-10
lines changed

README.md

Lines changed: 52 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,58 @@
1919
<p align="justify">
2020
Welcome to the home of MFC!
2121
MFC simulates compressible multi-component and multi-phase flows, amongst other things.
22-
It scales ideally to tens of thousands of GPUs on NVIDIA- and AMD-GPU Machines, like OLCF Summit and Frontier.
23-
As such, it is an exascale CFD codebase.
24-
MFC is written in Fortran and makes use of metaprogramming to keep the codebase readable.
25-
Don't hesitate to get in touch with the developers, like <a href="mailto:[email protected]">Spencer</a>, if you have questions.
26-
We have an active Slack channel to help ease new MFC users and support development.
27-
28-
MFC has API and high-level documentation on [its website](https://mflowcode.github.io/).
29-
The latter is also available [here](docs/documentation/readme.md).
22+
It scales <b>ideally to exascale</b>; tens of thousands of GPUs on NVIDIA- and AMD-GPU Machines, like Oak Ridge Summit and Frontier.
23+
MFC is written in Fortran and makes use of metaprogramming to keep the code short (about 20K lines).
24+
25+
Get in touch with the maintainers, like <a href="mailto:[email protected]">Spencer</a>, if you have questions!
26+
We have an active Slack channel and development team.
27+
MFC has high-level documentation, visualizations, and more on [its website](https://mflowcode.github.io/).
3028
</p>
3129

30+
## An example
31+
32+
We keep many examples.
33+
Here's one!
34+
MFC can execute high-fidelity simulations of shock-droplet interaction (see `examples/3d_shockdroplet`)
35+
36+
<p align="center">
37+
<img src="docs/res/shockdrop.png" alt="Shock Droplet Example" width="700"/>
38+
</p>
39+
40+
## Getting started
41+
42+
You can navigate [to this webpage](https://mflowcode.github.io/documentation/md_getting-started.html) to get started using MFC!
43+
It's rather straightforward.
44+
45+
We'll give a brief intro. here for MacOS.
46+
Using [brew](https://brew.sh), install MFC's modest set of dependencies:
47+
```console
48+
brew install wget make python make cmake coreutils gcc openmpi
49+
```
50+
You're now ready to build and test MFC!
51+
Clone it to a convenient directory via
52+
```console
53+
git clone https://github.com/mflowcode/MFC.git
54+
cd MFC
55+
```
56+
then build and test!
57+
```console
58+
./mfc.sh build -j 8
59+
./mfc.sh test -j 8
60+
```
61+
And... you're done!
62+
63+
You can learn more about MFC's capabilities [via its documentation](https://mflowcode.github.io/documentation/index.html) or play with the examples located in the `examples/` directory (some are [shown here](https://mflowcode.github.io/documentation/md_examples.html))!
64+
65+
The shock-droplet interaction case above was run via
66+
```console
67+
./mfc.sh run ./examples/3d_shockdroplet/case.py -n 8
68+
```
69+
where `8` is the number of cores the example will run on.
70+
You can visualize the output data, located in `examples/3d_shockdroplet/silo_hdf5`, via Paraview, Visit, or your other favorite software.
71+
72+
## Citation
73+
3274
If you use MFC, consider citing it:
3375

3476
<p align="center">
@@ -56,6 +98,6 @@ MFC is under the MIT license (see [LICENSE](LICENSE) file for full text).
5698
## Acknowledgements
5799

58100
<p align="justify">
59-
MFC development was supported by multiple current and past grants from the US Office of Naval Research (ONR), the US National Institute of Health (NIH), the US Department of Energy, and the US National Science Foundation (NSF).
60-
MFC computations use ACCESS-CI under allocations TG-CTS120005 (PI Colonius) and TG-PHY210084 (PI Bryngelson) and OLCF Frontier, Summit, and Wombat under allocation CFD154 (PI Bryngelson).
101+
MFC development was supported by multiple current and past grants from the US Department of Defense, National Institute of Health (NIH), Department of Energy (DOE), and the National Science Foundation (NSF).
102+
MFC computations use OLCF Frontier, Summit, and Wombat under allocation CFD154 (PI Bryngelson) and ACCESS-CI under allocations TG-CTS120005 (PI Colonius) and TG-PHY210084 (PI Bryngelson).
61103
</p>

docs/res/shockdrop.png

201 KB
Loading

0 commit comments

Comments
 (0)