-
-
Notifications
You must be signed in to change notification settings - Fork 4
Code_Aster Adapter Installation Instructions
Gerasimos Chourdakis edited this page Jan 15, 2020
·
12 revisions
Make sure that you have already installed preCICE, the preCICE Python bindings, and Code_Aster. Currently the adapter supports preCICE v4.1 and Code_Aster v14.4. We are currently working on updating the adapter for the latest version on preCICE.
Please download the adapter code or clone the repository. Before the adapter can be used, you have to follow the following steps:
- Place
cht/adapter.pyin the Code_Aster directory, under$ASTER_ROOT/14.4/lib/aster/Execution. - In
solid/solid.export, change the paths in lines 38 to 44 respectively to your local system. Make sure to leave the codes after the paths (e.g.D 20,R 6, etc.). (TODO: Move to tutorial) For example:F comm /path/to/code_aster-adapter/cht/adapter.comm D 1 F mmed /path/to/code_aster-adapter/tutorials/buoyantSimpleFoam-aster/solid/solid.mmed D 20 F comm /path/to/code_aster-adapter/tutorials/buoyantSimpleFoam-aster/solid/../config.comm D 90 F comm /path/to/code_aster-adapter/tutorials/buoyantSimpleFoam-aster/solid/def.comm D 91 F mess /path/to/code_aster-adapter/tutorials/buoyantSimpleFoam-aster/solid/solid.mess R 6 F rmed /path/to/code_aster-adapter/tutorials/buoyantSimpleFoam-aster/solid/solid.rmed R 80 F resu /path/to/code_aster-adapter/tutorials/buoyantSimpleFoam-aster/solid/solid.resu R 8 - In
config.comm, change thebase-pathin line 2 to the path of the tutorial folder on your local system. (TODO: Move to tutorial) For example:{'base-path': '/path/to/code_aster-adapter/tutorials/buoyantSimpleFoam-aster',
Now you are ready to run the flow-over-plate CHT tutorial.
More information on precice.org. Subscribe to the preCICE mailing list.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Please use "precice.org" for the attribution.
We moved these pages to the preCICE website: https://www.precice.org/adapter-code_aster.html
