[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet popinet at users.sf.net
Fri May 15 02:55:00 UTC 2009


The following commit has been merged in the upstream branch:
commit 1c970600134ad614977f5c7aabb62b0e8dd3c8f0
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Tue Jan 22 09:32:56 2008 +1100

    New 'hydrostatic' test case
    
    darcs-hash:20080121223256-d4795-f641ecd58dd4d97e65550d68eeda968d20fa5011.gz

diff --git a/test/Makefile.am b/test/Makefile.am
index 5fd70b5..dbf51aa 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -12,6 +12,7 @@ TESTDIRS = \
 	lid \
 	couette \
 	kinetic \
+	hydrostatic \
 	boundaries \
 	channel \
 	plate \
diff --git a/test/hydrostatic/hydrostatic.gfs b/test/hydrostatic/hydrostatic.gfs
new file mode 100644
index 0000000..32e9c82
--- /dev/null
+++ b/test/hydrostatic/hydrostatic.gfs
@@ -0,0 +1,29 @@
+# Title: Hydrostatic balance with solid boundaries and viscosity
+#
+# Description:
+#
+# Checks that hydrostatic balance is accurately computed when coupled
+# with the Crank-Nicholson discretisation of viscous terms.
+#
+# Author: St\'ephane Popinet
+# Command: gerris2D hydrostatic.gfs
+# Version: 1.1.3
+# Required files: hydrostatic.gfs
+1 0 GfsSimulation GfsBox GfsGEdge {} {
+    Refine 3
+    Source V -1
+    SourceViscosity 1e-2
+    Solid (ellipse(0.,0.,0.24,0.24))
+    Time { iend = 10 }
+    ApproxProjectionParams { tolerance = 1e-12 }
+    ProjectionParams { tolerance = 1e-12 }
+    OutputScalarNorm { istep = 1 } v { v = V }
+    EventScript { start = end } {
+        if awk '{if ($9 > 1e-12) exit (1);}' < v ; then
+            return 0;
+        else
+            return $GFS_STOP;
+        fi
+    } 
+}
+GfsBox {}
diff --git a/test/template.tex b/test/template.tex
index e27f6e7..6d780d1 100644
--- a/test/template.tex
+++ b/test/template.tex
@@ -59,6 +59,7 @@ current stable branch of the version-controlled source code.
 \input{lid/lid.tex}
 \input{couette/couette.tex}
 \input{kinetic/kinetic.tex}
+\input{hydrostatic/hydrostatic.tex}
 
 \section{Solid boundaries}
 

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list