2 1 GfsSimulationMoving GfsBox GfsGEdge {} {
  Time { end = .1875 }
  Refine 7

  SolidMoving hexagon.gts { scale = 0.250001 } { level = 7 }
  AdvectionParams { 
      moving_order = ORDER 
      # uncommenting the following line leads to instabilities for the
      # first-order scheme 
      # cfl = 0.45
  }
  
  ProjectionParams { tolerance = 1e-10 }
  ApproxProjectionParams { tolerance = 1e-10 }

  AdaptVorticity { istep = 1 } { minlevel = 4 maxlevel = 7 cmax = 1e-2 }

  VariableTracer T
 
  SurfaceBc U Dirichlet 1.

  Init {} { U = 1 T = 1 }

  OutputErrorNorm { istep = 1 } {
      awk '{ printf ("%e %e %e %e\n", $3, $5, $7, $9) }' > momentumerror-ORDER
  } { v = sqrt((U - 1.)*(U - 1.) + V*V) } { s = 0. }

  OutputScalarSum { istep = 1 } {
      awk '{ printf ("%e %e\n", $3, $5 - 1.953125) }' > tracersum-ORDER
  } { v = T }
  OutputSimulation { start = end } end-ORDER.gfs
  
}
GfsBox {
    left = Boundary {
	BcDirichlet U 1
	BcDirichlet T 1
    }
}
GfsBox { right = BoundaryOutflow }
1 2 right