[cig-commits] r1318 - trunk/aspect/cookbooks

bangerth at dealii.org bangerth at dealii.org
Tue Oct 23 18:36:28 PDT 2012


Author: bangerth
Date: 2012-10-23 19:36:28 -0600 (Tue, 23 Oct 2012)
New Revision: 1318

Modified:
   trunk/aspect/cookbooks/composition-passive.prm
Log:
Actually use two compositional fields.

Modified: trunk/aspect/cookbooks/composition-passive.prm
===================================================================
--- trunk/aspect/cookbooks/composition-passive.prm	2012-10-23 15:42:37 UTC (rev 1317)
+++ trunk/aspect/cookbooks/composition-passive.prm	2012-10-24 01:36:28 UTC (rev 1318)
@@ -96,7 +96,7 @@
 # a function that is one for the lowermost 0.2 height
 # units of the domain and zero otherwise.
 subsection Compositional fields
-  set Number of fields = 1
+  set Number of fields = 2
 end
 
 subsection Compositional initial conditions
@@ -104,6 +104,6 @@
 
   subsection Function
     set Variable names      = x,y
-    set Function expression = if(y<0.2, 1, 0)
+    set Function expression = if(y<0.2, 1, 0) ; if(y>0.8, 1, 0)
   end
 end



More information about the CIG-COMMITS mailing list