Dear Romain, I tried a function to adjust the geothermal gradient manually, however it works perfectly when I put it after the model initialisation, however if I put it after the set temperature BC just before the model initialisation it has no effect at all and does not work? what might cause this? is there a difference?
Dear Romain, I tried a function to adjust the geothermal gradient manually, however it works perfectly when I put it after the model initialisation, however if I put it after the set temperature BC just before the model initialisation it has no effect at all and does not work? what might cause this? is there a difference?
here are the lines:
Model.set_temperatureBCs(top=293.15 u.degK, bottom=1643.15 u.degK, materials=[(mantle, 1643.15 u.degK), (air, 293.15 u.degK )])
Model.init_model()
Model.temperature.data[index] = 0.
for index, coord in enumerate(Model.mesh.data):