The GeoParams.jl package has many additional laboratory-derived creep laws implemented compared to LaMEM (much of which is thanks to @Dr3ven).
With this PR it becomes possible to directly use any of the GeoParams diffusion/dislocation creep laws in LaMEM:
If you specify >1 of each type, the last one will be taken.
Internally, we simply translate the GeoParams values to the corresponding Vn,En,n,Bn and Vd,Ed,Bd values that LaMEM expected.
We also added a function stress_strainrate_0D that can be used to perform 0D rheology experiments and create stress-strain rate plots by running LaMEM at low resolution for a range of strain rates.
The GeoParams.jl package has many additional laboratory-derived creep laws implemented compared to LaMEM (much of which is thanks to @Dr3ven). With this PR it becomes possible to directly use any of the GeoParams diffusion/dislocation creep laws in LaMEM:
A few remarks: 1) the
add_phase!
function internally sets the corresponding values by callingadd_geoparams_rheologies
:2) If you specify diffusion creep, you also have to indicate the grain size (in meters) as in:
3) You can specify both diffusion creep and dislocation creep rheologies in the
GeoParams
field:If you specify >1 of each type, the last one will be taken.
Internally, we simply translate the GeoParams values to the corresponding
Vn,En,n,Bn
andVd,Ed,Bd
values that LaMEM expected.We also added a function
stress_strainrate_0D
that can be used to perform 0D rheology experiments and create stress-strain rate plots by running LaMEM at low resolution for a range of strain rates.