Skip to content

Commit f4ae5ce

Browse files
committed
Add preliminary README
1 parent a0bbd04 commit f4ae5ce

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Channel transport with particles
3+
permalink: tutorials-channel-transport-particles.html
4+
keywords: volume coupling, particles, OpenFOAM, MercuryDPM, transport, just-in-time mapping
5+
summary: A CFD problem is coupled to a particles in a uni-directional way for particles tracing.
6+
---
7+
8+
{% note %}
9+
Get the [case files of this tutorial](https://github.com/precice/tutorials/tree/master/channel-transport-particles). Read how in the [tutorials introduction](https://precice.org/tutorials.html).
10+
{% endnote %}
11+
12+
## Setup
13+
14+
We model a two-dimensional incompressible fluid flowing through a channel with an obstacle. The fluid problem is coupled to a particle participant for particle tracing. Similar to the transport problem (see the [channel-transport tutorial](tutorials-channel-transport.html)), particles are arranged in a circular blob close to the inflow.
15+
16+
## Configuration
17+
18+
preCICE configuration (image generated using the [precice-config-visualizer](https://precice.org/tooling-config-visualization.html)):
19+
20+
![preCICE configuration visualization](images/tutorials-channel-transport-precice-config.png
21+
)
22+
23+
## Available solvers
24+
25+
Fluid participant:
26+
27+
* Nutils. For more information, have a look at the [Nutils adapter documentation](https://precice.org/adapter-nutils.html). This Nutils solver requires at least Nutils v7.0.
28+
29+
* OpenFOAM (pimpleFoam). For more information, have a look at the [OpenFOAM adapter documentation](https://precice.org/adapter-openfoam-overview.html).
30+
31+
Particle participant:
32+
33+
* MercuryDPM
34+
35+
## Running the simulation
36+
37+
For the fluid solver, use Nutils for ease of installation and OpenFOAM for speed.
38+
39+
Open two separate terminals and start one fluid and one transport participant by calling the respective run scripts `run.sh` located in each of the participants' directory. For example:
40+
41+
```bash
42+
cd fluid-nutils
43+
./run.sh
44+
```
45+
46+
and either the non-adaptive mesh transport solver
47+
48+
```bash
49+
cd particles-mercurydpm
50+
./run.sh
51+
```
52+
53+
## Post-processing
54+
55+
All solvers generate `vtk` files which can be visualized using, e.g., ParaView.

0 commit comments

Comments
 (0)