- Posts: 34
- Thank you received: 0
while fes.ndof < 10000:
mesh.Refine()
Solve_Poisson()
i = 1
while i < len(output):
order_u = log(output[i-1][1]/output[i][1])/log(2)
print("%0.3f | %0.3e" %
(order_u, output[i-1][1]))
i = i+1
hh=0.2
for i in range(4):
mesh = Mesh(unit_square.GenerateMesh(maxh=hh))
hh=hh/2
Solve_Poisson()
i = 1
while i < len(output):
order_u = log(output[i-1][1]/output[i][1])/log(2)
print("%0.3f | %0.3e" %
(order_u, output[i-1][1]))
i = i+1
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.