Code_Saturne
CFD tool
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Enumerations | Functions | Variables
cs_ventil.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <bft_mem.h>
#include "cs_base.h"
#include "cs_ventil.h"

Data Structures

struct  _cs_ventil_t
 

Macros

#define CS_LOC_PRODUIT_VECTORIEL(prod_vect, vect1, vect2)
 
#define CS_LOC_PRODUIT_SCALAIRE(vect1, vect2)   (vect1[X] * vect2[X] + vect1[Y] * vect2[Y] + vect1[Z] * vect2[Z])
 
#define CS_LOC_MODULE(vect)   sqrt(vect[X] * vect[X] + vect[Y] * vect[Y] + vect[Z] * vect[Z])
 

Enumerations

enum  { X, Y, Z }
 

Functions

void tstvtl (cs_int_t *const nbrvtl)
 
void defvtl (const cs_int_t *const dimmod, const cs_int_t *const dimvtl, const cs_real_t xyzvt1[3], const cs_real_t xyzvt2[3], const cs_real_t *const rvvt, const cs_real_t *const rpvt, const cs_real_t *const rmvt, const cs_real_t ccarac[3], const cs_real_t *const tauvt)
 
void inivtl (void)
 
void numvtl (cs_int_t indic[])
 
void debvtl (cs_real_t flumas[], cs_real_t flumab[], cs_real_t rho[], cs_real_t rhofab[], cs_real_t debent[], cs_real_t debsor[])
 
void tsvvtl (cs_int_t *idimts, cs_real_t crvexp[])
 
void cs_ventil_definit (const cs_int_t dim_modele, const cs_int_t dim_ventil, const cs_real_t coo_axe_amont[3], const cs_real_t coo_axe_aval[3], const cs_real_t ray_ventil, const cs_real_t ray_pales, const cs_real_t ray_moyeu, const cs_real_t coeff_carac[3], const cs_real_t couple_axial)
 
void cs_ventil_detruit_tous (void)
 
void cs_ventil_cree_listes (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
 
void cs_ventil_calcul_debits (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities, const cs_real_t flux_masse_fac[], const cs_real_t flux_masse_fbr[], const cs_real_t densite_cel[], const cs_real_t densite_fbr[])
 
void cs_ventil_calcul_force (const cs_mesh_quantities_t *mesh_quantities, const cs_int_t idim_source, cs_real_t t_source[])
 

Variables

cs_int_t cs_glob_ventil_nbr_max = 0
 
cs_int_t cs_glob_ventil_nbr = 0
 
cs_ventil_t ** cs_glob_ventil_tab = NULL
 

Macro Definition Documentation

#define CS_LOC_MODULE (   vect)    sqrt(vect[X] * vect[X] + vect[Y] * vect[Y] + vect[Z] * vect[Z])
#define CS_LOC_PRODUIT_SCALAIRE (   vect1,
  vect2 
)    (vect1[X] * vect2[X] + vect1[Y] * vect2[Y] + vect1[Z] * vect2[Z])
#define CS_LOC_PRODUIT_VECTORIEL (   prod_vect,
  vect1,
  vect2 
)
Value:
(prod_vect[X] = vect1[Y] * vect2[Z] - vect2[Y] * vect1[Z], \
prod_vect[Y] = vect2[X] * vect1[Z] - vect1[X] * vect2[Z], \
prod_vect[Z] = vect1[X] * vect2[Y] - vect2[X] * vect1[Y])
Definition: cs_ventil.c:117
Definition: cs_ventil.c:117
Definition: cs_ventil.c:117

Enumeration Type Documentation

anonymous enum
Enumerator
X 
Y 
Z 

Function Documentation

void cs_ventil_calcul_debits ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities,
const cs_real_t  flux_masse_fac[],
const cs_real_t  flux_masse_fbr[],
const cs_real_t  densite_cel[],
const cs_real_t  densite_fbr[] 
)

Here is the call graph for this function:

void cs_ventil_calcul_force ( const cs_mesh_quantities_t mesh_quantities,
const cs_int_t  idim_source,
cs_real_t  t_source[] 
)
void cs_ventil_cree_listes ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities 
)
void cs_ventil_definit ( const cs_int_t  dim_modele,
const cs_int_t  dim_ventil,
const cs_real_t  coo_axe_amont[3],
const cs_real_t  coo_axe_aval[3],
const cs_real_t  ray_ventil,
const cs_real_t  ray_pales,
const cs_real_t  ray_moyeu,
const cs_real_t  coeff_carac[3],
const cs_real_t  couple_axial 
)

Here is the call graph for this function:

void cs_ventil_detruit_tous ( void  )
void debvtl ( cs_real_t  flumas[],
cs_real_t  flumab[],
cs_real_t  rho[],
cs_real_t  rhofab[],
cs_real_t  debent[],
cs_real_t  debsor[] 
)

Here is the call graph for this function:

void defvtl ( const cs_int_t *const  dimmod,
const cs_int_t *const  dimvtl,
const cs_real_t  xyzvt1[3],
const cs_real_t  xyzvt2[3],
const cs_real_t *const  rvvt,
const cs_real_t *const  rpvt,
const cs_real_t *const  rmvt,
const cs_real_t  ccarac[3],
const cs_real_t *const  tauvt 
)

Here is the call graph for this function:

void inivtl ( void  )

Here is the call graph for this function:

void numvtl ( cs_int_t  indic[])
void tstvtl ( cs_int_t *const  nbrvtl)
void tsvvtl ( cs_int_t idimts,
cs_real_t  crvexp[] 
)

Here is the call graph for this function:

Variable Documentation

cs_int_t cs_glob_ventil_nbr = 0
cs_int_t cs_glob_ventil_nbr_max = 0
cs_ventil_t* * cs_glob_ventil_tab = NULL