Segmentation Fault, Solid-Fluid analysis

Hello, I’m working on an aeroelastic analysis for my master’s thesis. I have successfully set up all components and separately tested the fluid simulations in OpenFOAM and the frequency analysis in CalculiX. However, when I attempt to run the coupled aeroelastic simulation using preCICE, I encounter a segmentation fault error.

 *WARNING: 1-D or 2-D elements may cause problems in modal dynamic calculations
           ensure that point loads defined in a MODAL DYNAMIC step
           and applied to nodes belonging to 1-D or 2-D elements have been
           applied to the same nodes in the preceding FREQUENCY step with
           magnitude zero; look at example shellf.inp for a guideline.
 Composing the dynamic response from the eigenmodes
Setting up preCICE participant Solid, using config file: config.yml
---[precice]  This is preCICE version 3.1.2
---[precice]  Revision info: no-info [git failed to run]
---[precice]  Build type: Release (without debug log)
---[precice]  Configuring preCICE with configuration "../precice-config.xml"
---[precice]  I am participant "Solid"
Set ID Found
Read data 'Force' found.
Write data 'Displacement' found.
---[precice]  Setting up primary communication to coupling partner/s
---[precice]  Primary ranks are connected
---[precice]  Setting up preliminary secondary communication to coupling partner/s
---[precice]  Prepare partition for mesh Solid-Mesh
---[precice]  Gather mesh Solid-Mesh
---[precice]  Send global mesh Solid-Mesh
---[precice]  Setting up secondary communication to coupling partner/s
---[precice]  Secondary ranks are connected
---[precice]  iteration: 1 of 50 (min 1), time-window: 1, time: 0 of 0.001, time-window-size: 2e-05, max-time-step-size: 2e-05, ongoing: yes, time-window-complete: no, write-iteration-checkpoint
Initializing coupling data
Adapter reading coupling data...
Reading FORCES coupling data.
Creating a buffer to output correctly when subcycling is used.
Adjusting time step for transient step
precice_dt = 0.000020, ccx_dt = 0.000020 (dtheta = 0.020000, tper = 0.001000) -> dt = 0.000020 (dtheta = 0.020000)
Adapter reading coupling data...
Reading FORCES coupling data.
Adapter writing checkpoint...
[Matteo:02985] ** Process received signal 
[Matteo:02985] Signal: Segmentation fault (11)
[Matteo:02985] Signal code: Address not mapped (1)
[Matteo:02985] Failing at address: 0x55be8fbd6c70
[Matteo:02985] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x45330)[0x7fb27bff1330]
[Matteo:02985] [ 1] ccx_preCICE(+0x2e5fb8)[0x55ba392f9fb8]
[Matteo:02985] [ 2] ccx_preCICE(+0x210c5e)[0x55ba39224c5e]
[Matteo:02985] [ 3] ccx_preCICE(+0x137b9)[0x55ba390277b9]
[Matteo:02985] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca)[0x7fb27bfd61ca]
[Matteo:02985] [ 5] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7fb27bfd628b]
[Matteo:02985] [ 6] ccx_preCICE(+0x16d55)[0x55ba3902ad55]
[Matteo:02985]  End of error message ***
Segmentation fault (core dumped)

Following the input for the frequency and modal analysis:

*INCLUDE, INPUT=involucro_fem.inp
*INCLUDE, INPUT=surfaces.inp
*MATERIAL, Name=Steel
*ELASTIC
 21000000000.0, 0.3
*DENSITY
 7800
*SHELL SECTION, Elset=Eallq, Material=Steel
 0.002
*SHELL SECTION, Elset=Eallt, Material=Steel
 0.002
*STEP, INC=1000000
*FREQUENCY, STORAGE=YES
20
*END STEP
*NODE FILE
 U
*EL FILE
 S, E
*CLOAD
 Nsurface, 1, 0.0
 Nsurface, 2, 0.0
 Nsurface, 3, 0.0
*NODE FILE
 U
*EL FILE
 S, E
*INCLUDE, INPUT=involucro_fem.inp
*INCLUDE, INPUT=surfaces.inp
*MATERIAL, Name=Steel
*ELASTIC
 21000000000.0, 0.3
*DENSITY
 7800
*SHELL SECTION, Elset=Eallq, Material=Steel
 0.002
*SHELL SECTION, Elset=Eallt, Material=Steel
 0.002
*STEP, INC=100000
*MODAL DYNAMIC DIRECT
 2e-05, 0.001
*CLOAD
 Nsurface, 1, 0.0
 Nsurface, 2, 0.0
 Nsurface, 3, 0.0
*NODE FILE
 U
*EL FILE
 S, E
*END STEP

Maybe one of the @calculix-users can help you - Consider joining this group to get notified when CalculiX-related help is needed, as only few people here have application experience with CalculiX.

Did you already try if your solid-only simulation works? That would also be something for the CalculiX forum, in that case.

I have tried a solid-only simulation and everything works properly