![]() |
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 (nvar, nscal, iterns, isvhb, isvtb, icodcl, isostd, dt, rtp, rtpa, propce, propfa, propfb, rcodcl, coefa, coefb, visvdr, hbord, thbord, frcxt) |
subroutine | set_dirichlet_scalar (coefa, coefaf, coefb, coefbf, pimp, hint, hext) |
subroutine | set_dirichlet_vector (coefa, coefaf, coefb, coefbf, pimpv, hint, hextv) |
subroutine | set_neumann_scalar (coefa, coefaf, coefb, coefbf, qimp, hint) |
subroutine | set_neumann_vector (coefa, coefaf, coefb, coefbf, qimpv, hint) |
subroutine | set_convective_outlet_scalar (coefa, cofaf, coefb, cofbf, pimp, cfl, hint) |
subroutine | set_convective_outlet_vector (coefa, cofaf, coefb, cofbf, pimpv, cflv, hint) |
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 | ( | integer | nvar, |
integer | nscal, | ||
integer | iterns, | ||
integer | isvhb, | ||
integer | isvtb, | ||
integer, dimension(nfabor,nvar) | icodcl, | ||
integer, dimension(nfabor+1) | isostd, | ||
double precision, dimension(ncelet) | dt, | ||
double precision, dimension(ncelet,*) | rtp, | ||
double precision, dimension(ncelet,*) | rtpa, | ||
double precision, dimension(ncelet,*) | propce, | ||
double precision, dimension(nfac,*) | propfa, | ||
double precision, dimension(ndimfb,*) | propfb, | ||
double precision, dimension(nfabor,nvar,3) | rcodcl, | ||
double precision, dimension(ndimfb,*) | coefa, | ||
double precision, dimension(ndimfb,*) | coefb, | ||
double precision, dimension(ncelet) | visvdr, | ||
double precision, dimension(nfabor) | hbord, | ||
double precision, dimension(nfabor) | thbord, | ||
double precision, dimension(ncelet,3) | frcxt | ||
) |
[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 | ( | double precision | coefa, |
double precision | cofaf, | ||
double precision | coefb, | ||
double precision | cofbf, | ||
double precision | pimp, | ||
double precision | cfl, | ||
double precision | hint | ||
) |
[out] | coefa | 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 |
[out] | cofaf | 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 |
[out] | coefb | 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 |
[out] | cofbf | 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 |
[out] | pimp | 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 |
[out] | cfl | 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 |
[out] | hint | 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 | ( | double precision, dimension(3) | coefa, |
double precision, dimension(3) | cofaf, | ||
double precision, dimension(3,3) | coefb, | ||
double precision, dimension(3,3) | cofbf, | ||
double precision, dimension(3) | pimpv, | ||
double precision, dimension(3) | cflv, | ||
double precision | hint | ||
) |
[out] | coefa | 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 |
[out] | cofaf | 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 | ( | double precision | coefa, |
double precision | coefaf, | ||
double precision | coefb, | ||
double precision | coefbf, | ||
double precision | pimp, | ||
double precision | hint, | ||
double precision | hext | ||
) |
[out] | coefa | 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) |
[out] | coefaf | 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) |
[out] | coefb | 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) |
[out] | coefbf | 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) |
[out] | pimp | 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) |
[out] | hint | 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) |
[out] | hext | 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 | ( | double precision, dimension(3) | coefa, |
double precision, dimension(3) | coefaf, | ||
double precision, dimension(3,3) | coefb, | ||
double precision, dimension(3,3) | coefbf, | ||
double precision, dimension(3) | pimpv, | ||
double precision | hint, | ||
double precision, dimension(3) | hextv | ||
) |
[out] | coefa | 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) |
[out] | coefaf | 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 | ( | double precision | coefa, |
double precision | coefaf, | ||
double precision | coefb, | ||
double precision | coefbf, | ||
double precision | qimp, | ||
double precision | hint | ||
) |
[out] | coefa | 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 |
[out] | coefaf | 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 |
[out] | coefb | 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 |
[out] | coefbf | 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 |
[out] | qimp | 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 |
[out] | hint | 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 | ( | double precision, dimension(3) | coefa, |
double precision, dimension(3) | coefaf, | ||
double precision, dimension(3,3) | coefb, | ||
double precision, dimension(3,3) | coefbf, | ||
double precision, dimension(3) | qimpv, | ||
double precision | hint | ||
) |
[out] | coefa | 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 |
[out] | coefaf | 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 |