  | 
  
    My Project
    
   programmer's documentation 
   | 
 
 
 
 
Go to the documentation of this file.    1 #ifndef __CS_BOUNDARY_CONDITIONS_H__ 
    2 #define __CS_BOUNDARY_CONDITIONS_H__ 
   38 #include <ple_locator.h> 
  100                              const char  *type_name);
 
  171                                   ple_locator_t             *locator,
 
  264     *
b = hint     /(hint + 
hext);
 
  298   for (
int isou = 0 ; isou < 3; isou++) {
 
  302       a[isou] = pimpv[isou];
 
  303       for (
int jsou = 0 ; jsou < 3 ; jsou++)
 
  307       af[isou] = -hint*pimpv[isou];
 
  308       for (
int jsou = 0; jsou < 3; jsou++) {
 
  310           bf[isou][jsou] = hint;
 
  316       cs_real_t heq = hint*hextv[isou]/(hint + hextv[isou]);
 
  319       a[isou] = hextv[isou]*pimpv[isou]/(hint + hextv[isou]);
 
  320       for (
int jsou = 0 ; jsou < 3 ; jsou++) {
 
  322           b[isou][jsou] = hint/(hint + hextv[isou]);
 
  328       af[isou] = -heq*pimpv[isou];
 
  329       for (
int jsou = 0 ; jsou < 3 ; jsou++) {
 
  331           bf[isou][jsou] = heq;
 
  388   for (
int isou = 0 ; isou < 3 ; isou++) {
 
  392       a[isou] = pimpv[isou];
 
  393       for (
int jsou = 0 ; jsou < 3 ; jsou++)
 
  405   for (
int isou = 0 ; isou < 3 ; isou++)
 
  406     af[isou] = -af[isou];
 
 
cs_mesh_location_type_t
Definition: cs_mesh_location.h:60
 
void cs_boundary_conditions_error(const int *bc_type, const char *type_name)
Handling of boundary condition definition errors and associated output.
Definition: cs_boundary_conditions.c:339
 
ple_locator_t * cs_boundary_conditions_map(cs_mesh_location_type_t location_type, cs_lnum_t n_location_elts, cs_lnum_t n_faces, const cs_lnum_t *location_elts, const cs_lnum_t *faces, cs_real_3_t *coord_shift, int coord_stride, double tolerance)
Locate shifted boundary face coordinates on possibly filtered cells or boundary faces for later inter...
Definition: cs_boundary_conditions.c:393
 
void cs_exit(int status)
Definition: cs_base.c:1401
 
double precision, save a
Definition: cs_fuel_incl.f90:146
 
void const int const int const int const int int int int int int int int int int int int int int int double * qimp
Definition: cs_gui_boundary_conditions.h:64
 
void cs_boundary_conditions_create(void)
Definition: cs_boundary_conditions.c:743
 
const int * cs_glob_bc_type
 
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:315
 
double precision, save b
Definition: cs_fuel_incl.f90:146
 
void cs_boundary_conditions_free(void)
Definition: cs_boundary_conditions.c:773
 
#define END_C_DECLS
Definition: cs_defs.h:468
 
void cs_boundary_conditions_mapped_set(const cs_field_t *f, ple_locator_t *locator, cs_mesh_location_type_t location_type, int normalize, int interpolate, cs_lnum_t n_faces, const cs_lnum_t *faces, cs_real_t *balance_w, int nvar, cs_real_t rcodcl[])
Set mapped boundary conditions for a given field and mapping locator.
Definition: cs_boundary_conditions.c:553
 
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
 
const int * cs_glob_bc_face_zone
 
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
 
void const cs_int_t const cs_int_t * nvar
Definition: cs_prototypes.h:104
 
void cs_boundary_conditions_set_convective_outlet_scalar(cs_real_t *coefa, cs_real_t *cofaf, cs_real_t *coefb, cs_real_t *cofbf, cs_real_t pimp, cs_real_t cfl, cs_real_t hint)
Set convective oulet boundary condition for a scalar.
Definition: cs_boundary_conditions.c:799
 
static void cs_boundary_conditions_set_dirichlet_scalar(cs_real_t *a, cs_real_t *af, cs_real_t *b, cs_real_t *bf, cs_real_t pimp, cs_real_t hint, cs_real_t hext)
Set Dirichlet BC for a scalar for a given face.
Definition: cs_boundary_conditions.h:241
 
static void cs_math_sym_33_3_product(const cs_real_t m[6], const cs_real_t v[3], cs_real_t mv[restrict 3])
Compute the product of a symmetric matrix of 3x3 real values by a vector of 3 real values....
Definition: cs_math.h:561
 
const cs_real_t cs_math_infinite_r
 
cs_real_t cs_real_6_t[6]
vector of 6 floating-point values
Definition: cs_defs.h:317
 
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
 
static void cs_boundary_conditions_set_neumann_scalar(cs_real_t *a, cs_real_t *af, cs_real_t *b, cs_real_t *bf, cs_real_t qimp, cs_real_t hint)
Set Neumann BC for a scalar for a given face.
Definition: cs_boundary_conditions.h:209
 
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:321
 
static void cs_boundary_conditions_set_dirichlet_vector(cs_real_3_t a, cs_real_3_t af, cs_real_33_t b, cs_real_33_t bf, cs_real_3_t pimpv, cs_real_t hint, cs_real_3_t hextv)
Set Dirichlet BC for a vector for a given face.
Definition: cs_boundary_conditions.h:290
 
static void cs_boundary_conditions_set_dirichlet_vector_aniso(cs_real_3_t a, cs_real_3_t af, cs_real_33_t b, cs_real_33_t bf, cs_real_3_t pimpv, cs_real_6_t hintt, cs_real_3_t hextv)
Set Dirichlet BC for a vector for a given face with left anisotropic diffusion.
Definition: cs_boundary_conditions.h:380
 
Field descriptor.
Definition: cs_field.h:124
 
void const int const int const int const int int int int int int int int int int int int int int int double double double double double double double double double double int double * rcodcl
Definition: cs_gui_boundary_conditions.h:64
 
double precision hext
Definition: cs_tagmr.f90:100