AMEND_PARAMETER

This command is for the Gibbs Energy System (GES) module.

There is also a PARROT module command with the same name.

Use this command to interactively change/amend the temperature-pressure function of a parameter. This is useful to correct typing errors because the old function is made available on the terminal for interactive editing.

About the ENTER_PARAMETER Command

Syntax

AMEND_PARAMETER

Prompts

Parameter: <Parameter name>

Specify a correct parameter name. If a parameter name is not acceptable or you only press <Enter>, the error message displays:

Error, please re-enter each part separately

The program prompts for separate input for each part for a parameter name.

 

Identifier (/X/): <G or L, or TC, or BM, or V0 or VA or VC or VK>

Specify one of these legal identifiers as described for ENTER_PARAMETER.

 

Phase name (/ABCD/): <Phase name>

Specify the phase name.

 

Constituent (in sublattice # /ABC/): <Species name>

Specify the constituent name.

 

Interacting constituent (in sublattice # /xyz/): <Species name>

Specify the interacting constituent name: If there is no interacting constituent, press <Enter>.

 

Interacting constituent (in sublattice # /xyz/): <Species name>

If there are more than one interacting constituents, specify them; otherwise press <Enter>.

 

Degree /#/: <Degree>

Specify a numerical number as the degree of the phase parameter.

 

After the parameter name is specified correctly, the program lists its current definition (either present in the database or defined by the ENTER_PARAMETER command), such as:

L(PHASE2,AL,MG;1)=

298.15<T<2000.00: +5000

2000.00<T<4500.00: +4500

4500.00<T<6000.00: +4000

Then you are prompted to change the parameter definition, as shown below:

Do you want to change the number of ranges /No/:

Enter Y if you want to change the number of ranges for the chosen function, or change some of the temperature limits in the definition. Then retype both the low/high temperature limits and functions.

If you do not want to change the number of ranges but want to change the function(s) in one or more ranges, press <Enter> to accept the default N, then the whole definition of the chosen parameter in all ranges (if any) is listed on screen, such as:

DIFFERENT FUNCTIONS IN THESE RANGES

298.15<T<2000.00

2000.00<T<4500.00

4500.00<T<6000.00

The prompt is given:

Do you want to change range limits /No/:

If there is more than one range, this question is prompted press <Enter>.

 

Range number (0 to exit) /0/: <Range number>

If the function of a parameter is different in two or more temperature ranges, you must specify the range of the function of which you want to amend. Or press <Enter> or type 0 to exit this command without making any changes.

 

Function:

The previous function is available for editing. The editing is performed within the general subroutine FOOLED, as described in AMEND_SYMBOL. This routine prompts as follows:

1:+:>

The prompt consists of the current position in the string and the character at that position between colons, (::).