Skip to content

Commit 909f85a

Browse files
change main signature for nutils 8 compatibility
1 parent 929c494 commit 909f85a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

perpendicular-flap/fluid-nutils/fluid.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77

88
# for details on this solver see https://doi.org/10.1002/nme.6443
99

10-
def main(inflow: 'inflow velocity' = 10,
11-
viscosity: 'kinematic viscosity' = 1.0,
12-
density: 'density' = 1.0,
13-
theta=0.5,
14-
timestepsize=0.01):
10+
def main(inflow=10., viscosity=1., density=1., theta=.5, timestepsize=.01):
1511

1612
# mesh and geometry definition
1713
topo, geom = mesh.rectilinear([

0 commit comments

Comments
 (0)