|
|
The checkpointing feature of ANSYS FLUENT allows you to save case and data files while your simulation is running. While similar to the autosave feature of ANSYS FLUENT (Section 4.3.4), which allows you to save files throughout a simulation, checkpointing allows you slightly more control in that you can save an ANSYS FLUENT job even after you have started the job and did not set the autosave option. Checkpointing also allows you to save case and data files and then exit out of ANSYS FLUENT. This feature is especially useful when you need to stop an ANSYS FLUENT job abruptly and save its data.
There are two different ways to checkpoint an ANSYS FLUENT simulation, depending upon how the simulation has been started.
ANSYS FLUENT is integrated with load management tools like LSF and SGE. These two tools allow you to checkpoint any job running under them. You can use the standard method provided by these tools to checkpoint the ANSYS FLUENT job.
For more information on using ANSYS FLUENT and SGE or LSF, go to the Load Management Documentation page on the User Services Center.
When not using tools such as LSF or SGE, a different checkpointing mechanism can be used when running an ANSYS FLUENT simulation. You can checkpoint an ANSYS FLUENT simulation while iterating/time-stepping, so that ANSYS FLUENT saves the case and data files and then continues the calculation, or so that ANSYS FLUENT saves the case and data files and then exits.
On Linux/UNIX, create a file called check-fluent, i.e.,
/tmp/check-fluent
|
On Windows, create a file called check-fluent.txt, i.e.,
C:%USERPROFILE%\check-fluent.txt
|
On Linux/UNIX, create a file called exit-fluent, i.e.,
/tmp/exit-fluent
|
On Windows, create a file called exit-fluent.txt, i.e.,
%USERPROFILE%\exit-fluent.txt
|
The saved case and data files will have the current iteration number appended to their file names.
ANSYS FLUENT offers an alternate way to checkpoint an unsteady simulation. While the default behavior is to checkpoint the simulation at the end of the current iteration, for unsteady simulations you have the option of completing all of the iterations in the current time-step before checkpointing. This can be set by entering the following Scheme command prior to running the unsteady simulation:
Now when you save the checkpoint file (as described previously), the case and data file will be saved at the end of the current time-step and named accordingly. To switch back to the default checkpointing mechanism at the end of the current iteration, use the following Scheme command:
|
|
Note that the
(ckpt/time-step?#t) command will have the effect only in the case of an unsteady simulation.
|
To change the default location of the saved case and data files, you can use the following Scheme commands:
and
where pathname is the path you wish to set as the new default location of the saved case and data files.