Inside monolithic.py, we have a conditional for time loop as follows.
|
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
Inside
monolithic.py, we have a conditional for time loop as follows.turtleFSI/turtleFSI/monolithic.py
Line 156 in 0b95d44
I think
+ dt/10should really be-dt/10to ensuret==Tbecause addingdt/10makes it go into while loop even whent==Tand this will end upt=T+dtas 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