![]() |
programmer's documentation
|
#include "cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <mpi.h>
#include <ple_coupling.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_coupling.h"
#include "cs_parall.h"
#include "cs_prototypes.h"
#include "cs_syr4_coupling.h"
#include "cs_syr_coupling.h"
Functions | |
void | nbcsyr (cs_lnum_t *n_couplings) |
void | tsursy (cs_int_t *const cplnum, cs_int_t *issurf) |
void | tvolsy (cs_int_t *const cplnum, cs_int_t *isvol) |
void | geosyr (void) |
void | nbesyr (const cs_int_t *coupl_num, const cs_int_t *mode, cs_int_t *n_coupl_elts) |
void | leltsy (const cs_int_t *coupl_num, const cs_int_t *mode, cs_lnum_t *coupl_elt_list) |
void | ussyrc (void) |
void | varsyi (cs_int_t *numsyr, cs_int_t *mode, cs_real_t *tsolid) |
void | varsyo (cs_int_t *numsyr, cs_int_t *mode, cs_int_t *lstelt, cs_real_t *tfluid, cs_real_t *hfluid) |
void | ctbvsy (cs_int_t *numsyr, cs_real_t *tfluid, cs_real_t *ctbimp, cs_real_t *ctbexp) |
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. More... | |
void | cs_syr_coupling_all_init (void) |
void | cs_syr_coupling_all_finalize (void) |
int | cs_syr_coupling_n_couplings (void) |
void | cs_syr_coupling_set_conservativity (int flag) |
void | cs_syr_coupling_set_explicit_treatment (void) |
void cs_syr_coupling_all_finalize | ( | void | ) |
void cs_syr_coupling_all_init | ( | void | ) |
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.
The arguments to cs_syr_coupling_define are:
[in] | syrthes_name | matching SYRTHES application name |
[in] | boundary_criteria | surface selection criteria, or NULL |
[in] | volume_criteria | volume selection criteria, or NULL |
[in] | projection_axis | x', 'y', or 'y' for 2D projection axis (case independent), or ' ' for standard 3D coupling |
[in] | allow_nonmatching | allow nearest-neighbor mapping where matching within tolerance is not available (useful when meshes have a different level of detail) |
[in] | tolerance | addition to local extents of each element extent = base_extent * (1 + tolerance) |
[in] | verbosity | verbosity level |
[in] | visualization | visualization output level (0 or 1) |
In the case of a single Code_Saturne and single SYRTHES instance, the 'syrthes_name' argument is ignored, as there is only one matching possibility.
In case of multiple couplings, a coupling will be matched with available SYRTHES instances based on the 'syrthes_name' argument.
int cs_syr_coupling_n_couplings | ( | void | ) |
void cs_syr_coupling_set_conservativity | ( | int | flag | ) |
void cs_syr_coupling_set_explicit_treatment | ( | void | ) |
void geosyr | ( | void | ) |
void nbcsyr | ( | cs_lnum_t * | n_couplings | ) |
void ussyrc | ( | void | ) |