1 0 GfsAdvection GfsBox GfsGEdge {} {
Time { end = 5 }
Refine 8
VariableTracerVOFHeight T
VariableCurvature K T
InitFraction T (ellipse (0, -.236338, 0.2, 0.2))
VariableStreamFunction {
step = 2.5
} Psi (t < 2.5 ? 1. : -1.)*sin((x + 0.5)*M_PI)*sin((y + 0.5)*M_PI)/M_PI
AdaptFunction { istep = 1 } {
cmax = 0.1 maxlevel = 8
cfactor = 2.
} (T > 0. && T < 1.)*dL*fabs(K)
AdaptThickness { istep = 1 } { maxlevel = 8 } T
GModule gfsview
OutputView { start = 2.5 } t-2.5.eps { format = EPS line_width = 0.5 } curvature.gfv
Variable Tref
InitFraction { start = end } Tref (ellipse (0, -.236338, 0.2, 0.2))
OutputErrorNorm { start = end } norms { v = T } {
s = Tref v = DT
}
OutputPPM { start = end } { convert ppm:- dt-5.eps } { v = DT }
OutputScalarSum { istep = 1 } { awk '{ print $3,$5-0.8743665 }' > t } { v = T }
}
GfsBox {}