Calculate the strain rate ( or rate of strain, or rate of deformation)
The equation is: ταβ=−3ω2ρ∑ifneqiciαciβ where ταβ is the stress in the β-direction on a face normal to the α-axis,\n fneqi=fi−feqi is the non-equilibrium pdf.\n For more information, please refer to: equation 45 in\n Krueger T, Varnik F, Raabe D. Shear stress in lattice Boltzmann simulations. Physical Review E. 2009;79(4):1-14.\n
For multi-level mesh, Omega on finer level needs to be adjusted in order to get the correct shearstress calculation.\n First, we defines c as the dx ratio between finer and coarse level.\n c=Δdxc/Δdxf Then the viscosity on the different levels must satisfy:\n νfνc=c This constrain leads to a relationship of omega on different levels:\n ωf=1λ(1ωc−0.5)+0.5 For more information, please refer to:\n Manuel H, Harald K, Joerg B, Sabine R. Aeroacoustic validation of the lattice boltzmann method on non-uniform grids. ECCOMAS 2012
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tem_varSys_op_type), | intent(in) | :: | fun |
description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables. |
||
type(tem_varSys_type), | intent(in) | :: | varsys |
the variable system to obtain the variable from. |
||
type(tem_stencilHeader_type), | intent(in) | :: | stencil |
fluid stencil defintion |
||
integer, | intent(in) | :: | iLevel |
current level |
||
integer, | intent(in) | :: | posInState(:) |
Position of element in levelwise state array |
||
real(kind=rk), | intent(in) | :: | pdf(:) |
pdf array |
||
real(kind=rk), | intent(out) | :: | res(:) |
results |
||
integer, | intent(in) | :: | nVals |
nVals to get |