1) Write coronary BC files in every time step (analog to RCR BC in #81). This can also restart from simulation output generated from previous svSolver versions, where only legacy QHistCOR.dat, PHistCOR.dat, PlvHistCOR.dat are present.
2) Increment time step on disk only after all output is written to file. I created a new subroutine writeNumStart to only write numstart.dat. This subroutine is called twice in itrdrv-closedloop-varwall-coronary.f, following each call to restar ('out ', ...)after all functions that write to disk. In case the simulation is terminated while writing to disk, the numstart.dat still points to the previous time step on disk.
Fixes #80 for reals. This introduces two changes:
1) Write coronary BC files in every time step (analog to RCR BC in #81). This can also restart from simulation output generated from previous svSolver versions, where only legacy
QHistCOR.dat
,PHistCOR.dat
,PlvHistCOR.dat
are present.2) Increment time step on disk only after all output is written to file. I created a new subroutine
writeNumStart
to only writenumstart.dat
. This subroutine is called twice initrdrv-closedloop-varwall-coronary.f
, following each call torestar ('out ', ...)
after all functions that write to disk. In case the simulation is terminated while writing to disk, thenumstart.dat
still points to the previous time step on disk.