Changes
Page history
Update preCICE MBDyn adapter
authored
May 24, 2021
by
Claudio Giovanni Caccia;Claudio Giovanni Caccia
Show whitespace changes
Inline
Side-by-side
preCICE-MBDyn-adapter.md
View page @
701f8d0e
...
...
@@ -146,23 +146,36 @@ At this point _MBDyn_ is ready to perform a simulation.
## Run a simulation
All the simulations are composed by a
_root_ directory
, which
contains:
In general, the
_root_ directory
of a simulation
contains:
-
a directory _Fluid_ containing the CFD case
-
a directory _MBDyn_ containing the MBDyn case
-
the preCICE configuration file (
`precice-config.xml`
)
-
a _MDByn adapter_ configuration file (
`config.json`
)
-
some scripts to run, monitor and clean the simulatio
-
some scripts to run, monitor and clean the simulatio
n
### _JSON_ configuration file
json file
The adapter requires a json file for configuration purposes. The structural part of the simulation starts by typing:
```
mbdyn-esm-adapter -f config.json
```
The configuration files must ocntain the following informations:
```
json
{
"title"
:
"About Front Matter"
"example"
:
{
"language"
:
"json"
}
```
1) information regarding the
```
json
"readDataName"
:
"Displacements0"
,
"writeDataName"
:
"Forces0"
,
"participantName"
:
"Solid"
,
"meshName"
:
"Solid-Mesh"
,
```
json
}
```
...
...
...
...