@@ -137,30 +137,35 @@ def SetupAragogSolver(config:Config, hf_row:dict):
137137 basal_temperature = config .interior .aragog .ini_tmagma , # initial bottom temperature (K)
138138 )
139139
140+ # Get look up data directory, will be configurable in the future
141+ LOOK_UP_DIR = FWL_DATA_DIR / "interior_lookup_tables/1TPa-dK09-elec-free/MgSiO3_Wolf_Bower_2018/"
142+
140143 phase_liquid = _PhaseParameters (
141- density = 4000 ,
144+ density = LOOK_UP_DIR / "density_melt.dat" ,
142145 viscosity = 1E2 ,
143- heat_capacity = 1000 ,
146+ heat_capacity = LOOK_UP_DIR / "heat_capacity_melt.dat" ,
144147 melt_fraction = 1 ,
145148 thermal_conductivity = 4 ,
146- thermal_expansivity = 1.0E-5 ,
149+ #thermal_expansivity = 1.0E-5,
150+ thermal_expansivity = LOOK_UP_DIR / "thermal_exp_melt.dat" ,
147151 )
148152
149153 phase_solid = _PhaseParameters (
150- density = 4200 ,
154+ density = LOOK_UP_DIR / "density_solid.dat" ,
151155 viscosity = 1E21 ,
152- heat_capacity = 1000 ,
156+ heat_capacity = LOOK_UP_DIR / "heat_capacity_solid.dat" ,
153157 melt_fraction = 0 ,
154158 thermal_conductivity = 4 ,
155- thermal_expansivity = 1.0E-5 ,
159+ #thermal_expansivity = 1.0E-5,
160+ thermal_expansivity = LOOK_UP_DIR / "thermal_exp_solid.dat" ,
156161 )
157162
158163 phase_mixed = _PhaseMixedParameters (
159164 latent_heat_of_fusion = 4e6 ,
160165 rheological_transition_melt_fraction = 0.4 ,
161166 rheological_transition_width = 0.15 ,
162- solidus = FWL_DATA_DIR / "interior_lookup_tables/1TPa-dK09-elec-free/MgSiO3_Wolf_Bower_2018/ solidus.dat" ,
163- liquidus = FWL_DATA_DIR / "interior_lookup_tables/1TPa-dK09-elec-free/MgSiO3_Wolf_Bower_2018/ liquidus.dat" ,
167+ solidus = LOOK_UP_DIR / "solidus.dat" ,
168+ liquidus = LOOK_UP_DIR / "liquidus.dat" ,
164169 phase = "mixed" ,
165170 phase_transition_width = 0.1 ,
166171 grain_size = config .interior .grain_size ,
0 commit comments