Hi @clairewcook
If you don't set spctemperature
, there is no default value for the temperature and your problem may be ill-posed at the inflow boundary (i.e. where the ice velocity is going inward).
You can impose zero flux (∇T.n = 0), you actually don't have to do anything because that will be a right hand side = 0, BUT you need to be careful because this will only work for the diffusion term. The advecting term (v.∇T) may not be 0 if the velocity is not 0 and so then you may be advecting in an unknown amount of heat. So, in short, if you want to impose zero flux, do not set spctemperature
along the boundary but you need to make sure the speed is 0 (you will need to spcvx
and vy
and vz
to 0). I hope this makes sense!
and yes, if you want to define a new custom rheology, you will need to change the C++ code and recompile. It's not complicated at all.
Don't hesitate if you need more help!
Mathieu