Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TimeStepper to enable fixed point iterations #14

Merged
merged 4 commits into from
Oct 2, 2024

Conversation

hsaunders1904
Copy link
Contributor

Summary

Updates the FoamTimeStepper to take time parameters from MOOSE and set them on the OpenFOAM problem. This is in contrast to what we previously had, where the time step and limits were taken from OpenFOAM and set on the MOOSE solve.

This change is mainly to enable the use of fixed point iterations for multiapps, where MOOSE may want to change the time/time-step and the OpenFOAM solve needs to be updated to reflect this.

Checklist

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

Previously, we took the timestep from OpenFOAM and used that to set dt
on the MOOSE mesh. This makes sense, but to get MOOSE's Picard
iterations working, a multiapp, we need to be able to set the OpenFOAM
timestep from the MOOSE solve.
@hsaunders1904 hsaunders1904 merged commit 15d69aa into main Oct 2, 2024
1 check passed
@hsaunders1904 hsaunders1904 deleted the hsaunders1904/update_timestepper branch October 2, 2024 12:31
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