MTDATA – Phase Diagram Software from the National Physical Laboratory

 

 

 

Home 

News 

Products 


Training and Support 

FAQs 

Links 

Agents 

Other Services 

 

Services 

 

 

SET

Function:

allows the user to specify which temperature and pressure/volume is to be used for the calculations, and whether the ternary plot produced is calibrated in mass fraction or mole fraction. An initial starting composition in terms of mass fraction or mole fraction may also be set in which case the graphics cursor will not appear until the calculations are complete. Note that for replotting a magnified diagram the centre of the area of interest must be specified as a composition through use of the SET command.

Parameters:

temperature

pressure

n(*)

w(*)

Defaults:

pressure = 101325 Pa

temperature = undefined

n = 1

Examples:

set temperature=1010 pressure=1e5 !

set n(1) 0.4 n(2) 0.5 n(3) 0.1 !

set w=1 !


Parameter values:

TEMPERATURE         takes the value <temperature>/UNDEFINED

The units of temperature are KELVIN.


PRESSURE               takes the values <pressure>/UNDEFINED

The units of pressure are Pa.


N

takes the value <any number>/UNDEFINED

N

takes the values <any number>/UNDEFINED

W takes the values <any number>/UNDEFINED
N(*) takes the values <any number>/UNDEFINED
W(*)

takes the values <any number>/UNDEFINED


General comments:

The default calibration on the ternary plot axes is mole fraction. This can be altered to mass fraction by assigning a value to W. Return to the default is accomplished by assigning a value to N. Component amounts greater than unity are normalised to 1 mole (or, if weight fraction is to be used, 1 kg). Note that the ternary results file will store tie line data in a form according to whichever calibration is used. If REPLOT is to be used subsequently to obtain a magnified portion of a diagram the area of interest must be specified by entering a composition using the set command. 

 

Updated 2 July 2010