8.0
general documentation
cs_user_coupling.c File Reference

Code couplings definition with SYRTHES and code_saturne. More...

#include "cs_defs.h"
#include <ple_coupling.h>
#include "cs_headers.h"
+ Include dependency graph for cs_user_coupling.c:

Functions

void cs_user_saturne_coupling (void)
 Define couplings with other instances of code_saturne. More...
 
void cs_user_syrthes_coupling (void)
 Define couplings with SYRTHES code. More...
 
void cs_user_syrthes_coupling_volume_h (int coupling_id, const char *syrthes_name, cs_lnum_t n_elts, const cs_lnum_t elt_ids[], cs_real_t h_vol[])
 Compute a volume exchange coefficient for SYRTHES couplings. More...
 
void cs_user_cathare_coupling (void)
 Define couplings with SYRTHES code. More...
 

Detailed Description

Code couplings definition with SYRTHES and code_saturne.

See Code coupling for examples.

Function Documentation

◆ cs_user_cathare_coupling()

void cs_user_cathare_coupling ( void  )

Define couplings with SYRTHES code.

This is done by calling the cs_syr_coupling_define function for each coupling to add.

◆ cs_user_saturne_coupling()

void cs_user_saturne_coupling ( void  )

Define couplings with other instances of code_saturne.

This is done by calling the cs_sat_coupling_define function for each coupling to add.

◆ cs_user_syrthes_coupling()

void cs_user_syrthes_coupling ( void  )

Define couplings with SYRTHES code.

This is done by calling the cs_syr_coupling_define function for each coupling to add.

◆ cs_user_syrthes_coupling_volume_h()

void cs_user_syrthes_coupling_volume_h ( int  coupling_id,
const char *  syrthes_name,
cs_lnum_t  n_elts,
const cs_lnum_t  elt_ids[],
cs_real_t  h_vol[] 
)

Compute a volume exchange coefficient for SYRTHES couplings.

Parameters
[in]coupling_idSyrthes coupling id
[in]syrthes_namename of associated Syrthes instance
[in]n_eltsnumber of associated cells
[in]elt_idsassociated cell ids
[out]h_volassociated exchange coefficient (size: n_elts)