1 2 GfsSimulation GfsBox GfsGEdge {} { Time { end = 2 } Refine (x > 0.25 || x < -0.25 || y > 0.25 || y < -0.25 ? LEVEL : LEVEL + 1) Init {} { U = (- cos (8.*M_PI*x)*sin (8.*M_PI*y)) V = (sin (8.*M_PI*x)*cos (8.*M_PI*y)) } ApproxProjectionParams { tolerance = 1e-6 } ProjectionParams { tolerance = 1e-6 } OutputScalarNorm { istep = 1 } divLEVEL { v = Divergence } OutputScalarSum { istep = 1 } kineticLEVEL { v = Velocity2 } OutputScalarSum { istep = 1 } stdout { v = Velocity2 } } GfsBox {} 1 1 right 1 1 top