1#ifndef CS_SYR_COUPLING_H
2#define CS_SYR_COUPLING_H
84 const char *boundary_criteria,
85 const char *volume_criteria,
87 bool allow_nonmatching,
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:325
int cs_syr_coupling_is_bnd_zone_coupled(const cs_zone_t *z)
Check if a boundary zone is coupled.
Definition: cs_syr_coupling.cpp:3359
void cs_syr_coupling_set_explicit_treatment(void)
Definition: cs_syr_coupling.cpp:2380
void cs_syr_coupling_log_setup(void)
Log SYRTHES coupling setup information.
Definition: cs_syr_coupling.cpp:2444
void cs_syr_coupling_all_init(void)
Definition: cs_syr_coupling.cpp:2303
void cs_syr_coupling_define(const char *syrthes_name, const char *boundary_criteria, const char *volume_criteria, char projection_axis, bool allow_nonmatching, float tolerance, int verbosity, int visualization)
Define new SYRTHES coupling.
Definition: cs_syr_coupling.cpp:2150
void cs_syr_coupling_exchange_volume(void)
Exchange volume values relative to a SYRTHES coupling.
Definition: cs_syr_coupling.cpp:2895
cs_lnum_t cs_syr_coupling_n_elts(int cpl_id, int mode)
Get number of coupled elements with SYRTHES.
Definition: cs_syr_coupling.cpp:3089
void cs_syr_coupling_recv_tf_hf(int cpl_id, int mode, const cs_lnum_t elt_ids[], cs_real_t t_fluid[], cs_real_t h_fluid[])
Receive coupling variables (Tf,hf) from code_saturne (called by CDO thermal solver).
Definition: cs_syr_coupling.cpp:3231
void cs_syr_coupling_elt_ids(int cpl_id, int mode, cs_lnum_t elt_ids[])
Get local ids of elements coupled with SYRTHES.
Definition: cs_syr_coupling.cpp:3132
int cs_syr_coupling_n_couplings(void)
Definition: cs_syr_coupling.cpp:2355
void cs_syr_coupling_add_zone(const char *syrthes_name, const cs_zone_t *z)
Associated a zone to a defined SYRTHES coupling.
Definition: cs_syr_coupling.cpp:2258
void cs_syr_coupling_set_conservativity(int flag)
Definition: cs_syr_coupling.cpp:2369
int cs_syr_coupling_is_surf(int cpl_id)
Check if the given SYRTHES coupling number is a surface couplings.
Definition: cs_syr_coupling.cpp:2535
void cs_syr_coupling_send_tsolid(int cpl_id, int mode, const cs_real_t t_solid[])
Send coupling variables (Ts) to code_saturne (called by CDO thermal solver).
Definition: cs_syr_coupling.cpp:3301
void cs_syr_coupling_set_time_sync_flag(int cpl_id, int flag)
Set time synchronization mode for a given SYRTHES coupling.
Definition: cs_syr_coupling.cpp:2413
void cs_syr_coupling_send_tf_hf(int cpl_id, int mode, const cs_lnum_t elt_ids[], cs_real_t t_fluid[], cs_real_t h_fluid[])
Send coupling variables to SYRTHES.
Definition: cs_syr_coupling.cpp:3203
void cs_syr_coupling_recv_boundary(const int nvar, int bc_type[])
Read boundary field/variable values relative to a SYRTHES coupling.
Definition: cs_syr_coupling.cpp:2564
void cs_syr_coupling_all_finalize(void)
Definition: cs_syr_coupling.cpp:2342
void cs_syr_coupling_init_meshes(void)
Create coupled meshes and setup PLE locator for Syrthes couplings.
Definition: cs_syr_coupling.cpp:2514
void cs_syr_coupling_volume_source_terms(int field_id, cs_real_t st_exp[], cs_real_t st_imp[])
Compute the source term (implicit and/or explicit part) for a volume coupling with SYRTHES.
Definition: cs_syr_coupling.cpp:2998
void cs_syr_coupling_send_boundary(const cs_real_t h_wall[], cs_real_t v_fluid[])
Send field/variable values relative to a SYRTHES coupling.
Definition: cs_syr_coupling.cpp:2698
void cs_syr_coupling_recv_tsolid(int cpl_id, int mode, cs_real_t t_solid[])
Receive coupling variables from SYRTHES.
Definition: cs_syr_coupling.cpp:3174