[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:54:20 UTC 2009
The following commit has been merged in the upstream branch:
commit 73ab91e1a8fff6db43422d445c1c69ac8714363f
Author: Stephane Popinet <popinet at users.sf.net>
Date: Tue Apr 24 11:02:06 2007 +1000
Updated examples to use implicit surfaces
darcs-hash:20070424010206-d4795-847b95cc22cfc34b1f9308a99f8330e3c379edd3.gz
diff --git a/doc/examples/rt/rt.gfs b/doc/examples/rt/rt.gfs
index 12ce6b9..ddfc629 100644
--- a/doc/examples/rt/rt.gfs
+++ b/doc/examples/rt/rt.gfs
@@ -32,8 +32,8 @@
# \end{figure}
#
# Author: St\'ephane Popinet
-# Command: shapes rayleigh-taylor | transform -M 2. | transform -u 0.5 > rt.gts && gerris2D rt.gfs | gfsview2D rt.gfv
-# Version: 1.0.0
+# Command: gerris2D rt.gfs | gfsview2D rt.gfv
+# Version: 1.1.0
# Required files: rt.gfv
# Running time: 12 minutes
# Generated files: t.mpg vort.mpg t.eps vort.eps t-0.eps t-0.7.eps t-0.8.eps t-0.9.eps t-1.eps
@@ -45,8 +45,8 @@
# The tracer T is used to track both phases
VariableTracerVOF {} T
- # The initial sinusoidal interface.
- InitFraction {} T rt.gts
+ # The initial sinusoidal interface (translated by -0.5 along the y-axis)
+ InitFraction {} T (0.05*cos (2.*M_PI*x) + y) { ty = 0.5 }
AdaptVorticity { istep = 1 } { maxlevel = 7 cmax = 2e-2 }
AdaptGradient { istep = 1 } { maxlevel = 7 cmax = 1e-2 } T
diff --git a/doc/examples/rt/rt.gfv b/doc/examples/rt/rt.gfv
index 5b59428..4edfb6c 100644
--- a/doc/examples/rt/rt.gfv
+++ b/doc/examples/rt/rt.gfv
@@ -1,6 +1,7 @@
# GfsView 2D
View {
tx = -0.0838119 ty = -0.501667
+ sx = 1 sy = 1 sz = 1
q0 = 0 q1 = 0 q2 = 0 q3 = 1
fov = 55.2206
r = 0.3 g = 0.4 b = 0.6
@@ -8,19 +9,20 @@ View {
lc = 0.001
reactivity = 0.1
}
-Isoline {
+VOF {
r = 0 g = 0 b = 0
shading = Constant
maxlevel = -1
} {
n.x = 0 n.y = 0 n.z = 1
pos = 0
-} T {
+} P {
amin = 1
amax = 1
cmap = Jet
-} {
- n = 1
+} T {
+ reversed = 0
+ use_scalar = 0
}
Boundaries {
r = 0 g = 0 b = 0
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list