precice / openfoam-adapter

OpenFOAM-preCICE adapter
https://precice.org/adapter-openfoam-overview.html
GNU General Public License v3.0
135 stars 80 forks source link

Coupling OpenFOAM to 2D solvers could be easier #94

Closed MakisH closed 4 years ago

MakisH commented 5 years ago

Context

We currently have several users that couple OpenFOAM (which only works in 3D) with 2D solvers. We usually treat this case as follows:

Examples are e.g.:

Problem

This approach has the following problems:

Proposed solution

We are working on making preCICE compatible with mixed dimensions, but this feature will not be available anytime soon. Also, OpenFOAM is clearly the solver of choice of our users for the role of the Fluid participant, right now.

As an easier solution, @uekerman suggested that we have an option in the OpenFOAM adapter to define 3D or 2D preCICE interfaces. This would require multiple changes in the code, for which @DavidSCN already did some research.

Related to #30.

BenjaminRodenberg commented 5 years ago

There are two additional tutorials that are coming soon, where the 2D-3D issue is very relevant: FSI with OpenFOAM and FEniCS