I am trying to get used to the preCICE adapter for MBDyn coupled with OpenFOAM. For the beginning, I am trying to get the tutorialcase working. After some porting of the Adapter to preCICE 2 and Python 3, I was able to run the case. Sadly the case crashes after a few iterations with the message (in the terminal of the MBDyn Adapter):
(0) 14:47:53 [acceleration::QRFactorization]:397 in orthogonalize: WARNING: Matrix Q is not sufficiently orthogonal. Failed to rorthogonalize new column after 4 iterations. New column will be discarded. The least-squares system is very bad conditioned and the quasi-Newton will most probably fail to converge.
I am not shure what this error message means.
Please also see the full case here.
To reproduce this issue, you need to have OpenFOAM, preCICE and MBDyn installed.
Run the following commands in two seperate terminals:
cd tutorials/cavityFSI/fluid/ blockMesh pimpleFoam
cd tutorials/cavityFSI/structure/ python cavityFSI.py