Skip to content

Reply To: Checkpointing can’t be used in phaseSeparation2d etc.

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB Bug Reports Checkpointing can’t be used in phaseSeparation2d etc. Reply To: Checkpointing can’t be used in phaseSeparation2d etc.

#5930
Adrian
Keymaster

Additional field data declared by the descriptor is saved / restored by the super lattice serialization.

Did you call SuperLattice2D::postLoad as in e.g. examples/particles/magneticParticles3d/magneticParticles3d.cpp:591? This is called automatically in our current development version but unfortunately not in the current release.

Depending on the exact code, there may be further obstacles in this particular example – e.g. the initial setup is random and non-reproducible by default. Also average rho in general is computed during collideAndStream and not up-to-date directly after reload.

If you post your adapted code I am happy to assist you further.