1 0 GfsSimulation GfsBox GfsGEdge { x = 0.5 y = 0.5 } {
Refine LEVEL
VariableTracerVOFHeight T
VariableCurvature K T
SourceTension T 1. K
PhysicalParams { alpha = 1./(T + 0.01*(1. - T)) }
SourceViscosity 0.2/(T + 100.*(1. - T))
InitFraction T (- ellipse (0, 0, 0.3, 0.3))
AdaptFunction { istep = 1 } { cmax = 0 maxlevel = LEVEL } (T > 0 && T < 1)
Time { end = 3 }
EventStop { istep = 10 } K 1e-5 DK
OutputScalarNorm { istep = 10 } v-ANGLE { v = Velocity }
OutputScalarStats { istep = 10 } k { v = (T > 0.05 && T < 0.95 ? K : NODATA) }
OutputScalarSum { start = end } vol { v = T }
OutputSimulation { start = end } end-ANGLE.gfs
}
GfsBox {
bottom = Boundary {
BcAngle T ANGLE
}
left = Boundary
}