can i coupling my own fluid fortran code with solid calculix code by precice? what can i do is fluid-adapter or other? please help me, thank u all!
Welcome, @Bai0616!
Yes, you can probably couple your own Fortran flow code with preCICE. Here is an overview of the steps you need to couple your code: Couple your code | preCICE - The Coupling Library
Specifically for Fortran, we have two interfaces:
- a legacy Fortran interface, included directly in preCICE (example)
- a Fortran module: GitHub - precice/fortran-module: A Fortran module for the Fortran bindings of preCICE (formerly "f2003 bindings") (example)
For CalculiX, you can use the CalculiX adapter. See, for example, the perpendicular flap tutorial.
I am not sure I understand this part of your question, but maybe I have already answered it above.
hi,Makis
i am happy because of your answer ,thank u very much, i will try according to you advances. when i have new problem, please help me more,thank u again!
hi makis:
i want to understand how to build the adapter of my fortran code with precice. i am not sure i uderstand the “Couple your code”, for example, i modify my fortran code withe precice module, and the next step what can i do ?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.