8 8 GfsSimulation GfsBox GfsGEdge { x = 0.5 y = 0.5 } {
Time { end = 100 }
Metric M {
x = sinh(rx/2. + 1.)/(cosh(rx/2. + 1.) - cos (M_PI*ry/4.))
y = sin(M_PI*ry/4.)/(cosh(rx/2. + 1.) - cos (M_PI*ry/4.))
}
Refine LEVEL
ApproxProjectionParams { tolerance = 1e-6 }
AdvectionParams { scheme = none }
SourceViscosity 1.
Global {
}
EventStop { step = 1e-2 } U 1e-4 DU
OutputScalarNorm { istep = 1 } du { v = DU }
OutputErrorNorm { start = end } { awk '{ print LEVEL,$5,$7,$9 }' } { v = Velocity } {
s = {
double p, u, v;
psiuv (y, x - X2, R1, R2, ECC, 1., 0., &u, &v, &p);
return sqrt (u*u + v*v);
}
v = EU
}
OutputSimulation { start = end } end-LEVEL.gfs
}
GfsBox {
left = Boundary { BcDirichlet V 0 }
right = Boundary { BcDirichlet V 1 }
}
GfsBox {
left = Boundary { BcDirichlet V 0 }
right = Boundary { BcDirichlet V 1 }
}
GfsBox {
left = Boundary { BcDirichlet V 0 }
right = Boundary { BcDirichlet V 1 }
}
GfsBox {
left = Boundary { BcDirichlet V 0 }
right = Boundary { BcDirichlet V 1 }
}
GfsBox {
left = Boundary { BcDirichlet V 0 }
right = Boundary { BcDirichlet V 1 }
}
GfsBox {
left = Boundary { BcDirichlet V 0 }
right = Boundary { BcDirichlet V 1 }
}
GfsBox {
left = Boundary { BcDirichlet V 0 }
right = Boundary { BcDirichlet V 1 }
}
GfsBox {
left = Boundary { BcDirichlet V 0 }
right = Boundary { BcDirichlet V 1 }
}
1 2 top
2 3 top
3 4 top
4 5 top
5 6 top
6 7 top
7 8 top
8 1 top