We currently have a zoo of configuration options:
| Adapter or tool |
Format |
| CalculiX adapter |
yml |
| code_aster adapter |
comm solver-specific |
| deal.II adapter |
prm solver-specific |
| DUNE adapter |
? |
| DuMuX adapter |
? |
| FEniCS adapter |
JSON |
| Nutils adapter |
hard-coded |
| OpenFOAM adapter |
dict solver-specific |
| SU2 adapter |
hard-coded & command-line parser |
| ASTE |
JSON |
| FMI runner |
JSON |
| Micro manager |
JSON |
Some solver-specific solutions are quite meaningful. Other solutions reinvent the wheel. We have no standard and no schema yet. The latter could also enable quite some tooling support.
Example:
FEniCS adapter: precice-adapter-config.json
{
"participant_name": "Solid",
"config_file_name": "../precice-config.xml",
"interface": {
"coupling_mesh_name": "Solid-Mesh",
"write_data_name": "Heat-Flux",
"read_data_name": "Temperature",
"interpolation_type": "rbf"
}
}
FMI runner: precice-settings.json
{
"coupling_params": {
"participant_name": "Mass-Left",
"config_file_name": "../precice-config.xml",
"mesh_name": "Mass-Left-Mesh",
"write_data_name": "Force-Left",
"read_data_name": "Force-Right"
}
}
ASTE replay:
{
"participant": "Fluid",
"startdt": "1",
"meshes": [
{
"mesh": "Fluid-Mesh",
"meshfileprefix": "./exported-meshes/Fluid-Mesh-Fluid",
"read-data": {
"vector": ["Displacement"]
},
"write-data": {
"vector": ["Force"]
}
}
],
"precice-config": "../precice-config.xml"
}
We currently have a zoo of configuration options:
Some solver-specific solutions are quite meaningful. Other solutions reinvent the wheel. We have no standard and no schema yet. The latter could also enable quite some tooling support.
Example:
FEniCS adapter:
precice-adapter-config.json{ "participant_name": "Solid", "config_file_name": "../precice-config.xml", "interface": { "coupling_mesh_name": "Solid-Mesh", "write_data_name": "Heat-Flux", "read_data_name": "Temperature", "interpolation_type": "rbf" } }FMI runner:
precice-settings.json{ "coupling_params": { "participant_name": "Mass-Left", "config_file_name": "../precice-config.xml", "mesh_name": "Mass-Left-Mesh", "write_data_name": "Force-Left", "read_data_name": "Force-Right" } }ASTE replay:
{ "participant": "Fluid", "startdt": "1", "meshes": [ { "mesh": "Fluid-Mesh", "meshfileprefix": "./exported-meshes/Fluid-Mesh-Fluid", "read-data": { "vector": ["Displacement"] }, "write-data": { "vector": ["Force"] } } ], "precice-config": "../precice-config.xml" }