AcuSolve Restart Files
Hello experts,
It's me again .
I have completed a transient simulation and want to continue in running the simulation for extend time.
For example: my first simulation is 20s (real time) and i want to run the second simulation from 20s to 30s.
I have known the procedure to restart the simulation (modify the inp file >> run ...)
However, for my first simulation, the result folder Acusim.dir is very large (few GBs) and i need to use HPC to run.
Thus i don't want to re-upload the whole folder Acusim.dir to the HPC and restart simulation.
So which files need to be re-upload to my HPC to restart the simulation?
I have tried to upload the ACUSIM.DIR with the .rst files only, but the 2nd simulation cannot run.
(In Radioss, i only need the .rst file to restart, no need the whole result of 1st run)
Thank you!
Answers
-
You should be able to use the script acuCpRstFiles to copy just the files needed for restart to a new folder (RESTART.DIR), within which will be a new ACUSIM.DIR with those needed files. Use acuCpRstFiles -h to get usage.
0 -
acupro_21778 said:
You should be able to use the script acuCpRstFiles to copy just the files needed for restart to a new folder (RESTART.DIR), within which will be a new ACUSIM.DIR with those needed files. Use acuCpRstFiles -h to get usage.
Hi acupro,
Thanks for your input.
I couldn't start that script on both acusolve 19.1 & 20.1.
Could you provide me any document about this script?
I couldn't find any thing in Acusolve help session.Thanks!
0 -
The workaround is a bit drawn out, for now, but should work.
If you go into the /bin/ directory of the install - default:
C:\Program Files\Altair\2020\hwcfdsolvers\acusolve\win64\binyou'll see:
acuCpProbeFiles.pl
acuCpProbeFiles.bat
acuCpOutFiles.plWe're going to make use of the PERL script acuCpOutFiles - but we need the wrapper to the .bat file. Basically copy the contents of acuCpProbeFiles.bat (the wrapper for acuCpProbeFiles.pl) into a new file acuCpOutFiles.bat, then modify the content of that to point to acuCpOutFiles.pl in those places where it points to acuCpProbeFiles.pl.
Once that is accomplished, go back into your problem directory and run acuCpOutFiles which will generate a new OUT.DIR directory, which includes ACUSIM.DIR. This will contain the output files, not the restart files. Now you'll need to remove the *out* files from that new ACUSIM.DIR (since you don't need them and they just take up space) and move the *rst* files from the original ACUSIM.DIR directory into that new ACUSIM.DIR directory.
Now this new ACUSIM.DIR directory should contain most, if not all, the files you need to perform a restart. If any files are still missing, the .Log file will tell you, and you can copy them from the original ACUSIM.DIR.
0 -
acupro_21778 said:
The workaround is a bit drawn out, for now, but should work.
If you go into the /bin/ directory of the install - default:
C:\Program Files\Altair\2020\hwcfdsolvers\acusolve\win64\binyou'll see:
acuCpProbeFiles.pl
acuCpProbeFiles.bat
acuCpOutFiles.plWe're going to make use of the PERL script acuCpOutFiles - but we need the wrapper to the .bat file. Basically copy the contents of acuCpProbeFiles.bat (the wrapper for acuCpProbeFiles.pl) into a new file acuCpOutFiles.bat, then modify the content of that to point to acuCpOutFiles.pl in those places where it points to acuCpProbeFiles.pl.
Once that is accomplished, go back into your problem directory and run acuCpOutFiles which will generate a new OUT.DIR directory, which includes ACUSIM.DIR. This will contain the output files, not the restart files. Now you'll need to remove the *out* files from that new ACUSIM.DIR (since you don't need them and they just take up space) and move the *rst* files from the original ACUSIM.DIR directory into that new ACUSIM.DIR directory.
Now this new ACUSIM.DIR directory should contain most, if not all, the files you need to perform a restart. If any files are still missing, the .Log file will tell you, and you can copy them from the original ACUSIM.DIR.
I'm attaching the scripts/bat files that should work on Windows. There may still be a few missing files needed for restart (that the .Log file would indicate), but this should get you most of the way there.
Unzip these files into the /bin/ directory, as indicated earlier.
0