SAVE_WORKSPACES
This command is available for both the POLY and GES (GIBBS) modules.
You can save the current status and workspaces, including thermodynamic data, conditions, options and results from a single, stepping or mapping calculation on a *.POLY3 file. The workspaces are saved to a file with this command. This is useful so you have access to the workspace for later use or when you need to terminate the current Console Mode session.
- In the Gibbs (GES) module workspace, all thermochemical data are stored.
- In the POLY module workspace, all the last set of conditions and equilibrium state, changed status, entered symbols, advanced options, defined stepping/mapping variables, added initial equilibria, stepped/mapped results, etc., are stored, so it also contain the GES workspace.
- When you are in a response-driven module such as POTENTIAL or SCHEIL for example, a workspace file is automatically opened. In the workspace file, system definitions, conditions for the calculation, calculation results, and plot settings are saved. The file is saved in the current working directory, and is named after the name of the module that created it. For example, the POTENTIAL module saves a workspace file called
POT.POLY3
; the POURBAIX module saves a file calledPOURBAIX.POLY3
and so forth.
After a SAVE_WORKSPACES command, you can always come back to exactly the state you had when you issued the command by giving a READ_WORKSPACE command. For example, after saving the POLY and GIBBS workspaces to a file, you can leave the program and at a later time READ the file and continue from the saved state.
Important Information About Map and Step Commands
A STEP or MAP command automatically saves the workspace with the most recently specified name. Do not use the SAVE_WORKSPACES command after a MAP or STEP command.
The results from the STEP or MAP commands are destroyed by the SAVE_WORKSPACE command. You can append several results obtained by sequential STEP or MAP calculations without destroying the previous results, whilst SAVE_WORKSPACE erases them all. Keeping this in mind is important and useful particularly for calculating various isothermal (or isoplethal) sections and plotting them on the same diagram in a single Thermo‑Calc run.
To suspend some of the STEP or MAP results, use the AMEND_STORED_EQUILIBRIA command.
Syntax |
save_workspaces |
Options |
A Linux and Mac are case sensitive so ensure you enter A Save window displays if a file name is not given after the command, so that the path (in the Save in field) and File name can be specified. The Files of type cannot be changed. If there is already a file with the same file name under the directory a warning message displays. Click OK to overwrite the current POLY or GIBBS workspace onto the existing file. Click Cancel to return to the module. You can use the SAVE command with an unspecified name (i.e. through When saving a POLY3 workspace under a name that already exists under the current work area, which is saved by default (after running a special module, e.g. BIN, TERN, POT, SCHEIL and POURBAIX) or in an earlier stage of the current Console Mode session or in a previous run (which is READ into the current POLY3 workspace), you can type |