Boundary conditions for smooth walls (icodcl = 5). More...
Functions/Subroutines | |
subroutine | clptur (nscal, isvhb, icodcl, rcodcl, velipb, rijipb, visvdr, hbord, theipb) |
subroutine | clptur_scalar (iscal, isvhb, icodcl, rcodcl, byplus, bdplus, buk, bcfnns, hbord, theipb, tetmax, tetmin, tplumx, tplumn) |
subroutine | clptur_vector (iscal, isvhb, icodcl, rcodcl, byplus, bdplus, buk) |
Boundary conditions for smooth walls (icodcl = 5).
The wall functions may change the value of the diffusive flux.
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:
\[ \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 wall boundary conditions section of the theory guide for more informations, as well as the clptur section.
subroutine clptur | ( | 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 \( \centip \) of boundary cells |
[in] | rijipb | value of \( R_{ij} \) at \( \centip \) of boundary cells |
[out] | visvdr | dynamic viscosity after V. Driest damping in boundary cells |
[out] | hbord | exchange coefficient at boundary |
[in] | theipb | value of thermal scalar at \( \centip \) of boundary cells |
subroutine clptur_scalar | ( | integer | iscal, |
integer | isvhb, | ||
integer, dimension(:,:), pointer | icodcl, | ||
double precision, dimension(:,:,:), pointer | rcodcl, | ||
double precision, dimension(:) | byplus, | ||
double precision, dimension(:) | bdplus, | ||
double precision, dimension(:) | buk, | ||
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] | bdplus | dimensionless shift to the wall for scalable wall functions |
[in] | buk | dimensionless velocity |
[in,out] | hbord | exchange coefficient at boundary |
[in] | theipb | value of thermal scalar at \( \centip \) of boundary cells |
[out] | tetmax | maximum local ustar value |
[out] | tetmin | minimum local ustar value |
[out] | tplumx | maximum local tplus value |
[out] | tplumn | minimum local tplus value |
subroutine clptur_vector | ( | integer | iscal, |
integer | isvhb, | ||
integer, dimension(:,:), pointer | icodcl, | ||
double precision, dimension(:,:,:), pointer | rcodcl, | ||
double precision, dimension(:) | byplus, | ||
double precision, dimension(:) | bdplus, | ||
double precision, dimension(:) | buk | ||
) |
[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] | bdplus | dimensionless shift to the wall for scalable wall functions |
[in] | buk | dimensionless velocity |
[in,out] | hbord | exchange coefficient at boundary |