|
|
|
## CUPyDO API
|
|
|
|
:warning: _**DART v1.3.0 compatible with CUPyDO v1.9.**_
|
|
|
|
:warning: _**DART v1.4.0 compatible with CUPyDO v1.9.**_
|
|
|
|
[CUPyDO](https://gitlab.uliege.be/am-dept/CUPyDO) is a set of python tools designed to perform fluid-structure interaction computations. The API allows to interface DART with other software through CUPyDO and uses the [Core API](use_api_core) to initialize DART (using the same dictionary of parameters). Its implementation can be found under [api/cupydo](https://gitlab.uliege.be/am-dept/dartflo/blob/master/dart/api/cupydo.py) and various examples can be found in CUPyDO's repository.
|
|
|
|
|
|
|
|
### Run CUPyDO
|
| ... | ... | @@ -12,9 +12,9 @@ cupydo.run() |
|
|
|
where cfg is a dictionary of parameters which must at least contain:
|
|
|
|
```python
|
|
|
|
cfg = {
|
|
|
|
'fluidSolver': 'DART',
|
|
|
|
'cfdFile': 'case_fluid',
|
|
|
|
'csdFile': 'case_solid',
|
|
|
|
'fluidSolver': 'DART',
|
|
|
|
'cfdFile': 'case_fluid',
|
|
|
|
'csdFile': 'case_solid',
|
|
|
|
...}
|
|
|
|
```
|
|
|
|
The second file (`case_fluid.py`) contains the dictionary of parameters to initialize DART (see [Core API](use_api_core)). The third file `case_solid` contains the parameters needed to configure the structural solver. While the first two files are always written in python, the format of the last file depends on the structural solver. |
|
|
\ No newline at end of file |