This module assigns function pointer to calculate turbulent viscosity according to turbulence model and scheme definition
This routine assigns function pointer to compute turbulence viscosity based on turbulence model and scheme header definition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_turbulence_type), | intent(inout) | :: | turb | turbulence type |
||
type(mus_scheme_header_type), | intent(in) | :: | schemeHeader | Scheme header information |
Dummy function for turbulent viscosity from Gradu procedure
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(out) | :: | turbVisc(:) | output: turbulent viscosity |
||
type(mus_turbulence_config_type), | intent(in) | :: | turbConfig | turbulence config contains oefficients |
||
type(mus_gradData_type), | intent(in) | :: | gradData | gradient data |
||
real(kind=rk), | intent(in) | :: | auxField(:) | Auxiliary field variable array |
||
integer, | intent(in) | :: | velPos(3) | position of velocity components in auxField |
||
integer, | intent(in) | :: | nSolve | Number of element to solve in this level |
||
integer, | intent(in) | :: | nAuxScalars | number of scalars in auxField array |
||
real(kind=rk), | intent(in) | :: | dxL | turbulence coefficients current level lattice element size |
||
real(kind=rk), | intent(in) | :: | dtL | current level lattice time step size |
||
type(mus_Grad_type), | intent(in) | :: | Grad | Object that contains pointers to calculate gradients |
Dummy function to compute turbulent viscosity from PDF
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(out) | :: | turbVisc(:) | output: turbulent viscosity |
||
type(mus_turbulence_config_type), | intent(in) | :: | turbConfig | turbulence type is implicitly passed to access turbulence coefficients |
||
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 |
||
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 | current level lattice element size |
||
real(kind=rk), | intent(in) | :: | dtL | current level lattice time step size |
||
real(kind=rk), | intent(in) | :: | viscKine(:) | Background kinematic viscosity divided by dtL |