1 0 GfsOcean GfsBox GfsGEdge {} {
Time { iend = 1580 dtmax = 0.10285 }
Refine 6
PhysicalParams { g = 9.4534734306584e-4 }
AdvectionParams { scheme = none }
ApproxProjectionParams { tolerance = 1e-6 }
Solid (z + 1.)
Init {} {
U = (5.667583815e-4*200.*y*exp (-100.*(x*x + y*y)))
V = (- 5.667583815e-4*200.*x*exp (-100.*(x*x + y*y)))
P = (5.667583815e-4*exp (-100.*(x*x + y*y)))
}
SourceCoriolis 1
OutputErrorNorm { istep = 1 } {
awk '{print $3/1.0285e-4/3600./24. " " $9*1000e6*1.0285e-4*1.0285e-4/0.01;}' > e
} { v = P } {
s = (5.667583815e-4*exp (-100.*(x*x + y*y)))
unbiased = 1
v = E
}
OutputSimulation { istart = 100 iend = 500 istep = 100 } stdout
EventScript { istart = 100 iend = 500 istep = 100 } {
echo "Save error-$GfsIter.eps { format = EPS }"
}
OutputSimulation { istart = 1500 } stdout
EventScript { istart = 1500 } { echo "Save error-$GfsIter.eps { format = EPS }"}
EventScript { start = end } {
cat <<EOF | gnuplot
set term postscript eps lw 3 color solid 20
set output 'geo_error.eps'
set xlabel 'Time (days)'
set ylabel 'Maximum error on surface height (cm)'
plot 'e.ref' u 1:(\$2*100.) t 'ref' w l, 'e' u 1:(\$2*100.) t '' w l
EOF
}
}
GfsBox {
front = Boundary
}