THERMOCALC-like output
If verbose
is set to 1:
--Verb=1
a file named _thermocalc_style_output.txt
containing the information of the stable phase equilibrium is saved in ./output/
directory.
MATLAB output
If:
--out_matlab=1
a file named _matlab_output.txt
containing the information of the stable phase equilibrium is saved in ./output/
directory.
This file, although similar to _thermocalc_style_output.txt
in structure, this option saves the result of the minimization in more human friendly units:
phase fraction and composition are expressed in [wt fraction]
.
Note that this output is used by the Matlab notebook MAGEMin_EquilibriumPath.mlx
developped by Dr. Tobias Keller (tobias.keller@erdw.ethz.ch) and added to MAGEMin in version v1.2.4.
As a nested structure
Stable phase equilibrium and related thermodynamically derived parameters such as density are automatically saved as a nested structure containing the information about the system.
The nested structure is defined as a stb_systems
type and contains the following informations
Computation information
|
||
data type |
variable name |
definition |
char * |
MAGEMin_ver |
MAGEMin version used for calculation |
int |
nOx |
number of oxides |
int |
n_iterations |
number of iterations |
double |
bulk_res_norm |
system mass constraint residual norm |
char ** |
oxides |
oxide names |
double |
P |
Pressure |
double |
T |
Temperature |
double * |
bulk |
system bulk composition |
double * |
bulk_wt |
system bulk composition |
System information
|
||
data type |
variable name |
definition |
double |
entropy |
system entropy |
double |
enthalpy |
system enthalpy |
double |
bulkMod |
system bulk modulus |
double |
shearMod |
system shear modulus |
double |
bulkModulus_M |
melt bulk modulus |
double |
bulkModulus_S |
solid bulk modulus |
double |
shearModulus_S |
solid shear modulus |
double |
Vp |
system P-wave velocity |
double |
Vs |
system S-wave velocity |
double |
Vp_S |
solid P-wave velocity |
double |
Vs_S |
solid S-wave velocity |
Phase proportions
|
||
data type |
variable name |
definition |
int |
n_ph |
total number of predicted stable phases |
int |
n_PP |
number of predicted pure phases |
int |
n_SS |
number of predicted solution phases |
char ** |
ph |
stable phases names |
double * |
ph_frac |
stable phases fractions |
double * |
ph_frac_wt |
stable phases fractions |
int * |
ph_type |
stable phase type: 0 -> pure phase, 1 -> solution phase |
int * |
ph_id |
stable phase id |
stb_SS_phase |
SS |
structure holding solution phases information |
stb_PP_phase |
PP |
structure holding pure phases information |
Solution phases information
|
||
data type |
variable name |
definition |
int |
n_xeos |
number of compositional variables |
int |
n_em |
number of end-members |
double |
f |
normalization factor |
double |
G |
Gibbs energy of solution phase |
double |
deltaG |
ΔG between solution phase and Gibbs-hyperplane |
double |
V |
molar volume of the solution phase |
double |
alpha |
thermal expansivity |
double |
cp |
heat capacity |
double |
rho |
density |
double |
entropy |
entropy |
double |
enthalpy |
enthalpy |
double |
bulkMod |
bulk modulus |
double |
shearMod |
shear modulus |
double |
Vp |
P-wave velocity |
double |
Vs |
S-wave velocity |
double * |
compVariables |
compositional variables |
double * |
Comp |
solution phase composition |
double * |
Comp_wt |
solution phase composition |
char ** |
emNames |
end-members name |
double * |
emFrac |
end-members fractions |
double * |
emFrac_wt |
end-members fractions |
double * |
emChemPot |
end-members chemical potential |
double ** |
emComp |
end-members composition |
double ** |
emComp_wt |
end-members composition |