Commit 8b03e234 authored by Matthieu Constant's avatar Matthieu Constant
Browse files

good validation test cases

parent 51004f3f
Pipeline #4619 passed with stage
in 22 seconds
......@@ -73,10 +73,16 @@ class Poiseuille(unittest.TestCase) :
fluid.set_strong_boundary("Bottom",0,0.)
fluid.set_strong_boundary("Left",1,0.)
fluid.set_strong_boundary("Right",1,0.)
fluid.set_weak_boundary("Left","Wall")
fluid.set_weak_boundary("Bottom","Wall",[0],wall_pressure=True)
fluid.set_weak_boundary("Top","Velocity",[vUp,0])
fluid.set_weak_boundary("Right","Wall")
fluid.set_strong_boundary("Top",0,vUp)
fluid.set_strong_boundary("Top",1,0.)
fluid.set_strong_boundary("Bottom",1,0.)
fluid.set_strong_boundary("Left",0,0.)
fluid.set_strong_boundary("Right",0,0.)
fluid.set_wall_boundary("Left")
fluid.set_wall_boundary("Bottom")
fluid.set_wall_boundary("Top",pressure=0)
fluid.set_wall_boundary("Right")
ii = 0
t = 0
......
......@@ -78,9 +78,9 @@ class Poiseuille(unittest.TestCase) :
fluid = mbfluid.FluidProblem(2,g,nu*rho,rho)
fluid.load_msh("mesh.msh")
fluid.set_weak_boundary("Bottom","Wall")
fluid.set_weak_boundary("Lateral","Wall")
fluid.set_weak_boundary("Top","Wall",[0],wall_pressure=True)
fluid.set_wall_boundary("Bottom")
fluid.set_wall_boundary("Lateral")
fluid.set_wall_boundary("Top",pressure=0)
ii = 0
t = 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