-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Inside monolithic.py, we have a conditional for time loop as follows.
turtleFSI/turtleFSI/monolithic.py
Line 156 in 0b95d44
| while t <= T + dt / 10 and not stop: # + dt / 10 is a hack to ensure that we take the final time step t == T |
I think + dt/10 should really be -dt/10 to ensure t==T because adding dt/10 makes it go into while loop even when t==T and this will end up t=T+dt as the final time step.
I wanna make sure that others agree on this, as this is important part of turtle.
Could I have your opinion on this?
@johannesring @jorgensd @dbruneau-mie
Metadata
Metadata
Assignees
Labels
No labels