My Project
programmer's documentation
|
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, itrale, italim, itrfin, ineefl, itrfup, flmalf, flmalb, cofale, xprale, icodcl, isostd, dt, rcodcl, visvdr, hbord, theipb) |
subroutine | set_dirichlet_scalar (coefa, cofaf, coefb, cofbf, pimp, hint, hext) |
subroutine | set_dirichlet_vector (coefa, cofaf, coefb, cofbf, pimpv, hint, hextv) |
subroutine | set_dirichlet_tensor (coefa, cofaf, coefb, cofbf, pimpts, hint, hextts) |
subroutine | set_dirichlet_vector_aniso (coefa, cofaf, coefb, cofbf, pimpv, hint, hextv) |
subroutine | set_neumann_scalar (coefa, cofaf, coefb, cofbf, dimp, hint) |
subroutine | set_neumann_vector (coefa, cofaf, coefb, cofbf, qimpv, hint) |
subroutine | set_neumann_tensor (coefa, cofaf, coefb, cofbf, qimpts, hint) |
subroutine | set_neumann_vector_aniso (coefa, cofaf, coefb, cofbf, qimpv, hint) |
subroutine | set_generalized_sym_vector (coefa, cofaf, coefb, cofbf, pimpv, qimpv, hint, normal) |
subroutine | set_generalized_sym_vector_aniso (coefa, cofaf, coefb, cofbf, pimpv, qimpv, hint, normal) |
subroutine | set_generalized_dirichlet_vector (coefa, cofaf, coefb, cofbf, pimpv, qimpv, hint, normal) |
subroutine | set_generalized_dirichlet_vector_aniso (coefa, cofaf, coefb, cofbf, pimpv, qimpv, hint, normal) |
subroutine | set_convective_outlet_scalar (coefa, cofaf, coefb, cofbf, pimp, cfl, hint) |
subroutine | set_convective_outlet_vector (coefa, cofaf, coefb, cofbf, pimpv, cflv, hint) |
subroutine | set_convective_outlet_tensor (coefa, cofaf, coefb, cofbf, pimpts, cflts, hint) |
subroutine | set_convective_outlet_vector_aniso (coefa, cofaf, coefb, cofbf, pimpv, cflv, hint) |
subroutine | set_affine_function_scalar (coefa, cofaf, coefb, cofbf, pinf, ratio, hint) |
subroutine | set_neumann_conv_h_neumann_diff_scalar (coefa, cofaf, coefb, cofbf, dimp, hint) |
subroutine | set_affine_function_conv_neumann_diff_scalar (coefa, cofaf, coefb, cofbf, pinf, ratio, dimp) |
subroutine | set_total_flux (coefa, cofaf, coefb, cofbf, hext, dimp) |
subroutine | set_dirichlet_conv_neumann_diff_scalar (coefa, cofaf, coefb, cofbf, pimp, dimp) |
subroutine | set_dirichlet_conv_neumann_diff_vector (coefa, cofaf, coefb, cofbf, pimpv, qimpv) |
subroutine | set_dirichlet_conv_neumann_diff_tensor (coefa, cofaf, coefb, cofbf, pimpts, qimpts) |
subroutine | condli_ini (nvar, nscal, itrale, icodcl, isostd, dt, rcodcl) |
Initialisation of boundary condition arrays. More... | |
Translation of the boundary conditions given by cs_user_boundary_conditions in a form that fits to the solver.
The values at a boundary 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 neighboring cell.
Warning:
and
and
where and are 3x3 tensor matrix which coupled veclocity 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.
subroutine condli | ( | integer | nvar, |
integer | nscal, | ||
integer | iterns, | ||
integer | isvhb, | ||
integer | itrale, | ||
integer | italim, | ||
integer | itrfin, | ||
integer | ineefl, | ||
integer | itrfup, | ||
double precision, dimension(:), pointer | flmalf, | ||
double precision, dimension(:), pointer | flmalb, | ||
double precision, dimension(:,:), pointer | cofale, | ||
double precision, dimension(:), pointer | xprale, | ||
integer, dimension(:,:), pointer | icodcl, | ||
integer, dimension(nfabor+1) | isostd, | ||
double precision, dimension(:), pointer | dt, | ||
double precision, dimension(:,:,:), pointer | rcodcl, | ||
double precision, dimension(:), pointer | visvdr, | ||
double precision, dimension(:), pointer | hbord, | ||
double precision, dimension(:), pointer | theipb | ||
) |
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in] | iterns | iteration number on Navier-Stokes equations |
[in] | isvhb | indicator to save exchange coeffient at the walls |
[in] | itrale | ALE iteration number |
[in] | itrale | ALE iteration number |
[in] | italim | for ALE |
[in] | itrfin | for ALE |
[in] | ineefl | for ALE |
[in] | itrfup | for ALE |
[in] | flmalf | work array for FSI |
[in] | flmalb | work array for FSI |
[in] | cofale | work array for FSI |
[in] | xprale | work array for FSI |
[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,out] | rcodcl | boundary condition values:
|
[out] | visvdr | viscosite dynamique ds les cellules de bord apres amortisst de v driest |
[out] | hbord | coefficients d'echange aux bords |
[out] | theipb | boundary temperature in (more exaclty the energetic variable) |
subroutine condli_ini | ( | integer | nvar, |
integer | nscal, | ||
integer | itrale, | ||
integer, dimension(nfabor,nvar) | icodcl, | ||
integer, dimension(nfabor+1) | isostd, | ||
double precision, dimension(:), pointer | dt, | ||
double precision, dimension(nfabor,nvar,3) | rcodcl | ||
) |
Initialisation of boundary condition arrays.
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in] | itrale | ALE iteration number |
[in,out] | icodcl | face boundary condition code (see condli) |
[in,out] | isostd | indicator for standard outlet and reference face index |
[in] | dt | time step (per cell) |
[in,out] | rcodcl | boundary condition values:
|
subroutine set_affine_function_conv_neumann_diff_scalar | ( | double precision | coefa, |
double precision | cofaf, | ||
double precision | coefb, | ||
double precision | cofbf, | ||
double precision | pinf, | ||
double precision | ratio, | ||
double precision | dimp | ||
) |
[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] | pinf | affine part |
[in] | ratio | linear part |
[in] | dimp | Flux value to impose |
subroutine set_affine_function_scalar | ( | double precision | coefa, |
double precision | cofaf, | ||
double precision | coefb, | ||
double precision | cofbf, | ||
double precision | pinf, | ||
double precision | ratio, | ||
double precision | hint | ||
) |
[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] | pinf | affine part |
[in] | ratio | linear part |
[in] | hint | internal exchange coefficient |
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 | 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_tensor | ( | double precision, dimension(6) | coefa, |
double precision, dimension(6) | cofaf, | ||
double precision, dimension(6,6) | coefb, | ||
double precision, dimension(6,6) | cofbf, | ||
double precision, dimension(6) | pimpts, | ||
double precision, dimension(6) | cflts, | ||
double precision | hint | ||
) |
[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] | pimpts | Dirichlet value to impose |
[in] | cflts | 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 | 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_convective_outlet_vector_aniso | ( | 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, dimension(6) | hint | ||
) |
[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_conv_neumann_diff_scalar | ( | double precision | coefa, |
double precision | cofaf, | ||
double precision | coefb, | ||
double precision | cofbf, | ||
double precision | pimp, | ||
double precision | dimp | ||
) |
[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 | Dirichlet value to impose |
[in] | dimp | Flux value to impose |
subroutine set_dirichlet_conv_neumann_diff_tensor | ( | double precision, dimension(6) | coefa, |
double precision, dimension(6) | cofaf, | ||
double precision, dimension(6,6) | coefb, | ||
double precision, dimension(6,6) | cofbf, | ||
double precision, dimension(6) | pimpts, | ||
double precision, dimension(6) | qimpts | ||
) |
[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] | pimpts | Dirichlet value to impose |
[in] | qimpts | Flux value to impose |
subroutine set_dirichlet_conv_neumann_diff_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) | qimpv | ||
) |
[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] | qimpv | Flux value to impose |
subroutine set_dirichlet_scalar | ( | double precision | coefa, |
double precision | cofaf, | ||
double precision | coefb, | ||
double precision | cofbf, | ||
double precision | pimp, | ||
double precision | hint, | ||
double precision | hext | ||
) |
[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 | Dirichlet value to impose |
[in] | hint | Internal exchange coefficient |
[in] | hext | External exchange coefficient (10^30 by default) |
subroutine set_dirichlet_tensor | ( | double precision, dimension(6) | coefa, |
double precision, dimension(6) | cofaf, | ||
double precision, dimension(6,6) | coefb, | ||
double precision, dimension(6,6) | cofbf, | ||
double precision, dimension(6) | pimpts, | ||
double precision | hint, | ||
double precision, dimension(6) | hextts | ||
) |
[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] | pimpts | Dirichlet value to impose |
[in] | hint | Internal exchange coefficient |
[in] | hextts | External exchange coefficient (10^30 by default) |
subroutine set_dirichlet_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 | hint, | ||
double precision, dimension(3) | hextv | ||
) |
[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] | hint | Internal exchange coefficient |
[in] | hextv | External exchange coefficient (10^30 by default) |
subroutine set_dirichlet_vector_aniso | ( | 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(6) | hint, | ||
double precision, dimension(3) | hextv | ||
) |
[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] | hint | Internal exchange coefficient |
[in] | hextv | External exchange coefficient (10^30 by default) |
subroutine set_generalized_dirichlet_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) | qimpv, | ||
double precision | hint, | ||
double precision, dimension(3) | normal | ||
) |
[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 on the normal component |
[in] | qimpv | Flux value to impose on the tangential components |
[in] | hint | Internal exchange coefficient |
[in] | normal | normal |
subroutine set_generalized_dirichlet_vector_aniso | ( | 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) | qimpv, | ||
double precision, dimension(6) | hint, | ||
double precision, dimension(3) | normal | ||
) |
[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 on the normal component |
[in] | qimpv | Flux value to impose on the tangential components |
[in] | hint | Internal exchange coefficient |
[in] | normal | normal |
subroutine set_generalized_sym_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) | qimpv, | ||
double precision | hint, | ||
double precision, dimension(3) | normal | ||
) |
[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 on the normal component |
[in] | qimpv | Flux value to impose on the tangential components |
[in] | hint | Internal exchange coefficient |
[in] | normal | normal |
subroutine set_generalized_sym_vector_aniso | ( | 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) | qimpv, | ||
double precision, dimension(6) | hint, | ||
double precision, dimension(3) | normal | ||
) |
[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 on the normal component |
[in] | qimpv | Flux value to impose on the tangential components |
[in] | hint | Internal exchange coefficient |
[in] | normal | normal |
subroutine set_neumann_conv_h_neumann_diff_scalar | ( | double precision | coefa, |
double precision | cofaf, | ||
double precision | coefb, | ||
double precision | cofbf, | ||
double precision | dimp, | ||
double precision | hint | ||
) |
[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] | dimp | Flux value to impose |
[in] | hint | Internal exchange coefficient |
subroutine set_neumann_scalar | ( | double precision | coefa, |
double precision | cofaf, | ||
double precision | coefb, | ||
double precision | cofbf, | ||
double precision | dimp, | ||
double precision | hint | ||
) |
[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] | dimp | Flux value to impose |
[in] | hint | Internal exchange coefficient |
subroutine set_neumann_tensor | ( | double precision, dimension(6) | coefa, |
double precision, dimension(6) | cofaf, | ||
double precision, dimension(6,6) | coefb, | ||
double precision, dimension(6,6) | cofbf, | ||
double precision, dimension(6) | qimpts, | ||
double precision | hint | ||
) |
[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] | qimpts | Flux value to impose |
[in] | hint | Internal exchange coefficient |
subroutine set_neumann_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) | qimpv, | ||
double precision | hint | ||
) |
[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] | qimpv | Flux value to impose |
[in] | hint | Internal exchange coefficient |
subroutine set_neumann_vector_aniso | ( | 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) | qimpv, | ||
double precision, dimension(6) | hint | ||
) |
[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] | qimpv | Flux value to impose |
[in] | hint | Internal exchange coefficient |
subroutine set_total_flux | ( | double precision | coefa, |
double precision | cofaf, | ||
double precision | coefb, | ||
double precision | cofbf, | ||
double precision | hext, | ||
double precision | dimp | ||
) |
[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] | hext | convective flux to be imposed |
[in] | dimp | Flux value to impose |