My Project
programmer's documentation
|
Boundary conditions for rough walls (icodcl = 6). More...
Functions/Subroutines | |
subroutine | clptrg (nscal, isvhb, icodcl, rcodcl, velipb, rijipb, visvdr, hbord, theipb) |
subroutine | clptrg_scalar (iscal, isvhb, icodcl, rcodcl, byplus, buk, buet, bcfnns, hbord, theipb, tetmax, tetmin, tplumx, tplumn) |
Boundary conditions for rough walls (icodcl = 6).
The wall functions may change the value of the diffusive flux.
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
where and are 3x3 tensor matrix which coupled veclocity components next to a boundary.
Please refer to the clptrg section of the theory guide for more informations.
subroutine clptrg | ( | integer | nscal, |
integer | isvhb, | ||
integer, dimension(:,:), pointer | icodcl, | ||
double precision, dimension(:,:,:), pointer | rcodcl, | ||
double precision, dimension(:,:) | velipb, | ||
double precision, dimension(:,:), pointer | rijipb, | ||
double precision, dimension(:), pointer | visvdr, | ||
double precision, dimension(:), pointer | hbord, | ||
double precision, dimension(:), pointer | theipb | ||
) |
[in] | nscal | total number of scalars |
[in] | isvhb | indicator to save exchange coeffient |
[in,out] | icodcl | face boundary condition code:
|
[in,out] | rcodcl | boundary condition values:
|
[in] | velipb | value of the velocity at of boundary cells |
[in] | rijipb | value of at of boundary cells |
[out] | visvdr | viscosite dynamique ds les cellules de bord apres amortisst de v driest |
[out] | hbord | coefficients d'echange aux bords |
[in] | theipb | boundary temperature in (more exaclty the energetic variable) |
subroutine clptrg_scalar | ( | integer | iscal, |
integer | isvhb, | ||
integer, dimension(:,:), pointer | icodcl, | ||
double precision, dimension(:,:,:), pointer | rcodcl, | ||
double precision, dimension(:) | byplus, | ||
double precision, dimension(:) | buk, | ||
double precision, dimension(:) | buet, | ||
double precision, dimension(:) | bcfnns, | ||
double precision, dimension(:), pointer | hbord, | ||
double precision, dimension(:), pointer | theipb, | ||
double precision | tetmax, | ||
double precision | tetmin, | ||
double precision | tplumx, | ||
double precision | tplumn | ||
) |
[in] | iscal | scalar id |
[in] | isvhb | indicator to save exchange coeffient |
[in,out] | icodcl | face boundary condition code:
|
[in,out] | rcodcl | boundary condition values:
|
[in] | byplus | dimensionless distance to the wall |
[in] | buk | dimensionless velocity |
[in] | buet | boundary ustar value |
[in] | bcfnns | boundary correction factor |
[in,out] | hbord | exchange coefficient at boundary |
[in] | theipb | boundary temperature in (more exaclty the energetic variable) |
[out] | tetmax | maximum local ustar value |
[out] | tetmin | minimum local ustar value |
[out] | tplumx | maximum local tplus value |
[out] | tplumn | minimum local tplus value |