precice / fenics-adapter

preCICE-adapter for the open source computing platform FEniCS
GNU Lesser General Public License v3.0
29 stars 15 forks source link

Improving and generalizing the function `get_forces_as_point_sources` #146

Closed IshaanDesai closed 2 years ago

IshaanDesai commented 2 years ago

This PR makes the function get_forces_as_point_sources more versatile in terms of its capability to handle problems with different physical dimensions. This PR is one amongst many in the direction of adding the capability of handling 3D cases to the adapter.

BenjaminRodenberg commented 2 years ago

I managed to get the test contributed in 446eebf working. Main problem was that VectorFunctionSpace and the scalar rhs Constant(0) was not fitting together. I followed chapter 3.3.3 in the FEniCS tutorials book to get this working. Rest were minor issues.