I was setting up an FSI case for a cylindrical pipe however, when I try to run the case, both OF and ccx stop at:
“—[precice] Setting up master communication to coupling partner/s”
I am not quite sure what the issue is and would appreciate any help.
I tried deleting the precice-run directory and re-ran the case but the solid gives the following error and the fluid one keeps running alone:
Setting up preCICE participant Solid, using config file: config.yml
—[precice] This is preCICE version 2.3.0
—[precice] Revision info: no-info [Git failed/Not a repository]
—[precice] Configuration: Release (Debug and Trace log unavailable)
—[precice] Configuring preCICE with configuration “…/precice-config.xml”
—[precice] I am participant “Solid”
Set ID Found
Read data ‘Force’ found with ID # ‘3’.
Write data ‘DisplacementDelta’ found with ID # ‘2’.
—[precice] Setting up master communication to coupling partner/s
—[precice] Masters are connected
—[precice] Setting up preliminary slaves communication to coupling partner/s
—[precice] Receive global mesh Fluid-Mesh-Faces
—[precice] Prepare partition for mesh Solid-Mesh
—[precice] Gather mesh Solid-Mesh
—[precice] Send global mesh Solid-Mesh
—[precice] Setting up slaves communication to coupling partner/s
—[precice] Slaves are connected
terminate called after throwing an instance of ‘std::bad_alloc’
./run.sh: line 6: 2139857 Aborted (core dumped) ccx_preCICE -i tube -precice-participant Solid
I don’t know about shell elements in CalculiX, but what happens if you change that? The (very generic/cryptic) error could be related to that, but could also be some simpler technical issue related to building CalculiX/the adapter (only if you recently changed something there).
I have not really made any changes to the installation and tutorial cases are still running so I assume its something else. I changes the *SHELL SECTION in the tube.inp file to *SOLID SECTION but naturally, it says that I cannot use that for a tube or beam.
I actually doubt that the problem is in the CalculiX configuration, if the solvers don’t find each other in the first place. Did you already try deleting any stray precice-run/ directory before starting?
Oh, wait, I now saw the Slaves are connected part. I once had this issue when mixing up MPI versions, i.e., the MPI version that preCICE was compiled with and the MPI version the solvers were compiled with.
Although, CalculiX should not have anything to do with MPI.
I am sure I used intel/19.1.1 for preCICE, adapters and CalculiX. I installed OpenFOAM earlier so I am not sure how to check the compiler used however, it says “export WM_MPLIB=INTELMPI” in the OF bashrc file so I assume I still used intel.
Is this the information you were looking for?