Commit 00f85c54 authored by Matthieu Constant's avatar Matthieu Constant
Browse files

wbnd

parent 3220b5fc
Pipeline #4598 passed with stage
in 36 seconds
......@@ -100,11 +100,11 @@ ii = 0
fluid = fluid.FluidProblem(3,g,[nu*rho],[rho])
#Set the mesh geometry for the fluid computation
fluid.load_msh("mesh.msh")
fluid.set_strong_boundary("Top",1,0.)
fluid.set_strong_boundary("X",0,0.)
fluid.set_strong_boundary("Z",2,0.)
fluid.set_strong_boundary("Bottom",1,0.)
fluid.set_strong_boundary("Top",3,0.)
fluid.set_wall_boundary("Top",pressure=0)
fluid.set_wall_boundary("X")
fluid.set_wall_boundary("Z")
fluid.set_wall_boundary("Bottom")
fluid.set_particles(p.mass(), p.volume(), p.position(), p.velocity())
fluid.export_vtk(outputdir,0,0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment