ASSERTION FAILED usedDegree >= 1

Hello All,

I’m getting an error “ASSERTION FAILED”, when trying to couple two opposing perpendicular flaps. I’m using Calculix, OF, precice3. The error occurs on both the solid components.

I have attached a copy of the error log and the precice-config.xml

Solid_error_log_240724.txt (6.8 KB)
precice-config.xml (4.4 KB)

Any help would be welcomed!

Thanks,
Luke

This is the relevant part of the log:

---[precice]  iteration: 1 of 100 (min 1), time-window: 1, time: 0 of 5, time-window-size: 0.001, max-time-step-size: 0.001, ongoing: yes, time-window-complete: no, write-iteration-checkpoint 
Initializing coupling data
Adapter reading coupling data...
ASSERTION FAILED
Location:   Eigen::VectorXd precice::time::Storage::sample(double) const
File:       /home/luke/precice-3.0.0/src/time/Storage.cpp:199
Expression: usedDegree >= 1
Rank:       0
Arguments:  none

Before investigating potential causes, could you please upgrade to the latest preCICE (v3.1.2) and try again? This assertion is related to the time samples, and a lot of the related code has been updated between v3.0.0 and the latest version.

Thanks @Makis.

I did manage to fix my issue without updating preCICE (but have updated anyway).

The issue lied in my precice-config.xml file where I hadn’t mapped all the participant correctly. Correcting this allowed my simulation to run to completion.

Can you please post the problematic configuration file? This could help us add a more helpful error message.

Edit: Similar issue in this thread:

I opened an issue to improve the error message.