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)