You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elastic-tube-1d/README.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ The following parameters have been chosen:
25
25
- Fluid density: $$ \rho = 1 $$
26
26
- Young modulus: E = 10000
27
27
28
+
Additionally the solvers use the parameters `N = 100`, `tau = 0.01`, `kappa = 100` by default. These values can be modified directly in each solver.
29
+
28
30
## Available solvers
29
31
30
32
Both fluid and solid participant are supported in:
@@ -70,8 +72,6 @@ cd solid-cpp
70
72
./run.sh
71
73
```
72
74
73
-
The solvers use the parameters `N = 100`, `tau = 0.01`, `kappa = 100` by default and can be modified in the solver.
74
-
75
75
### Python
76
76
77
77
Open two separate terminals and start each participant by calling the respective run script. Only serial run is possible:
@@ -88,25 +88,21 @@ cd solid-python
88
88
./run.sh
89
89
```
90
90
91
-
Parameters such as `N` can be modified directly at the `FluidSolver.py` and at the `SolidSolver.py`. The parameters must be consistent between the different solvers and participants.
92
-
93
-
**Optional:** Visualization and video output of the fluid participant can be triggered via the options `--enable-plot` and `--write-video` of `FluidSolver.py`. To generate .vtk files during execution, you need to add the flag `--write-vtk`.
**Optional:** A run-time plot visualization can be trigged by passing `--enable-plot` in `run.sh` of `FluidSolver.py`. Additionally a video of the run-time plot visualization can be generated by additionally passing `--write-video`
96
92
97
93
{% include warning.html content= "The C++ and Python solvers lead to different results. Please consider the Python results as the correct ones and refer to this [open issue](https://github.com/precice/tutorials/issues/195) for more insight. Contributions are particularly welcome here." %}
The results from each simulation are stored in each `fluid-<participant>/output/` folder. You can visualize these VTK files using the provided `plot-diameter.sh` script
102
100
103
101
```bash
104
102
./plot-diameter.sh
105
103
```
106
104
107
-
which will try to visualize the results from both fluid cases, if available.
108
-
109
-
This script calls the more flexible `plot-vtk.py` Python script, which you can use as
105
+
which will try to visualize the results from both fluid cases, if available. This script calls the more flexible `plot-vtk.py` Python script, which you can use as
0 commit comments