9.0
general documentation
Loading...
Searching...
No Matches
cs_user_coupling.cpp File Reference

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

#include "base/cs_defs.h"
#include <ple_coupling.h>
#include "cs_headers.h"
Include dependency graph for cs_user_coupling.cpp:

Functions

void cs_user_saturne_coupling (void)
 Define couplings with other instances of code_saturne.
void cs_user_syrthes_coupling (void)
 Define couplings with SYRTHES code.
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.
void cs_user_cathare_coupling (void)
 Define couplings with SYRTHES code.

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)