1 #ifndef __CS_SYR_COUPLING_H__
2 #define __CS_SYR_COUPLING_H__
88 const char *boundary_criteria,
89 const char *volume_criteria,
91 bool allow_nonmatching,
#define BEGIN_C_DECLS
Definition: cs_defs.h:514
double cs_real_t
Floating-point value.
Definition: cs_defs.h:319
#define END_C_DECLS
Definition: cs_defs.h:515
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:313
void cs_syr_coupling_set_explicit_treatment(void)
Definition: cs_syr_coupling.c:2348
void cs_syr_coupling_log_setup(void)
Log SYRTHES coupling setup information.
Definition: cs_syr_coupling.c:2412
void cs_syr_coupling_all_init(void)
Definition: cs_syr_coupling.c:2271
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.c:2118
void cs_syr_coupling_exchange_volume(void)
Exchange volume values relative to a SYRTHES coupling.
Definition: cs_syr_coupling.c:2861
cs_lnum_t cs_syr_coupling_n_elts(int cpl_id, int mode)
Get number of coupled elements with SYRTHES.
Definition: cs_syr_coupling.c:3055
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.c:3098
int cs_syr_coupling_n_couplings(void)
Definition: cs_syr_coupling.c:2323
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.c:2226
void cs_syr_coupling_set_conservativity(int flag)
Definition: cs_syr_coupling.c:2337
int cs_syr_coupling_is_surf(int cpl_id)
Check if the given SYRTHES coupling number is a surface couplings.
Definition: cs_syr_coupling.c:2502
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.c:2381
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.c:3169
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.c:2531
void cs_syr_coupling_all_finalize(void)
Definition: cs_syr_coupling.c:2310
void cs_syr_coupling_init_meshes(void)
Create coupled meshes and setup PLE locator for Syrthes couplings.
Definition: cs_syr_coupling.c:2481
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.c:2964
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.c:2665
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.c:3140
integer, save nvar
number of solved variables (must be lower than nvarmx)
Definition: dimens.f90:42