Closed MakisH closed 3 years ago
This issue has been mentioned on preCICE Forum on Discourse. There might be relevant details there:
As suggested by @MakisH on preCICE forum, I am updating my findings on the same issue. Here are my main dependancies
With CalculiX v2.16 and CalculiX adapter for v2.16, I get the following results with the tutorials:
tutorials/FSI/cylinderFlap/OpenFOAM-CalculiX
: OK with 1 processor but KO in //tutorials/FSI/flap_perp/OpenFOAM-CalculiX
: KO, even on 1 processor
When crashing, all computations end with the message "Polynomial QR linear system has not converged"
With CalculiX v2.15 and CalculiX adapter for v2.15, all the computations end normally.As commented here https://precice.discourse.group/t/influence-of-the-number-of-processors-in-cylinderflap-tutorial/263/5,
I also ran into the same issue while trying the flap_perp tutorial. Downgrading to CalculiX 2.15 worked.
Commenting here as well to mention that the systemtest for FSI/flap_perp/OpenFOAM-CalculiX is failing as of recently:
calculix-adapter-solid | Adapter calling advance()...
openfoam-adapter-fluid | ---[precice] Using tree-based preallocation for matrix A
openfoam-adapter-fluid | ---[precice] Mapping Displacements0 consistent from Solid (ID 2) to Fluid-Mesh-Nodes (ID 1) for dimension 0) with polynomial set to separate
openfoam-adapter-fluid | ---[precice] Mapping Displacements0 consistent from Solid (ID 2) to Fluid-Mesh-Nodes (ID 1) for dimension 1) with polynomial set to separate
openfoam-adapter-fluid | [0]PETSC ERROR: ------------------------------------------------------------------------
openfoam-adapter-fluid | [0]PETSC ERROR: Caught signal number 8 FPE: Floating Point Exception,probably divide by zero
openfoam-adapter-fluid | [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
openfoam-adapter-fluid | [0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
openfoam-adapter-fluid | [0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
openfoam-adapter-fluid | [0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
openfoam-adapter-fluid | [0]PETSC ERROR: to get more information on the crash.
openfoam-adapter-fluid | [0]PETSC ERROR: User provided function() line 0 in unknown file
openfoam-adapter-fluid | --------------------------------------------------------------------------
(Check the linked TravisCI build for the full log)
This test uses CalculiX v2.16 and the respective develop-branch versions of the adapters and tutorial.
Nice to meet you. I'm pleased to report that I have completed the tutorial using CalculiX-Adapter with CalculiX 2.16. I am working on Ubuntu 20.04 LTS. The versions of each software and library are as follows. ・PreCICE 2.1.0 ・CalculiX 2.16 ・Boost 1.73.0 ・PETSc 3.13.3 ・OpenMPI 4.0.4 I built the above and used the apt command to install other dependencies. The following two tutorials have been confirmed to work in my environment. ・FSI/flap_perp/OpenFOAM-CalculiX ・SSI/loaded_beam/CalculiX-CalculiX cylinderFlap cannot be calculated because an error occurred on the OpenFOAM-Adapter side. I don't know about 3D_Tube because I haven't done it yet. In the future, I plan to check the reproducibility using the same operation method. Also, if there is anything, I will report it.
@MakisH The log file of OpenFOAM-Adapter of cylinderFlap is attached. As you can see from the log file, the error that is occurring in my environment does not seem to be the same.
P.S. The tutorial of 3D_Tube was able to confirm the execution with the Allrun file. runFluid.log
@TreeDiagramist this I fixed already, but only in develop. Simply remove or adjust residualControl
in your Fluid/system/fvSolution
file.
@MakisH Thank you for your advice! After editing Fluid/system/fvSolution, I was able to confirm the execution of cylinderFlap.
I get a very similar error with our SU2-CalculiX tutorial, which again appears with CalculiX 2.16 but not with 2.15 (and the respective adapter version).
Log files:
In the latest tutorials release and the latest CalculiX-Adapter release this issue is no longer observed
As I wrote on https://github.com/precice/calculix-adapter/pull/33, which is now merged to master:
I got the same issue with the
FSI/3DTube/OpenFOAM-CalculiX
tutorial (switching torbf-thin-plate-splines
mapping). I also observed it on Ubuntu 16.04 with PETSc 3.9.1 built from source.It looks to me that this is specific to the CalculiX adapter for v2.16, but I have no clue why.