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
summary: We solve a simple heat equation. The domain is partitioned and the coupling is established in a Dirichlet-Neumann fashion.
6
6
---
7
7
@@ -39,6 +39,8 @@ You can either couple a solver with itself or different solvers with each other.
39
39
40
40
* OpenFOAM. This case uses the custom [heatTransfer](https://github.com/precice/tutorials/blob/master/partitioned-heat-conduction/solver-openfoam/heatTransfer.C) solver (find it in `solver-openfoam` and build with `wmake`). Read more details in the [OpenFOAM adapter](https://precice.org/adapter-openfoam-overview.html).
41
41
42
+
* G+Smo. Install the [G+Smo adapter](https://precice.org/adapter-gismo.html).
43
+
42
44
## Running the simulation
43
45
44
46
You can find the corresponding `run.sh` script for running the case in the folders corresponding to the participant you want to use:
@@ -75,6 +77,34 @@ If you want to use Nutils or OpenFOAM, use `cd dirichlet/neumann-nutils`, respec
75
77
mpirun -n <N_PROC> heat.py -d
76
78
```
77
79
80
+
For running G+Smo, follow the [G+Smo adapter installation instructions](https://precice.org/adapter-gismo.html) to build the `partitioned-heat-conduction` example. This tutorial only requires the `gsPreCICE` submodule:
81
+
82
+
```bash
83
+
cmake .. -DGISMO_OPTIONAL="gsPreCICE"
84
+
make partitioned-heat-conduction
85
+
```
86
+
87
+
Then link the compiled executable to the `dirichlet-gismo` and `neumann-gismo` folders:
You can mix the Nutils and FEniCS solver, if you like. Note that the error for a pure FEniCS simulation is lower than for a mixed one. We did not yet study the origin of this error, but assume that this is due to the fact that Nutils uses Gauss points as coupling mesh and therefore entails extrapolation in the data mapping at the top and bottom corners.
@@ -87,6 +117,8 @@ For FEniCS you can visualize the content with paraview by opening the `*.pvd` fi
87
117
88
118
For Nutils, please use the files `Dirichlet-*.vtk` or `Neumann-*.vtk`. Please note that these files contain the temperature as well as the reference solution.
89
119
120
+
For G+Smo, please use the generated `solution.pvd` files in the dirichlet-gismo and neumann-gismo directories.
121
+
90
122

0 commit comments