2 1 GfsSimulation GfsBox GfsGEdge {}{ GfsTime { end = 480 } GfsRefine 6 GfsVariableTracer {} T #as baffle #Solid (cube(0,0,0,0.5)) { sx = 0.1 tx = 0.5} Solid ({ double c = cube (0,0,0,2.0); double c1 = sphere (0,0,0,0.775); double eb = ellipse (0,0,0.4,0.4); double et = ellipse (0,0,0.05,0.05); double Incub = intersection (c1, eb); double sU = union (Incub,et); return difference (c, sU ); }){ ry = 90 scale = 1.204 tx = 0.5} GfsRefineSolid 7 #GfsSourceDiffusion {} T 0.001 GfsSourceViscosity 1.3e-6 GfsOutputSimulation { step = 1.0 } tank3d1-%3.1f.gfs { } GfsOutputScalarSum { start = 0 step = 1.0 end = 181} tank3d1v.txt { v = Velocity } GfsOutputScalarSum { start = 10 step = 1.0 end = 121} tank3d1n.txt { v = T } GfsOutputScalarSum { start = 125 step = 5.0} tank3d1n.txt { v = T } } # GfsBcDirichlet U ( 0.1 + 0.25 * sin(t * 3.1415926/15.5)) GfsBox { left = GfsBoundary { GfsBcDirichlet U ( 0.1 ) GfsBcDirichlet T { return (t > 15.0 ? (t < 16.0 ? 1 : 0) : 0);} } } GfsBox {right = GfsBoundaryOutflow } 1 2 right