| ... | @@ -41,9 +41,9 @@ Once the parameters have been defined, SDPM can simply be initialized by calling |
... | @@ -41,9 +41,9 @@ Once the parameters have been defined, SDPM can simply be initialized by calling |
|
|
|
|
|
|
|
```python
|
|
```python
|
|
|
from sdpm.api.core import init_sdpm
|
|
from sdpm.api.core import init_sdpm
|
|
|
_sdpm = init_sdpm(cfg, use_ad=False)
|
|
_sdpm = init_sdpm(cfg)
|
|
|
```
|
|
```
|
|
|
where `use_ad` indicates whether the adjoint sovler must be instantiated or not. `_sdpm` is a dictionary containing the following objects (named after their key):
|
|
where `_sdpm` is a dictionary containing the following objects (named after their key):
|
|
|
* `n_f` is the number of reference reduced frequencies
|
|
* `n_f` is the number of reference reduced frequencies
|
|
|
* `n_m` is the number of modes
|
|
* `n_m` is the number of modes
|
|
|
* `msh` is the mesh
|
|
* `msh` is the mesh
|
| ... | @@ -51,7 +51,7 @@ where `use_ad` indicates whether the adjoint sovler must be instantiated or not. |
... | @@ -51,7 +51,7 @@ where `use_ad` indicates whether the adjoint sovler must be instantiated or not. |
|
|
* `pbl` is the formulation of the problem
|
|
* `pbl` is the formulation of the problem
|
|
|
* `bdy` is the body of interest
|
|
* `bdy` is the body of interest
|
|
|
* `sol` is the direct solver
|
|
* `sol` is the direct solver
|
|
|
* `adj` is the adjoint solver
|
|
* `grd` is the gradient calculator
|
|
|
|
|
|
|
|
### OMFlut
|
|
### OMFlut
|
|
|
SDPM has been interfaced with [OMFlut](https://gitlab.uliege.be/am-dept/omflut), which is built on top of [OpenMDAO](https://openmdao.org/), in order to calculate flutter. SDPM must be initialized inside an OpenMDAO group using a builder which will latter be reused by OMFlut.
|
|
SDPM has been interfaced with [OMFlut](https://gitlab.uliege.be/am-dept/omflut), which is built on top of [OpenMDAO](https://openmdao.org/), in order to calculate flutter. SDPM must be initialized inside an OpenMDAO group using a builder which will latter be reused by OMFlut.
|
| ... | |
... | |
| ... | | ... | |