ENTER_SYMBOL
The information about this command is specific to the Diffusion Module (DICTRA) Console Mode. The ENTER_SYMBOL command is also available in the GIBBS, POLY3 and POST modules in Thermo‑Calc.
Define a symbolic name to represent either a table or an 'arbitrary' function. Legal variables in functions and columns in tables are described in the sections state variables, auxiliary variables, integral variables or can be previously defined functions. Functions are a useful feature of the POST PROCESSOR to define quantities.
Syntax |
enter_symbol |
Prompts |
Function or table /Function/ Select what kind of symbol to enter. |
Name Each symbol has a unique name that must start with a letter and can have maximum 8 characters. If one wishes to enter the name and the value on the same line they must be separated with an equal sign =. |
|
Function Functions are evaluated from an expression of state variables, auxiliary variables, integral variables or previously defined functions. The expression is a Fortran-like expression and operators +, -, *, / and ** can be used (** only with integer powers). Unary functions like LOG, LOG10, EXP, SIN, COS, ABS and ERF can also be used. An expression can be continued on more than one line. An expression should be terminated by a semicolon or an empty line. ![]()
& The ampersand & sub-prompt displays if the function was not terminated by a semicolon. It allows a user to continue to write the function on the new line if one line is not enough for the function. If one has finished the function just press return again. |
|
Variable(s) When entering a table, specify what variables are to be in the various columns. Separate the variables with commas or space characters. At present a maximum of 15 columns are allowed. The independent variable is always printed in the first column. Auxiliary Variables, Integral Variables, and State Variables in Console Mode DICTRA for details and examples of the short names (mnemonics). |