Skip to main content
. 2025 Feb 28;18(5):1080. doi: 10.3390/ma18051080
Algorithm 1 Summary of Algorithm for Coupling in Time from N to N+1
  •   1:

    procedure a two-subdomain multi-time integration step

  •   2:

          while tration+k+11 or (tration+k1 and tration+k+11+TOL) do

  •   3:

             Integrate subdomain Ωs with u¨Γ and compute force vectors fsint,fsext over Δts

  •   4:

             Compute trial times tTsn+k, tTLN+1 and time step ratios tration+k, tration+k+1

  •   5:

          Compute time step reduction factors αL,αs

  •   6:

          if αLαs then

  •   7:

             ΔtL=αL·ΔtL

  •   8:

          else

  •   9:

             Δts=αs·Δts

  • 10:

             Integrate subdomain Ωs with u¨Γ and recompute force vectors fsint,fsext over Δts

  • 11:

             Recompute trial times tTsn+k, tTLN+1 and time step ratios tration+k, tration+k+1

  • 12:

          Integrate subdomain ΩL with u¨Γ and compute force vectors fLint,fLext over ΔtL

  • 13:

          Compute interface acceleration u¨Γ with Equations (15)–(17) for next time step

  • 14:

          Recompute trial times tTsn+k, tTLN+1 and time step ratios tration+k, tration+k+1