AMEND_PARAMETER

This command is for the PARROT module.

There is also a Gibbs (GES) module command with the same name.

Interactively modify the TP-function(s) for a specific parameter for a phase with this command. This is useful in order to correct typing errors because the old function is made available for interactive editing on the terminal.

Syntax

AMEND_PARAMETER

Prompts

Parameter: <Parameter name>

Specify a correct parameter name. If a parameter name is not acceptable or <Enter> is pressed, 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 types of legal identifiers

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 is more than one interacting constituent, specify these; 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 preset in 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

You are prompted to change the parameter definition:

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

Enter Y 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> and the whole definition of the chosen parameter in all ranges (if any) is listed such as:

DIFFERENT FUNCTIONS IN THESE RANGES

298.15<T<2000.00

2000.00<T<4500.00

4500.00<T<6000.00

This message prompts:

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 change.

 

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, (::).

 

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

Give a range number to edit that function, or press <Enter> or type 0 to exit this command.