You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a way to deal with #96, I created the following workflow:
Run a 0D simulation with coronary BCs for nstep time steps until it reaches a periodic state
Project 0D solution to 3D and generate restart.0.1 file
Generate *HistCOR.dat.nstep files from the history of the 0D solution
Run 3D simulation for one time step to generate restart.0.* files for each processor
Rename restart.0.* files to restart.nstep.*
Restart 3D simulation at time step nstep
Have perfectly initialized simulation with coronary BCs
...
Profit
My goal is thus to provide svSolver with initial conditions for flow and pressure and tricking it into thinking I'm restarting a simulation with coronary BCs at time step nstep with the history provided in *HistCOR.dat.nstep.
Unfortunately, whenever I run step 6, svSolver starts computing time step 1 and not time step nstep. I've uploaded my project here. @ktbolt Can you check if I'm doing something dumb that prevents me from restarting at the chosen time step? Thank you!!
The text was updated successfully, but these errors were encountered:
Contrary to popular (mine) belief, restart.0.* does NOT contain a parallel distribution of initial conditions, i.e. "time step zero". Instead. it holds variable wall properties (in case those are defined):
c.... varwallprop is stored in restart.0.proc only
So I would have to use time step one to rename restart files in step 5 above.
It seems that the time step itself is written into the restart files (not just the file name). Not sure where that happens but that messes up step 5 above.
Variable lstep used to read/write *HistRCR.dat.nstep
As a way to deal with #96, I created the following workflow:
nstep
time steps until it reaches a periodic staterestart.0.1
file*HistCOR.dat.nstep
files from the history of the 0D solutionrestart.0.*
files for each processorrestart.0.*
files torestart.nstep.*
nstep
...
My goal is thus to provide
svSolver
with initial conditions for flow and pressure and tricking it into thinking I'm restarting a simulation with coronary BCs at time stepnstep
with the history provided in*HistCOR.dat.nstep
.Unfortunately, whenever I run step 6,
svSolver
starts computing time step1
and not time stepnstep
. I've uploaded my project here. @ktbolt Can you check if I'm doing something dumb that prevents me from restarting at the chosen time step? Thank you!!The text was updated successfully, but these errors were encountered: