1 0 GfsAdvection GfsBox GfsGEdge {} { Time { end = 0.785398 } Refine LEVEL VariableTracer T { gradient = gfs_center_gradient } Init {} { T = { double r2 = x*x + y*y; double coeff = 20. + 20000.*r2*r2*r2*r2; return (1. + cos(20.*x)*cos(20.*y))*exp(-coeff*r2)/2.; } } VariableStreamFunction Psi -4.*(x*x + y*y) OutputErrorNorm { start = end } { awk '{ print LEVEL " " $5 " " $7 " " $9}' } { v = T } { s = { double r2 = x*x + y*y; double coeff = 20. + 20000.*r2*r2*r2*r2; return (1. + cos(20.*x)*cos(20.*y))*exp(-coeff*r2)/2.; } } OutputScalarSum { istep = 1 } t { v = T } } GfsBox {}