Skip to content

Fix bug when sub-cycling a Hippo app#42

Closed
hsaunders1904 wants to merge 1 commit intoaurora-multiphysics:mainfrom
hsaunders1904:fix_sub_cycling_bug
Closed

Fix bug when sub-cycling a Hippo app#42
hsaunders1904 wants to merge 1 commit intoaurora-multiphysics:mainfrom
hsaunders1904:fix_sub_cycling_bug

Conversation

@hsaunders1904
Copy link
Collaborator

Summary

The application would sometime enter an infinite loop when sub-cycling as MOOSE would never recognise that multiapps were synchronised. It was caused by accumulating numerical errors in the timestep size.

This change attempts to prevent small numerical errors accumulating by preventing time step changes if the change is very small.

Checklist

  • Tests have been written for the new/changed behaviour.
  • Documentation/examples have been added/updated for the new changes.

The application would sometime enter an infinite loop when sub-cycling
as MOOSE would never recognise that multiapps were synchronised. It was
caused by cumulating numerical errors in the timestep size.

This change attempts to prevent small numerical errors accumulating by
preventing time step changes if the change is very small.
@hsaunders1904
Copy link
Collaborator Author

Draft for now, as we need:

  • a test verifying the behaviour is fixed.
  • a way to set the timestep tolerance (there's already a setting for this in MOOSE, but it doesn't appear to help - we should work out why).

@hsaunders1904
Copy link
Collaborator Author

I'm going to close this in favour of the work being done on #28.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant