Skip to content

Partitioned heat conduction structure is non-standard and inconsistent #228

@BenjaminRodenberg

Description

@BenjaminRodenberg

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:

  1. keep it as it is. 👍
  2. follow with all solvers the standard way, where you have an independent directory for every solver. We will replace fenics and nutils with fenics-dirichlet, fenics-neumann, nutils-dirichlet, nutils-neumann. This would be consistent with all/most of our other tutorials. 👍 👍
  3. try to only have a single OpenFOAM solver. We merge openfoam-dirichlet and openfoam-neumann into openfoam. 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!).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions