Define function output
|Top Previous Next|
When calling a function the user has the option to have the function either a user defined set of values spanning one row or a fixed output spanning a number of rows.
This is controlled by the parameter:
The parameters has to be given as a pair, where the first value is the property and the phase is given in brackets.
Important note: Only the values in brackets can be used. For example if you want temperature as output only "T" is a valid input
Below is a table that gives the options for Output:
If the property is for a specific phase a phase index has to be give. The code used 4 different phases:
We want to return Composition and density of phase number 1:
Output = "C(1), D(1)"
We want to return temperature, polymer mass fraction and composition of the first phase
Output = "T, PMF(1) C(1)"