This routine compute turbulence viscosity and stores in turbulence data type
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_turbulence_data_type), | intent(inout) | :: | turbData |
turbulence data type |
||
type(mus_turbulence_config_type), | intent(in) | :: | turbConfig |
turbulence configuration |
||
type(mus_turbulence_visc_proc_type), | intent(in) | :: | calcTurbVisc |
turbulence function |
||
real(kind=rk), | intent(in) | :: | state(:) |
state array |
||
integer, | intent(in) | :: | neigh(:) |
neigh array to obtain precollision pdf |
||
real(kind=rk), | intent(in) | :: | auxField(:) |
Auxiliary field variable array |
||
type(mus_gradData_type), | intent(in) | :: | gradData |
gradient data |
||
integer, | intent(in) | :: | densPos |
position of density in auxField |
||
integer, | intent(in) | :: | velPos(3) |
position of velocity components in auxField |
||
integer, | intent(in) | :: | nSize |
number of elements in state array |
||
integer, | intent(in) | :: | nSolve |
Number of element to solve in this level |
||
integer, | intent(in) | :: | nScalars |
number of scalars in state array |
||
integer, | intent(in) | :: | nAuxScalars |
number of scalars in auxField array |
||
type(mus_scheme_layout_type), | intent(in) | :: | layout |
scheme layout |
||
real(kind=rk), | intent(in) | :: | dxL |
lattice element size in current level |
||
real(kind=rk), | intent(in) | :: | dtL |
current level lattice time step size |
||
real(kind=rk), | intent(in) | :: | viscKine(:) |
Background kinematic viscosity divided by dtL |
||
type(mus_Grad_type), | intent(in) | :: | Grad |
Object that contains pointers to calculate gradients |