有没有利用壁面函数 nutURoughWallFunction 改变壁面粗糙度的同僚啊?
想问一下nutroughwallfunction 下设置的几个参数具有什么样的物理意义啊?其中 roughnessHeigh t应该是常用的粗糙度吧?另外设置的 value,roughnessFactor,roughnessConstant 分别代表什么含义呢?
{
type nutURoughWallFunction;
value uniform 0.1;
roughnessHeight 0.1;
roughnessConstant 0.1;
roughnessFactor 0.1;
}
希望懂的人能分享赐教,先行谢过!
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions for rough walls, based on velocity (OpenFOAM: API Guide: nutURoughWallFunctionFvPatchScalarField Class Reference)
value
不是必须的值。写在那里,只是为了避免有可能因为读取这个值而找不到,可能会出错。
关于 roughnessFactor
使用可见:
TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutURoughWallFunction/nutURoughWallFunctionFvPatchScalarField.C
scalar dKsPlusdYPlus = roughnessHeight_/y[facei];
// Additional tuning parameter - nominally = 1
dKsPlusdYPlus *= roughnessFactor_;