The precice-settings.json should be ported to the preCICE adapter schema.
Currently (using the regression test)
{
"coupling_params": {
"participant_name": "SolverOne",
"config_file_name": "../precice-config.xml",
"mesh_name": "MeshOne",
"write_data_name": "dataOne",
"read_data_name": "dataTwo"
}
}
Adapter schema: https://github.com/precice/preeco-orga/blob/main/adapter-config-schema/precice_adapter_config_schema.json
Easiest way to experiment: https://www.metaconfigurator.org
Example:
{
"participant_name": "SolverOne",
"precice_config_file_path": "../precice-config.xml",
"interfaces": [
{
"mesh_name": "MeshOne",
"write_data": [
{
"name": "dataOne"
"solver_name": "write_data"
}
],
"read_data": [
{
"name": "Heat-Flux"
"solver_name": "read_data"
}
]
}
]
}
solver_name should be used to model the FMU names, which are currently specified in fmi-settings.json
Note: The example also currently violates the naming conventions.
The
precice-settings.jsonshould be ported to the preCICE adapter schema.Currently (using the regression test)
{ "coupling_params": { "participant_name": "SolverOne", "config_file_name": "../precice-config.xml", "mesh_name": "MeshOne", "write_data_name": "dataOne", "read_data_name": "dataTwo" } }Adapter schema: https://github.com/precice/preeco-orga/blob/main/adapter-config-schema/precice_adapter_config_schema.json
Easiest way to experiment: https://www.metaconfigurator.org
Example:
{ "participant_name": "SolverOne", "precice_config_file_path": "../precice-config.xml", "interfaces": [ { "mesh_name": "MeshOne", "write_data": [ { "name": "dataOne" "solver_name": "write_data" } ], "read_data": [ { "name": "Heat-Flux" "solver_name": "read_data" } ] } ] }solver_nameshould be used to model the FMU names, which are currently specified infmi-settings.jsonNote: The example also currently violates the naming conventions.