Commit 5dedbeec authored by Michel Henry's avatar Michel Henry
Browse files

fix cavity

parent 0589f980
Pipeline #9993 failed with stages
in 3 minutes
......@@ -68,7 +68,7 @@ class Cavity(unittest.TestCase) :
#Object fluid creation + Boundary condition of the fluid (field 0 is horizontal velocity; field 1 is vertical velocity; field 2 is pressure)
#Format: strong_boundaries = [(Boundary tag, Fluid field, Value)
fluid = mbfluid.FluidProblem(2,g,nu*rho,rho,solver="petsc4py", solver_options="-pc_type lu", order=[1,1,1], stability=True, drag_in_stab=True)
fluid = mbfluid.FluidProblem(2,g,nu*rho,rho,solver="petsc4py", solver_options="-pc_type lu", order=[2,2,1])#, stability=True, drag_in_stab=True)
fluid.set_mean_pressure(10000)
fluid.load_msh("mesh.msh")
......
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