[cig-commits] [commit] master: Add a future cookbook for space- and time-dependent radiogenic heating. (8202cd6)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri May 16 18:39:38 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/7b658caa05d489ae3f8d61b8049b015e7be94f77...cc43d3ac6f571573118eb54c2103bf92dfe8355f

>---------------------------------------------------------------

commit 8202cd634ec545be8bb2ba5b57e08ff1c450cf93
Author: Rene Gassmoeller <R.Gassmoeller at mailbox.org>
Date:   Fri May 16 11:18:07 2014 -0500

    Add a future cookbook for space- and time-dependent radiogenic heating.


>---------------------------------------------------------------

8202cd634ec545be8bb2ba5b57e08ff1c450cf93
 ...{radiogenic_heating.prm => radiogenic_heating_function.prm} | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/cookbooks/future/radiogenic_heating.prm b/cookbooks/future/radiogenic_heating_function.prm
similarity index 93%
copy from cookbooks/future/radiogenic_heating.prm
copy to cookbooks/future/radiogenic_heating_function.prm
index 9a48afc..2f59b66 100644
--- a/cookbooks/future/radiogenic_heating.prm
+++ b/cookbooks/future/radiogenic_heating_function.prm
@@ -6,16 +6,18 @@
 set Dimension = 2
 
 set Start time                             = 0
-set End time                               = 2e6
+set End time                               = 3e6
 set Use years in output instead of seconds = false
 
 set Output directory                       = output
 
 subsection Heating model
-  set Model name = constant heating
+  set Model name = function
 
-  subsection Constant heating
-    set Radiogenic heating rate = 1
+  subsection Function
+    set Variable names = x,y,t
+    set Function constants = length=1000000
+    set Function expression = if(t<2e6,x / length, 0.0)
   end
 end
 



More information about the CIG-COMMITS mailing list