Support preCICE naively #1972
kursatyurt
started this conversation in
Ideas
Replies: 1 comment 10 replies
-
You save the current state into a numpy array with a couple lines of python. What else is needed? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
preCICE is a well-known partitioned multi-physics library with minimal invasive integration to existing codes.
There is an official SU2-preCICE adapter that exists, however, requires modification in the SU2 code base and recompilation.
A recent development by @j-signorelli adapts the python wrappings of SU2 to implement adapters using python scripts see.
The advantage of using a python wrapper is that preCICE headers are not required during the compilation phase of the SU2. Only existing preCICE and python bindings are required if one wants to use preCICE.
In #1949 it has already been achieved that one can modify the existing solution on a marker. Have access to the initial coordinates of the mesh (I am not sure about this).
These futures are enough to reach an explicit coupling scheme. For implicit coupling, one needs to save the current state of the solution to memory (as IO is not efficient for a such task) and should be able to reload this solution.
I would like to get opinions about providing such functions in the official SU2 code.
Beta Was this translation helpful? Give feedback.
All reactions