-
-
Notifications
You must be signed in to change notification settings - Fork 128
Description
Background
In PR #223 there was already a discussion whether we should change the structure of our partitioned heat conduction tutorial or not (see #223 (comment)). We decided to move this discussion to an independent issue, since it was off-topic for #223.
Current state
The current structure of this tutorial is inconsistent, since the OpenFOAM solver has independent solvers for Dirichlet and Neumann while the FEniCS and Nutils solvers don't:
Rough structure (from #223 (comment)):
├── fenics
├── images
├── nutils
├── openfoam-dirichlet
├── openfoam-neumann
├── openfoam-solver
├── precice-config.xml
└── README.md
Possible solutions
Currently there are three main possibilities:
- keep it as it is. 👍
- follow with all solvers the standard way, where you have an independent directory for every solver. We will replace
fenics
andnutils
withfenics-dirichlet
,fenics-neumann
,nutils-dirichlet
,nutils-neumann
. This would be consistent with all/most of our other tutorials. 👍 👍 - try to only have a single OpenFOAM solver. We merge
openfoam-dirichlet
andopenfoam-neumann
intoopenfoam
. As far as I understand we concluded in Add partitioned-heat OpenFOAM participant with solver #223 that this is not possible. 👎
Goal of this issue
We should agree in this issue on a structure that fits for cases like the partitioned heat equation, where there are not necessarily two independent solvers, but only a domain decomposition of a single solver happens. This structure should be as consistent with existing tutorials as possible and at the same time not introduce a large amount of code duplication (maintainment!).