Hello everyone,
I am trying to use the OpenFOAM 10 adapter, which tbf is not officially released, but available on OpenFOAM-10 branch of the adapter. I have encountered an issue, when trying to run the perpendicular flap tutorial: OpenFOAM case shows zero displacement.
On inspection, it appears that “force” is being sent from fluid-openfoam (because the solid-dealii participant receives correct force at all time steps), but it doesn’t read cellDisplacement from solid-deaii. The solver for cellDisplacement in OpenFOAM (smoothSolver to be exact) shows trivially zero initial residual for all time steps.
My system:
OpenFOAM 10
preCICE 3.1.2
deaii 9.5.1
running on ubuntu 22.04
Case: Perpendicular flap: fuid-openfoam & solid-dealii.
Files changed in fluid-openfoam: dynamicMeshDict according to the latest commit in the OpenFOAM-10 branch of tutorials repo -
I have cross checked the tutorial with OpenFOAM 2312, which gives the expected results (finite displacement), so it is probably an issue with the adapter for the org version.
It could also be due to incorrect case files, but the case runs till the end, so it is unlikely.
PFA the fluid-openfoam.log file.
I have just opened a pull request with the fix.
Actually the last commit to the OpenFOAM10 branch, to the Adapter.c file erroneously removed a call to readCouplingData(), thus leading to the issue.