Dear all,
I am a beginner ASPECT user and I have a question about how units are handled across plugins. I would really appreciate any guidance people can provide. Specifically, I would like to understand the intended usage of the global variable called Use years in output instead of seconds
. I understand from the documentation that this parameter does not just affect output, but also how inputs to certain plugins are interpreted.
I have run the cookbook called “Kinematically-driven 2d oceanic subduction” two different ways:
- With the global variable
Use years in output instead of seconds
set totrue
, and velocity boundary conditions set using units of m/yr. - With the global variable
Use years in output instead of seconds
set tofalse
, and velocity boundary conditions set using units of m/s.
The resulting velocity fields output by ASPECT are a bit different from each other, which I did not necessarily expect. Also, the output for both cases are on the same order of magnitude (m/yr), when I would have expected the output from the second case to be in m/s.
I wonder if anyone can help me understand:
- Is there some other part of this cookbook (a different plugin) that is being affected by this flag? For example, should the units of Viscosity in the Multicomponent Material Model be converted also?
- Should I expect the output from the two cases I specify above to be the same?
- If I set boundary conditions in m/s, and the flag is set to
false
, why is the output on the order I’d expect from m/yr? - How would you recommended using this global variable when setting up models?
I have attached the two parameter files here, and the magnitude of velocity in each case is plotted below.
Thank you very much in advance for any help!
Best regards,
Gabrielle Hobson
kinematically_driven_subduction_2d_case1_flag_true.prm (5.8 KB)
kinematically_driven_subduction_2d_case1_flag_false.prm (5.8 KB)