precice/openfoam-adapter

Remove the connectivity switch from the configuration, ask preCICE

Open

#198 opened on Sep 20, 2021

 (1 comment) (1 reaction) (0 assignees)C++ (115 forks)auto 404
compatibilityenhancementgood first issue

Repository metrics

Stars
 (171 stars)
PR merge metrics
 (PR metrics pending)

Description

preCICE v2.3.0 https://github.com/precice/precice/pull/1080 introduces an API method to ask whether mesh connectivity is required. In the OpenFOAM adapter, we currently ask the user whether this is required, which the user should not need to configure, as it is system-internal information: https://precice.org/adapter-openfoam-config.html#nearest-projection-mapping

We could directly ask preCICE for this and remove the option from the configuration. As it currently defaults to false, maybe we can do it in a backwards-compatible way and deprecate the option for now.

Contributor guide