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

[GeoMechanicsApplycation] Settlement API #11701

Merged
merged 97 commits into from
Oct 26, 2023

Conversation

rfaasse
Copy link
Contributor

@rfaasse rfaasse commented Oct 20, 2023

📝 Description
This PR ties the components for the Settlement workflow together and fixes several issues. This means stages 1-3 of the test case (see also the added cpp test in this PR) are run successfully with the expected results.

🆕 Changelog

  • Added the implementation of the strategy wrapper
  • Added the relevant code to the dgeosettlement.h/.cpp files.
  • Added an integration test for the settlement workflow
  • Extended and refactored the write_output.h/.cpp which is responsible for writing output to the GID res format
  • Imported the LinearSolversApplication as a direct dependency in the settlement workflow (this also means the GeoMechanicsApplication library now depends through cmake on the LinearSolversApplication)

WPK4FEM and others added 30 commits October 9, 2023 13:19
…ormedStatesAfterRunning. Removed template argument from TimeLoopExecutor class.
…dded test for running and terminating a loop with a non-converging solver strategy.
…of the time passed. Added a test on end time after N steps.
…ed ). Passed solver strategy to time step executor.
…crementor with a fixed number of cycles per step. Added RunCycle and RunCycleLoop to the time loop executor.
Also added the `explicit` keyword to a single-argument constructor.
Given a prescribed time incrementor that keeps four time increments and
a solver strategy that always converges, we expect to get four converged
time step end states, where each one just required a single cycle. Also
the time values are validated for each time step end state.

Furthermore added a helper function to build a converged end state.
Now that the strategy wrapper is a member of the time loop executor, we
can set the end time and the time increment in their "global" variables.
Internally, this is done via the model part. The reason we set these
variables explicitly is that processes may rely on having this
information available.
Extended the API of class `StrategyWrapper` such that we can increment
the step number and get the step number upon request.
…for restoring to the initial situation of a step to enable cycling of the step.
…entField implemented and unit tests provided.
…anges a test for the TimeStepExecutor and there is a new one for the TimeLoopExecutor.
@rfaasse rfaasse marked this pull request as ready for review October 23, 2023 09:06
@rfaasse rfaasse requested review from avdg81 and WPK4FEM October 23, 2023 09:06
rfaasse and others added 5 commits October 23, 2023 11:07
…ion' into geo/strategy_wrapper_implementation
1. Prefer to use the pre-increment operator rather than the
   post-increment operator.
2. Made a local variable `const`.
@rfaasse rfaasse changed the title [GeoMechanicsApplycation] Settlement API (Work in Progress) [GeoMechanicsApplycation] Settlement API Oct 23, 2023
A node that has been created by a model part does not need to be added
explicitly to that same model part later on.
avdg81
avdg81 previously approved these changes Oct 25, 2023
Copy link
Contributor

@avdg81 avdg81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good enough for now.

Copy link
Contributor

@avdg81 avdg81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good enough for now. Let's try to continue with our work :-)

@rfaasse rfaasse merged commit b10b3c5 into master Oct 26, 2023
10 of 11 checks passed
@rfaasse rfaasse deleted the geo/strategy_wrapper_implementation branch October 26, 2023 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GeoMechanics Issues related to the GeoMechanicsApplication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GeoMechanicsApplication] Integrate Settlement components for API MVP
4 participants