Skip to content

Commit

Permalink
Remove deprecation warning in script
Browse files Browse the repository at this point in the history
  • Loading branch information
julesghub committed Jan 17, 2025
1 parent d39f76d commit 2b9fbb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Notebooks/Developers/Snippets/Stokes_PoiseuilleFlow.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@
solver.add_natural_bc( sympy.Matrix([ pb, 0.0]) , 'Right')


solver.add_dirichlet_bc( [0., 0.], "Left", [1] ) # no slip on the base
solver.add_dirichlet_bc( [0., 0.], "Right", [1] ) # no slip on the top
solver.add_dirichlet_bc( [None, 0.], "Left" ) # no slip on the base
solver.add_dirichlet_bc( [None, 0.], "Right" ) # no slip on the top


solver.add_dirichlet_bc( [0.,0.], "Bottom", [0, 1] ) # no slip on the base
solver.add_dirichlet_bc( [0.,0.], "Top", [0, 1] ) # no slip on the top
solver.add_dirichlet_bc( [0.,0.], "Bottom") # no slip on the base
solver.add_dirichlet_bc( [0.,0.], "Top" ) # no slip on the top


if uw.mpi.size == 1:
Expand Down

0 comments on commit 2b9fbb1

Please sign in to comment.