... | ... | @@ -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 simulation
|
|
|
|
|
|
### _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
|
|
|
}
|
|
|
```
|
|
|
|
... | ... | |