Skip to content

Commit d25581c

Browse files
committed
Fix various typos
1 parent eaf55b1 commit d25581c

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

elastic-tube-1d/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ cd solid-python
9090
./run.sh
9191
```
9292

93-
**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`
93+
**Optional:** A run-time plot visualization can be triggered 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`
9494

9595
{% warning %}
9696
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.

elastic-tube-1d/fluid-cpp/src/FluidComputeSolution.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ int fluidComputeSolutionSerial(
121121
const double velocity_in = u0 + ampl * sin(frequency * (t + t_shift) * PI);
122122
Res[0] = velocity_in - velocity[0];
123123

124-
/* Pressure Inlet is lineary interpolated */
124+
/* Pressure Inlet is linearly interpolated */
125125
Res[N + 1] = -pressure[0] + 2 * pressure[1] - pressure[2];
126126

127-
/* Velocity Outlet is lineary interpolated */
127+
/* Velocity Outlet is linearly interpolated */
128128
Res[N] = -velocity[N] + 2 * velocity[N - 1] - velocity[N - 2];
129129

130130
/* Pressure Outlet is "non-reflecting" */
@@ -148,7 +148,7 @@ int fluidComputeSolutionSerial(
148148
break;
149149
}
150150

151-
/* Initilizing the the LHS i.e. Left Hand Side */
151+
/* Initializing the the LHS i.e. Left Hand Side */
152152
std::fill(LHS_buffer.begin(), LHS_buffer.end(), 0.0);
153153

154154
for (int i = 1; i < N; i++) {
@@ -188,11 +188,11 @@ int fluidComputeSolutionSerial(
188188

189189
// Velocity Inlet is prescribed
190190
LHS(0, 0) = 1;
191-
// Pressure Inlet is lineary interpolated
191+
// Pressure Inlet is linearly interpolated
192192
LHS(N + 1, N + 1) = 1;
193193
LHS(N + 1, N + 2) = -2;
194194
LHS(N + 1, N + 3) = 1;
195-
// Velocity Outlet is lineary interpolated
195+
// Velocity Outlet is linearly interpolated
196196
LHS(N, N) = 1;
197197
LHS(N, N - 1) = -2;
198198
LHS(N, N - 2) = 1;

elastic-tube-1d/fluid-python/thetaScheme.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ def perform_partitioned_theta_scheme_step(velocity0, pressure0, crossSection0, c
9797
# Velocity Inlet is prescribed
9898
res[0] = velocity_in - velocity1[0]
9999

100-
# Pressure Inlet is lineary interpolated
100+
# Pressure Inlet is linearly interpolated
101101
res[N + 1] = -pressure1[0] + 2 * pressure1[1] - pressure1[2]
102102

103-
# Velocity Outlet is lineary interpolated
103+
# Velocity Outlet is linearly interpolated
104104
res[N] = -velocity1[-1] + 2 * velocity1[-2] - velocity1[-3]
105105

106106
# Pressure Outlet is "non-reflecting"

elastic-tube-3d/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ You can start the simulation by running the script `./run.sh` located in each pa
3333

3434
## Post-processing
3535

36-
You can visualize the results using paraView or `cgx`(for native CalculiX resul files), as usual. The total deformation is rather small. Multiplying the deformation by factor of 10 (warp by vector filter in paraView) and visualizing the fluid domain at `t=0.005s` looks as follows:
36+
You can visualize the results using paraView or `cgx`(for native CalculiX result files), as usual. The total deformation is rather small. Multiplying the deformation by factor of 10 (warp by vector filter in paraView) and visualizing the fluid domain at `t=0.005s` looks as follows:
3737

3838
![result tube](images/tutorials-elastic-tube-3d-tube-result.png)
3939

multiple-perpendicular-flaps/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For a case showing fluid-structure interaction only (no multi-coupling), take a
2727

2828
## Why multi-coupling?
2929

30-
This is a case with three participants: the fluid and each flap. In preCICE, there are two options to [couple more than two participants](https://www.precice.org/configuration-coupling-multi.html). The first option a composition of bi-coupling schemes, in which we must specify the exchange of data in a participant to participant manner. However, such a composition is not suited for combining multiple strong fluid-structure interations [1]. Thus, in this case, we use the second option, fully-implicit multi-coupling.
30+
This is a case with three participants: the fluid and each flap. In preCICE, there are two options to [couple more than two participants](https://www.precice.org/configuration-coupling-multi.html). The first option a composition of bi-coupling schemes, in which we must specify the exchange of data in a participant to participant manner. However, such a composition is not suited for combining multiple strong fluid-structure interactions [1]. Thus, in this case, we use the second option, fully-implicit multi-coupling.
3131

3232
We can set this in our `precice-config.xml`:
3333

@@ -44,7 +44,7 @@ The participant that has the control is the one that it is connected to all othe
4444

4545
For the fluid participant we use OpenFOAM. In particular, we use the application `pimpleFoam`. The geometry of the Fluid participant is defined in the file `Fluid/system/blockMeshDict`. Besides, we must specify where are we exchanging data with the other participants. The interfaces are set in the file `Fluid/system/preciceDict`. In this file, we set to exchange stress and displacement on the surface of each flap.
4646

47-
Most of the coupling details are specified in the file `precide-config.xml`. Here we estipulate the order in which we read/write data from one participant to another or how we map from the fluid to the solid's mesh. In particular, we have choosen the nearest-neighbor mapping scheme.
47+
Most of the coupling details are specified in the file `precide-config.xml`. Here we estipulate the order in which we read/write data from one participant to another or how we map from the fluid to the solid's mesh. In particular, we have chosen the nearest-neighbor mapping scheme.
4848

4949
For the simulation of the solid participants we use the deal.II adapter. In deal.II, the geometry of the domain is specified directly on the solver. The two flaps in our case are essentially the same but for the x-coordinate. The flap geometry is given to the solver when we select the scenario in the '.prm' file.
5050

turek-hron-fsi3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ cd solid-dealii
4949

5050
You can also run OpenFOAM in parallel by `./run.sh -parallel`. The default setting here uses 25 MPI ranks. You can change this setting in `fluid-openfoam/system/decomposeParDict`.
5151

52-
You may adjust the end time in the `precice-config.xml`, or interupt the execution earlier if you want.
52+
You may adjust the end time in the `precice-config.xml`, or interrupt the execution earlier if you want.
5353

5454
In the first few timesteps, many coupling iterations are required for convergence. Don't lose hope, things get better quickly.
5555

0 commit comments

Comments
 (0)