After running DualSPHysics for 40 seconds (let's call this "Run A" ), I am running DualSPHysics again for another 40 seconds (let's call this "Run B") using the last timestep of Run A as the first timestep of Run B via the partbegin option.
Run A has a TimeOut of 0.1 and TimeMax is 40 seconds, so 400 bi4 files are produced. The directory where the new results for Run B will be stored is declared as a variable ("dircontinue") in the batch script, so DualSPHysics is called as folows:
%dualsphysics% %dirout%/%name% %dircontinue% -svres -gpu -partbegin:Part_0400 %dirout%
DualSPHysics gets far enough to show "PartBegin=400" in the output, but after the "Loading initial state of particles..." message, I get an error from JPartsLoad4:
[Initialising JSphGpuSingle v0.70 07-02-2018 10:57:50]
**Basic case configuration is loaded
**Special case configuration is loaded
Loading initial state of particles...
*** Exception (JPartsLoad4::CheckConfig)
Text: Data file does not match the periodic configuration of the case.
I have periodic BCs in both the x and the y for both Run A and Run B, which both use the same CaseDef XML. If I turn off the periodic BCs in the CaseDef, Run B does run, but I need the periodic BCs. I'm not sure if this is a bug or user error, but if anyone can provide guidance about how to get past this problem, I would be most grateful.