![]() |
Code_Saturne
CFD tool
|
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_base.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_prototypes.h"
#include "cs_timer.h"
#include "cs_mesh_location.h"
#include "cs_restart.h"
#include "cs_les_inflow.h"
Data Structures | |
struct | _cs_inlet_t |
struct | _cs_inflow_batten_t |
struct | _cs_inflow_sem_t |
struct | _mpi_double_int_t |
Macros | |
#define | EPZERO 1.E-12 |
#define | RINFIN 1.E+30 |
#define | HUGE_VAL 1.E+12 |
#define | _MODULE_3D(module_u, u) ( module_u = sqrt((u)[0]*(u)[0] + (u)[1]*(u)[1] + (u)[2]*(u)[2]) ) |
#define | _DOT_PRODUCT_3D(dot_u_v, u, v) ( dot_u_v = (u)[0]*(v)[0] + (u)[1]*(v)[1] + (u)[2]*(v)[2] ) |
#define | _CROSS_PRODUCT_3D(cross_u_v, u, v) |
#define | _TENSOR_TRACE_3D(trace_t, t) ( trace_t = (t)[0] + (t)[1] + (t)[2] ) |
#define | _INNER_PRODUCT_3D(inner_u_t_v, u, t, v) |
Typedefs | |
typedef struct _cs_inflow_batten_t | cs_inflow_batten_t |
typedef struct _cs_inflow_sem_t | cs_inflow_sem_t |
Functions | |
void | _cs_inflow_add_inlet (cs_inflow_type_t type, const cs_int_t n_faces, const cs_int_t *num_face, const int n_entities, const int verbosity, const cs_real_t *mean_velocity, const cs_real_t kinetic_energy, const cs_real_t dissipation_rate) |
void | defsyn (cs_int_t *n_inlets CS_ARGF_SUPP_CHAINE) |
void | synthe (const cs_int_t *const nvar, const cs_int_t *const nscal, const cs_int_t *const iu, const cs_int_t *const iv, const cs_int_t *const iw, const cs_real_t *const ttcabs, const cs_real_t dt[], const cs_real_t rtpa[], const cs_real_t rtp[], const cs_real_t propce[], const cs_real_t propfa[], const cs_real_t propfb[], const cs_real_t coefa[], const cs_real_t coefb[], cs_real_t rcodcl[] CS_ARGF_SUPP_CHAINE) |
void | lecsyn (const char *const filnam, const cs_int_t *const lngnam CS_ARGF_SUPP_CHAINE) |
void | ecrsyn (const char *const filnam, const cs_int_t *const lngnam CS_ARGF_SUPP_CHAINE) |
void | cs_inflow_finalize (void) |
Variables | |
const char * | cs_inflow_type_name [] |
#define _CROSS_PRODUCT_3D | ( | cross_u_v, | |
u, | |||
v | |||
) |
#define _DOT_PRODUCT_3D | ( | dot_u_v, | |
u, | |||
v | |||
) | ( dot_u_v = (u)[0]*(v)[0] + (u)[1]*(v)[1] + (u)[2]*(v)[2] ) |
#define _INNER_PRODUCT_3D | ( | inner_u_t_v, | |
u, | |||
t, | |||
v | |||
) |
#define _MODULE_3D | ( | module_u, | |
u | |||
) | ( module_u = sqrt((u)[0]*(u)[0] + (u)[1]*(u)[1] + (u)[2]*(u)[2]) ) |
#define _TENSOR_TRACE_3D | ( | trace_t, | |
t | |||
) | ( trace_t = (t)[0] + (t)[1] + (t)[2] ) |
#define EPZERO 1.E-12 |
#define HUGE_VAL 1.E+12 |
#define RINFIN 1.E+30 |
typedef struct _cs_inflow_batten_t cs_inflow_batten_t |
typedef struct _cs_inflow_sem_t cs_inflow_sem_t |
void _cs_inflow_add_inlet | ( | cs_inflow_type_t | type, |
const cs_int_t | n_faces, | ||
const cs_int_t * | num_face, | ||
const int | n_entities, | ||
const int | verbosity, | ||
const cs_real_t * | mean_velocity, | ||
const cs_real_t | kinetic_energy, | ||
const cs_real_t | dissipation_rate | ||
) |
void cs_inflow_finalize | ( | void | ) |
void defsyn | ( | cs_int_t *n_inlets | CS_ARGF_SUPP_CHAINE | ) |
void ecrsyn | ( | const char *const | filnam, |
const cs_int_t *const lngnam | CS_ARGF_SUPP_CHAINE | ||
) |
void lecsyn | ( | const char *const | filnam, |
const cs_int_t *const lngnam | CS_ARGF_SUPP_CHAINE | ||
) |
void synthe | ( | const cs_int_t *const | nvar, |
const cs_int_t *const | nscal, | ||
const cs_int_t *const | iu, | ||
const cs_int_t *const | iv, | ||
const cs_int_t *const | iw, | ||
const cs_real_t *const | ttcabs, | ||
const cs_real_t | dt[], | ||
const cs_real_t | rtpa[], | ||
const cs_real_t | rtp[], | ||
const cs_real_t | propce[], | ||
const cs_real_t | propfa[], | ||
const cs_real_t | propfb[], | ||
const cs_real_t | coefa[], | ||
const cs_real_t | coefb[], | ||
cs_real_t rcodcl [] | CS_ARGF_SUPP_CHAINE | ||
) |
const char* cs_inflow_type_name[] |