Skip to content

Commit d38f787

Browse files
committed
Add melting related variables
1 parent f890c3a commit d38f787

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

stagpy/phyvars.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@
5050
'rs3': Varf('z Momentum residue', '1'),
5151
'rsc': Varf('Continuity residue', '1'),
5252
'prim': Varf('Primordial layer', '1'),
53+
"meltfrac": Varf("Melt fraction", "1"),
54+
"meltcompo": Varf("Melt composition", "1"),
55+
"meltrate": Varf("Melting rate", "1"),
56+
"meltvel": Varf("Melt velocity", "1"),
57+
"nmelt": Varf("N melt", "1"),
58+
"fSiO2": Varf("fSiO2", "1"),
59+
"fMgO": Varf("fMgO", "1"),
60+
"fFeO": Varf("fFeO", "1"),
61+
"fXO": Varf("fXO", "1"),
62+
"fFeR": Varf("fFeR", "1"),
5363
})
5464

5565
FIELD_EXTRA: Mapping[str, Callable[[Step], Field]] = MappingProxyType({
@@ -72,6 +82,16 @@
7282
'ed': ['edot'],
7383
'tcond': ['Tcond1', 'Tcond2', 'Tcond3'],
7484
'prm': ['prim'],
85+
"f": ["meltfrac"],
86+
"fc": ["meltcompo"],
87+
"df": ["meltrate"],
88+
"vm": ["meltvel"],
89+
"nm": ["nmelt"],
90+
"fSiO2": ["fSiO2"],
91+
"fMgO": ["fMgO"],
92+
"fFeO": ["fFeO"],
93+
"fXO": ["fXO"],
94+
"fFeR": ["fFeR"],
7595
})
7696

7797
FIELD_FILES_H5: Mapping[str, List[str]] = MappingProxyType({
@@ -98,6 +118,16 @@
98118
'PrincipalStressAxis': ['sx1', 'sx2', 'sx3'],
99119
'StrainRate': ['edot'],
100120
'Primordial': ['prim'],
121+
"MeltFrac": ["meltfrac"],
122+
"MeltComposition": ["meltcompo"],
123+
"MeltingRate": ["meltrate"],
124+
"MeltVelocity": ["meltvel"],
125+
"nmelt": ["nmelt"],
126+
"fSiO2": ["fSiO2"],
127+
"fMgO": ["fMgO"],
128+
"fFeO": ["fFeO"],
129+
"fXO": ["fXO"],
130+
"fFeR": ["fFeR"],
101131
})
102132

103133
SFIELD: Mapping[str, Varf] = MappingProxyType({

0 commit comments

Comments
 (0)