Skip to content

Update CUPyDO Interface

Lacroix Martin requested to merge (removed):master into master

Adaptive Time Step in CUPyDO

This merge request brings support for adaptive time step in CUPyDO.

Changes

  • The function run(t1, t2) in cupydo.py now returns True if DART succeed to solve the time step and False otherwise.

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

Merge request reports