precice / fenicsx-adapter

Experimental preCICE-adapter for the open source computing platform FEniCSx
GNU Lesser General Public License v3.0
11 stars 6 forks source link

Enable coupling_subdomain definition by mesh tags #8

Open arvedes opened 2 years ago

arvedes commented 2 years ago

It would be nice if it'd be possible to define the coupling_subdomain in fenicsxprecice.Adapter.initialize(coupling_subdomain, ...) by mesh tags (similar to this example). This would be especially helpful in cases with complex geometries where topological definitions are hardly possible.

I think this should be easy to implement by introducing an additional argument into the initialize function. We just have to think about how to stay consistent with the adapter for the legacy FEniCS. For a similar discussion there see https://github.com/precice/fenics-adapter/issues/31.

precice-bot commented 2 years ago

This issue has been mentioned on preCICE Forum on Discourse. There might be relevant details there:

https://precice.discourse.group/t/fluid-solid-cht-coupling/1071/6