[cig-commits] commit: Make hydrostatic.xml use equations

Mercurial hg at geodynamics.org
Sat May 14 20:54:38 PDT 2011


changeset:   346:a6f0d494b5ed
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Sat May 14 20:53:08 2011 -0700
files:       input/cookbook/hydrostatic.xml
description:
Make hydrostatic.xml use equations


diff -r 4a794e0de5e1 -r a6f0d494b5ed input/cookbook/hydrostatic.xml
--- a/input/cookbook/hydrostatic.xml	Fri May 13 11:55:58 2011 -0700
+++ b/input/cookbook/hydrostatic.xml	Sat May 14 20:53:08 2011 -0700
@@ -350,9 +350,8 @@
     </struct>
     <struct name="hydrostaticTerm">
       <param name="Type">HydrostaticTerm</param>
-      <param name="upperDensity">1</param>
-      <param name="height">maxY</param>
-      <param name="gravity">gravity</param>
+      <param name="densityEquation">if(y &lt; .35, 1,0)</param>
+      <param name="pressureEquation">if(y &lt; .35, .35-y,0)</param>
     </struct>
     <struct name="stressBC">
       <param name="Type">StressBC</param>



More information about the CIG-COMMITS mailing list