Open fsimonis opened 1 year ago
We have already defined such metadata in the test cases we use in the system tests, for example: https://github.com/precice/tutorials/blob/develop/flow-over-heated-plate/metadata.yaml
Next step is to add such files everywhere (and have a way to keep them consistent).
Problem description
The layout of the preCICE tutorials are designed to be easy to understand: case directories including participant directories for various solvers including scripts to clean and run the case. This layout is sometimes insufficient as some cases use a single solver to run multiple participants such as the paritioned-heat-equation or the aste-turbine case.
This leads to issues where it becomes unclear on how to actually run a scenario, or even which solvers are available for which participant.
This can become tedious when running some tutorials in all combinations.
Proposed solution 1 - case meta data
We add a small metadata file which encodes:
Example for the elastic-tube-3d which all provide a run-script:
Example for paritioned-heat-equation which run scripts require arguments:
Proposed solution 2 - case and solver meta data
We add solver metadata which encodes:
We could then also provide case metadata which encodes the participants of the case.
Example for the elastic-tube-3d:
Example for paritioned-heat-equation:
Tooling
This allows tooling support based on these simple formats. Imagine:
This could easily be extended with solver based postprocessing and check scripts