Skip to content

Restrict the time step variability #45

Description

@ikorotkin

The time steps $dt_{n} / dt_{n+1}$ can vary a lot. However, if the time step changes drastically (e.g., from 100.0 to 1e-8), this may lead to precision loss.

Solution:

  • Add solver parameter - maximum $dt_{n} / dt_{n+1}$
  • Roll the solution one step back and readjust the time step

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions