Skip to content

Commit 9415e0e

Browse files
committed
Apply formatting
1 parent 333b45b commit 9415e0e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

elastic-tube-1d/fluid-python/tubePlotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def plotVar(ax, crossSection, dx, t):
4444

4545
def doPlotting(ax, crossSection0, velocity0, pressure0, dx, t):
4646
plotTube(ax, crossSection0, velocity0, pressure0, dx, t)
47-
#plotVar(ax[1], crossSection0, dx, t)
47+
# plotVar(ax[1], crossSection0, dx, t)
4848
plt.title(t)
4949
plt.pause(0.1)
5050
# ax[1].cla()

perpendicular-flap/fluid-nutils/fluid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ def main(inflow: 'inflow velocity' = 10,
153153
meshsqr = domain.integral('d_i,x0_j d_i,x0_j d:x0' @ ns, degree=2)
154154

155155
# better initial guess: start from Stokes solution, comment out for comparison with other solvers
156-
#res_stokes = domain.integral('(ubasis_ni,j ((u_i,j + u_j,i) rho nu - p δ_ij) + pbasis_n u_k,k) d:x' @ ns, degree=4)
157-
#lhs0 = solver.solve_linear('lhs', res_stokes, constrain=cons, arguments=dict(meshdofs=meshdofs, oldmeshdofs=oldmeshdofs, oldoldmeshdofs=oldoldmeshdofs, oldoldoldmeshdofs=oldoldoldmeshdofs, dt=dt))
156+
# res_stokes = domain.integral('(ubasis_ni,j ((u_i,j + u_j,i) rho nu - p δ_ij) + pbasis_n u_k,k) d:x' @ ns, degree=4)
157+
# lhs0 = solver.solve_linear('lhs', res_stokes, constrain=cons, arguments=dict(meshdofs=meshdofs, oldmeshdofs=oldmeshdofs, oldoldmeshdofs=oldoldmeshdofs, oldoldoldmeshdofs=oldoldoldmeshdofs, dt=dt))
158158
lhs00 = lhs0
159159

160160
timestep = 0

0 commit comments

Comments
 (0)