Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4bd75ed
Ib marker
haochey Jun 30, 2024
3896c71
Merge branch 'MFlowCode:master' into master
haochey Jul 10, 2024
bd143fe
Fix seg fault issue when fd_order is on
haochey Nov 7, 2024
4fe20ee
Merge branch 'MFlowCode:master' into master
haochey Nov 7, 2024
6b33565
Update m_global_parameters.fpp
haochey Nov 7, 2024
39c5fc1
Merge branch 'master' of https://github.com/haochey/MFChaocheyfork
haochey Nov 8, 2024
8f96e30
Ibm+stl pr (#26)
haochey Nov 13, 2024
2d65013
Merge branch 'MFlowCode:master' into master
haochey Nov 14, 2024
18febdf
Minor refactor and add tests to test suite
haochey Nov 14, 2024
eb590c0
Merge branch 'master' of https://github.com/haochey/MFChaocheyfork
haochey Nov 14, 2024
b32b229
Change example case name for test and minor fix
haochey Nov 14, 2024
fc6b707
Merge branch 'MFlowCode:master' into master
haochey Nov 15, 2024
cf3eafd
Merge branch 'MFlowCode:master' into master
haochey Nov 18, 2024
abfc4a4
Remove commented lines and m_model refactor
haochey Nov 18, 2024
8a21cfa
Merge branch 'MFlowCode:master' into master
haochey Nov 18, 2024
33c314a
Format and analytical levelset refactor
haochey Nov 18, 2024
8b68faf
Merge branch 'master' of https://github.com/haochey/MFChaocheyfork
haochey Nov 18, 2024
6dcdd5f
small IBM bug fixes
anshgupta1234 Nov 19, 2024
f2a8013
small change
anshgupta1234 Nov 19, 2024
2e4fa7d
Merge branch 'MFlowCode:master' into master
haochey Nov 19, 2024
579a578
Fix STL+IBM test suite and refactor
haochey Nov 19, 2024
291e9ac
Add analytical levelset tests
haochey Nov 19, 2024
8805ccc
Change the folder name for test suite
haochey Nov 19, 2024
2f891f6
Merge branch 'MFlowCode:master' into master
haochey Nov 20, 2024
d373ebf
Test tolerance and more examples
haochey Nov 20, 2024
27380da
Fix test suite
haochey Nov 20, 2024
5279f5c
Try fix intel compiler CI test
haochey Nov 21, 2024
54e6f2b
format
haochey Nov 21, 2024
5300f98
Use double quotes for cray compiler
haochey Nov 21, 2024
5cd2996
Fix intel compiler issue
haochey Nov 24, 2024
4089cda
Refactor to get it work on Frontier
haochey Nov 25, 2024
85ba7c3
add examples
haochey Nov 26, 2024
79f3ded
Add example
haochey Nov 26, 2024
e58437b
Add example
haochey Nov 26, 2024
f0761f0
Merge branch 'MFlowCode:master' into master
haochey Nov 26, 2024
6efcdb3
Fix another CCE bug
haochey Nov 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,25 @@ MFC has high-level documentation, visualizations, and more on [its website](http
## An example

We keep many examples.
Here's one!
Here are some of them!
MFC can execute high-fidelity simulations of shock-droplet interaction (see `examples/3d_shockdroplet`)

<p align="center">
<img src="docs/res/shockdrop.png" alt="Shock Droplet Example" width="700"/>
</p>

Another example is the high-Mach flow over an airfoil, shown below.
This one simulates high-Mach flow over an airfoil, shown below.

<p align="center">
<img src="docs/res/airfoil.png" alt="Airfoil Example" width="700"/><br/>
</p>

This one simulates high amplitude acoustic wave through a circular orifice opening, shown below.

<p align="center">
<img src="docs/res/orifice.png" alt="Orifice Example" width="700"/><br/>
</p>


## Getting started

Expand Down
26 changes: 19 additions & 7 deletions docs/documentation/case.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ MPI topology is automatically optimized to maximize the parallel efficiency for
| `vel(i)` * | Real | Supported | Velocity in direction $i$. |
| `hcid` * | Integer | N/A | Hard coded patch id |
| `cf_val` * | Real | Supported | Surface tension color function value |
| `model%%filepath` | String | Not Supported | Path to an STL or OBJ file (not all OBJs are supported). |
| `model%%scale(i)` | Real | Not Supported | Model's (applied) scaling factor for component $i$. |
| `model%%rotate(i)` | Real | Not Supported | Model's (applied) angle of rotation about axis $i$. |
| `model%%translate(i)` | Real | Not Supported | Model's $i$-th component of (applied) translation. |
| `model%%spc` | Integer | Not Supported | Number of samples per cell when discretizing the model into the grid. |
| `model%%threshold` | Real | Not Supported | Ray fraction inside the model patch above which the fraction is set to one.|
| `model_filepath` | String | Not Supported | Path to an STL or OBJ file (not all OBJs are supported). |
| `model_scale(i)` | Real | Not Supported | Model's (applied) scaling factor for component $i$. |
| `model_rotate(i)` | Real | Not Supported | Model's (applied) angle of rotation about axis $i$. |
| `model_translate(i)` | Real | Not Supported | Model's $i$-th component of (applied) translation. |
| `model_spc` | Integer | Not Supported | Number of samples per cell when discretizing the model into the grid. |
| `model_threshold` | Real | Not Supported | Ray fraction inside the model patch above which the fraction is set to one.|

*: These parameters should be prepended with `patch_icpp(j)%` where $j$ is the patch index.

Expand Down Expand Up @@ -263,7 +263,11 @@ Optimal choice of the value of `smooth_coeff` is case-dependent and left to the
- `patch_icpp(j)alpha(i)`, `patch_icpp(j)alpha_rho(i)`, `patch_icpp(j)pres`, and `patch_icpp(j)vel(i)` define for $j$-th patch the void fraction of `fluid(i)`, partial density of `fluid(i)`, the pressure, and the velocity in the $i$-th coordinate direction.
These physical parameters must be consistent with fluid material's parameters defined in the next subsection.

- `model%%scale`, `model%%rotate` and `model%%translate` define how the model should be transformed to domain-space by first scaling by `model%%scale`, then rotating about the Z, X, and Y axes (using `model%%rotate`), and finally translating by `model%%translate`.
- `model_filepath` defines the root directory of the STL or OBJ model file.

- `model_scale`, `model_rotate` and `model_translate` define how the model should be transformed to domain-space by first scaling by `model_scale`, then rotating about the Z, X, and Y axes (using `model_rotate`), and finally translating by `model_translate`.

- `model_spc` and `model_threshold` are ray-tracing parameters. `model_spc` defines the number of rays per cell to render the model. `model_threshold` defines the ray-tracing threshold at which the cell is marked as the model.

### 4. Immersed Boundary Patches

Expand All @@ -279,6 +283,12 @@ These physical parameters must be consistent with fluid material's parameters de
| `m` | Real | NACA airfoil parameters (see below) |
| `p` | Real | NACA airfoil parameters (see below) |
| `slip` | Logical | Apply a slip boundary |
| `model_filepath` | String | Path to an STL or OBJ file (not all OBJs are supported). |
| `model_scale(i)` | Real | Model's (applied) scaling factor for component $i$. |
| `model_rotate(i)` | Real | Model's (applied) angle of rotation about axis $i$. |
| `model_translate(i)` | Real | Model's $i$-th component of (applied) translation. |
| `model_spc` | Integer | Number of samples per cell when discretizing the model into the grid. |
| `model_threshold` | Real | Ray fraction inside the model patch above which the fraction is set to one.|

These parameters should be prepended with `patch_ib(j)%` where $j$ is the patch index.

Expand All @@ -301,6 +311,8 @@ Additional details on this specification can be found in [The Naca Airfoil Serie

- `slip` applies a slip boundary to the surface of the patch if true and a no-slip boundary condition to the surface if false.

- Please see [Patch Parameters](#3-patches) for the descriptions of `model_filepath`, `model_scale`, `model_rotate`, `model_translate`, `model_spc`, and `model_threshold`.

### 5. Fluid Material’s

| Parameter | Type | Description |
Expand Down
Binary file added docs/res/orifice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading