Kratos
Kratos copied to clipboard
[GeoMechanicsApplication] Add validation on completeness of input for GeoSettlement and GeoFlow workflows
As a user, I want a clear error message when my input for running a GeoFlow or GeoSettlement workflow is incomplete, such that I quickly know how to fix the issue.
The bare minimum that we probably need is something along the following lines:
- Boundary conditions for all displacement components.
- Boundary conditions for the water pressure.
- Gravity loading should be present.
- "Appropriate" material parameters.
Acceptance criteria
Given the developer has processes defined in the ProjectParameters.json file
When the developer runs the settlement stage (using the KratosGeoSettlement::RunStage function)
Then if any of the minimum required processes associated to the settlement workflow is missing, raise an error "Missing necessary process (name of the process) for the GeoSettlement workflow, calculation is aborted".
Given the developer has processes defined in the ProjectParameters.json file
When the developer runs the geoflow stage (using the KratosExecute::ExecuteFlowAnalysis function)
Then if any of the minimum required processes associated to the settlement workflow is missing, raise an error "Missing necessary process (name of the process) for the GeoFlow workflow, calculation is aborted".
@indigocoral Moved the AC of the other issue (#11576) here. We might need a bit of discussion on the exact details of the acceptance criteria, but I think we can do that during refinement