![]() |
Code_Saturne
CFD tool
|
Translation of the boundary conditions given by cs_user_boundary_conditions in a form that fits to the solver. More...
Functions/Subroutines | |
subroutine | condli |
subroutine | set_dirichlet_scalar |
subroutine | set_dirichlet_vector |
subroutine | set_neumann_scalar |
subroutine | set_neumann_vector |
subroutine | set_convective_outlet_scalar |
subroutine | set_convective_outlet_vector |
Translation of the boundary conditions given by cs_user_boundary_conditions in a form that fits to the solver.
The values at a border face stored in the face center
of the variable
and its diffusive flux
are written as:
and
where is the value of the variable
at the neighbooring cell.
Warning:
subroutine condli | ( | ) |
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in] | isvhb | indicator to save exchange coeffient at the walls |
[in] | iterns | iteration number on Navier-Stokes equations |
[in] | isvtb | indicator to save the temperature at the walls |
[in,out] | icodcl | face boundary condition code:
|
[in,out] | isostd | indicator for standard outlet and reference face index |
[in] | dt | time step (per cell) |
[in] | rtp,rtpa | calculated variables at cell centers (at current and previous time steps) |
[in] | propce | physical properties at cell centers |
[in] | propfa | physical properties at interior face centers |
[in] | propfb | physical properties at boundary face centers |
[in,out] | rcodcl | boundary condition values:
|
[out] | coefa | explicit boundary condition coefficient |
[out] | coefb | implicit boundary condition coefficient |
[out] | visvdr | viscosite dynamique ds les cellules de bord apres amortisst de v driest |
[out] | hbord | coefficients d'echange aux bords |
[out] | thbord | boundary temperature in ![]() |
[in] | frcxt | external force responsible for the hydrostatic pressure |
subroutine set_convective_outlet_scalar | ( | ) |
[out] | coefa | explicit BC coefficient for gradients |
[out] | cofaf | explicit BC coefficient for diffusive flux |
[out] | coefb | implicit BC coefficient for gradients |
[out] | cofbf | implicit BC coefficient for diffusive flux |
[in] | pimp | Flux value to impose |
[in] | cfl | Local Courant number used to convect |
[in] | hint | Internal exchange coefficient |
subroutine set_convective_outlet_vector | ( | ) |
[out] | coefa | explicit BC coefficient for gradients |
[out] | cofaf | explicit BC coefficient for diffusive flux |
[out] | coefb | implicit BC coefficient for gradients |
[out] | cofbf | implicit BC coefficient for diffusive flux |
[in] | pimpv | Dirichlet value to impose |
[in] | cflv | Local Courant number used to convect |
[in] | hint | Internal exchange coefficient |
subroutine set_dirichlet_scalar | ( | ) |
[out] | coefa | explicit BC coefficient for gradients |
[out] | coefaf | explicit BC coefficient for diffusive flux |
[out] | coefb | implicit BC coefficient for gradients |
[out] | coefbf | implicit BC coefficient for diffusive flux |
[in] | pimp | Dirichlet value to impose |
[in] | hint | Internal exchange coefficient |
[in] | hext | External exchange coefficient (10^30 by default) |
subroutine set_dirichlet_vector | ( | ) |
[out] | coefa | explicit BC coefficient for gradients |
[out] | coefaf | explicit BC coefficient for diffusive flux |
[out] | coefb | implicit BC coefficient for gradients |
[out] | coefbf | implicit BC coefficient for diffusive flux |
[in] | pimpv | Dirichlet value to impose |
[in] | hint | Internal exchange coefficient |
[in] | hextv | External exchange coefficient (10^30 by default) |
subroutine set_neumann_scalar | ( | ) |
[out] | coefa | explicit BC coefficient for gradients |
[out] | coefaf | explicit BC coefficient for diffusive flux |
[out] | coefb | implicit BC coefficient for gradients |
[out] | coefbf | implicit BC coefficient for diffusive flux |
[in] | qimp | Flux value to impose |
[in] | hint | Internal exchange coefficient |
subroutine set_neumann_vector | ( | ) |
[out] | coefa | explicit BC coefficient for gradients |
[out] | coefaf | explicit BC coefficient for diffusive flux |
[out] | coefb | implicit BC coefficient for gradients |
[out] | coefbf | implicit BC coefficient for diffusive flux |
[in] | qimpv | Flux value to impose |
[in] | hint | Internal exchange coefficient |