bview2D fails to load certain dump files

37 views
Skip to first unread message

Riccardo Caraccio

unread,
Dec 4, 2025, 6:32:56 AM (4 days ago) Dec 4
to basilisk-fr
Dear all,

I have noticed that bview2D fails to load certain snapshots, such as the one attached, giving a "floating point exception" after some fields have been loaded. 

Note that this seems to be related to the latest version of Basilisk, as reverting before the patch "2025-10-14 16:37:50 CEST (Stephane Popinet): Tree grids can restore from (non-square/cubic) multigrid dumps with multiple ‘roots’"  works without problems.

Also, this is only related to some particular snapshots, as using an MRE of the kind works with no problem.
#include "navier-stokes/centered.h"
scalar s[];
int main () { init_grid (1 << 6); run(); }
event init (i = 0) {
foreach()
  s[] = sqrt(sq(x)+sq(y));
}
event end_timestep (i = 1) { dump(); }

Has anyone else encountered this problem and maybe found a solution? 
Thanks!
Riccardo

dump
Reply all
Reply to author
Forward
0 new messages