Database¶
The decision to use thermodynamic data from a Thermo-Calc™ database or specifying this data, e.g. phase diagrams, molar volumes, yourself is made with the database
parameter. The main options are database
and no_database
. The further input depends strongly on whether a thermodynamic database will be used for the simulation process or not. An optional verbosity mode allows to vary the amount of error output in case of TQ problems. The normal level can be raised with the keyword verbose
or switched off with the keyword silent
.
Note
The option 'database_consistent' has moved to section Numerical Parameters for Concentration Solver.
In case there is a thermodynamic database used in the calculation, the user needs to specify the path to the *.GES5-file (without extension!). In fact, this GES5 file is not the database itself but a subset for a system defined in Thermo-Calc™ and exported to this file (see How to create a GES file).
This GES5 file is read into an internal workspace (TQ-workspace) where all thermodynamic calculation are done. The memory size of this workspace is set by MICRESS® automatically depending on the GES5 file size. Caution: If this heuristic fails and the size of the workspace is too small, the Thermo-Calc library might not always give a meaningful warning. There will be follow up errors, e.g. no components read from the file. In this case the size of the TQ-workspace can be increased by adding an optional line starting with the keyword workspace_size
followed by the requested size in kilo-bytes after the specification of the GES-file (>100KB). The rest of the input remains unchanged.
As next, the mode for defining global update intervals of thermodynamic data has to be set. The options are manual
, from_file
, or none
. In case of manual
a fixed time interval for updating all phase interactions must be given. Alternatively, the updating intervals can be interpolated from a file as function of time (from_file
) or be switched off (none
).
Please note that updating intervals can also be defined for each phase interaction separately (see section Phase Diagrams). In this case, these updates per phase interaction will add up to the global updates if defined here.
**Example: Enabling TQ **
... # Database # ======== # Is a thermodynamic database to be used? # Options: database [silent|verbose] [<GES5 file name\>] # no_database database # Name of Thermo-Calc *.GES5 file without extension? GES_Files/AgCuO # Which global relinearisation interval shall be used? # Options: manual from_file none manual # Relinearisation interval [s] 1.00000E-02 # Reading GES5 workspace ... ...
There is a lot more to take into account when coupling to a thermodynamic database. See topic How to perform a TC-coupled simulation for further details.