My Project
programmer's documentation
|
C user functions for code coupling.
Several functions are present in the file, each specific to different kind of couplings.
One can define global options for coupling with the user function cs_user_coupling . These options allow defining the time step synchronization policy, as well as a time step multiplier.
The cs_user_syrthes_coupling subroutine defines a or multiple couplings between Code_Saturne and SYRTHES by calling the cs_syr_coupling_define function for each coupling to add.
The following lines of code show different examples of coupling with SYRTHES.
The cs_user_saturne_coupling allows one to couple different instances of Code_Saturne by calling the cs_sat_coupling_define function for each coupling to add.
Two examples are provided hereafter.