Openfoam- in house python solver implementation


I am trying to apply a user-specified displacement using an in-house Python solver. I am using OpenFOAM (2D mesh with a cylinder) and implementing an oscillating motion, but the resulting force values seem too high. However, using the same setup with a fixed cylinder in OpenFOAM yields reasonable force values. Could there be an issue with the displacement Laplacian or another aspect of my setup? Please help me resolve this issue as soon as possible.
upload-20240416T164826Z-001.zip (3.8 MB)

Is that a predefined motion? If yes, I am wondering how that would work together with the force computation in the adapter.

You seem to be coupling one Solid with two Fluid participants. What does each Fluid participant correspond to?