The source project of this merge request has been removed.
Update CUPyDO Interface
Adaptive Time Step in CUPyDO
This merge request brings support for adaptive time step in CUPyDO.
Changes
- The function
run(t1, t2)incupydo.pynow returnsTrueif DART succeed to solve the time step andFalseotherwise.
Notes
Return Bool
The return of run(t1, t2) is needed by CUPyDO (unsteady computation) to know if the FSI coupling must be restarted with a smaller time step or if the simulation can continue as it. In the case of steady coupling, returning False will raise an Exception.
Tests
-
Ubuntu 22.04 (gcc 11, python 3.10) -
Windows 10 (vs 2019, python 3.8) -
MacOS 12.3 (clang 9, python 3.9)
Edited by Lacroix Martin