Is there a way to run a simulation from a designated starting point using command line tools/Terminal, just like in the GUI?
Thanks,
-Ryan
Run simulation from starting point using command line
- Ryan DeGroff
- Posts: 7
- Joined: Tue Jun 08, 2021 8:23 am
- David Parker
- Posts: 1775
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Run simulation from starting point using command line
Hi Ryan,
There are two ways to run a simulation from a designated starting point.
1) Continue from the last time step
Just run the svsolver program. It looks in the numstart.dat file to see which time step to start the simulation.
2) Start a simulation using an IC (initial condition) file
The SV GUI writes an .svpre file containing all the information to setup a simulation. The svpre program reads this file and creates the solver.in file from it.
You will need to add commands in the .svpre file giving the IC file name. I don't know what that command is. You will need to set the IC in the GUI and see how that is set in the .svpre file.
Cheers,
Dave
There are two ways to run a simulation from a designated starting point.
1) Continue from the last time step
Just run the svsolver program. It looks in the numstart.dat file to see which time step to start the simulation.
2) Start a simulation using an IC (initial condition) file
The SV GUI writes an .svpre file containing all the information to setup a simulation. The svpre program reads this file and creates the solver.in file from it.
You will need to add commands in the .svpre file giving the IC file name. I don't know what that command is. You will need to set the IC in the GUI and see how that is set in the .svpre file.
Cheers,
Dave