Translation of the boundary conditions given by the user in a form that fits to the solver.
More...
|
int * | cs_f_boundary_conditions_get_bc_type (void) |
|
void | cs_f_ppprcl (int itypfb[], cs_real_t dt[]) |
|
void | cs_f_tagmri (void) |
|
void | cs_f_cou1di (void) |
|
void | cs_f_mmtycl (const int *itypfb) |
|
void | cs_f_pptycl (bool init, int *itypfb, const int *izfppp, cs_real_t dt[]) |
|
void | cs_f_cscloc (void) |
|
void | cs_f_cscfbr (int *itypfb, cs_real_t *dt) |
|
void | cs_f_cscfbr_init (int *itypfb) |
|
void | cs_f_user_boundary_conditions_wrapper (const cs_lnum_t itrifb[], int itypfb[], const int izfppp[], cs_real_t dt[]) |
|
void | cs_boundary_conditions_set_coeffs (int nvar, int iterns, int isvhb, int itrale, int italim, int itrfin, int ineefl, int itrfup, int isostd[], cs_real_t visvdr[], cs_real_t hbord[], cs_real_t theipb[], int nftcdt) |
| Translation of the boundary conditions given by the user in a form that fits to the solver. More...
|
|
void | cs_boundary_conditions_set_coeffs_init (void) |
| Initialization of boundary condition arrays. More...
|
|
void | cs_boundary_conditions_set_convective_outlet_scalar (cs_lnum_t f_id, cs_field_bc_coeffs_t *bc_coeffs, cs_real_t pimp, cs_real_t cfl, cs_real_t hint) |
| Set convective oulet boundary condition for a scalar. More...
|
|
void | cs_boundary_conditions_set_generalized_sym_vector_aniso (cs_lnum_t f_id, cs_field_bc_coeffs_t *bc_coeffs, const cs_real_t pimpv[3], const cs_real_t qimpv[3], const cs_real_t hint[6], const cs_real_t normal[3]) |
| Set generalized BC for an anisotropic symmetric vector for a given face. More...
|
|
void | cs_boundary_conditions_set_generalized_dirichlet_vector_aniso (cs_lnum_t f_id, cs_field_bc_coeffs_t *bc_coeffs, const cs_real_t pimpv[3], const cs_real_t qimpv[3], const cs_real_t hint[6], const cs_real_t normal[3]) |
| Set generalized Dirichlet BC for an anisotropic vector for a given face. More...
|
|
Translation of the boundary conditions given by the user in a form that fits to the solver.
Boundary condition management.
void cs_boundary_conditions_set_coeffs |
( |
int |
nvar, |
|
|
int |
iterns, |
|
|
int |
isvhb, |
|
|
int |
itrale, |
|
|
int |
italim, |
|
|
int |
itrfin, |
|
|
int |
ineefl, |
|
|
int |
itrfup, |
|
|
int |
isostd[], |
|
|
cs_real_t |
visvdr[], |
|
|
cs_real_t |
hbord[], |
|
|
cs_real_t |
theipb[], |
|
|
int |
nftcdt |
|
) |
| |
Translation of the boundary conditions given by the user in a form that fits to the solver.
The values at a boundary face \( \fib \) stored in the face center \( \centf \) of the variable \( P \) and its diffusive flux \( Q \) are written as:
\[ P_{\face} = A_P^g + B_P^g P_{\centi} \]
and
\[ Q_{\face} = A_P^f + B_P^f P_{\centi} \]
where \( P_\centi \) is the value of the variable \( P \) at the neighboring cell.
- Warning
- If we consider an increment of a variable, the boundary conditions read:
\[ \delta P_{\face} = B_P^g \delta P_{\centi} \]
and
\[ \delta Q_{\face} = -B_P^f \delta P_{\centi} \]
- For a vector field such as the velocity \( \vect{u} \) the boundary conditions may read:
\[ \vect{u}_{\face} = \vect{A}_u^g + \tens{B}_u^g \vect{u}_{\centi} \]
and
\[ \vect{Q}_{\face} = \vect{A}_u^f + \tens{B}_u^f \vect{u}_{\centi} \]
where \( \tens{B}_u^g \) and \( \tens{B}_u^f \) are 3x3 tensor matrix which coupled velocity components next to a boundary.
Please refer to the boundary conditions section of the theory guide for more informations, as well as the condli section.
- Parameters
-
[in] | nvar | total number of variables |
[in] | iterns | iteration number on Navier-Stokes equations |
[in] | isvhb | indicator to save exchange coeffient at the walls |
[in] | itrale | ALE iteration number |
[in] | italim | for ALE |
[in] | itrfin | for ALE |
[in] | ineefl | for ALE |
[in] | itrfup | for ALE |
[in,out] | isostd | indicator for standard outlet and reference face index |
[out] | visvdr | dynamic viscosity after V. Driest damping in boundary cells |
[out] | hbord | exchange coefficient at boundary |
[out] | theipb | value of thermal scalar at \( \centip \) of boundary cells |
[in] | nftcdt | Global indicator of condensation source terms (ie. sum on the processors of nfbpcd) cells associated to the face with condensation phenomenon |