gauss upwind和gauss linearUpwind grad(U)结果差异大
-
cfdOnline里关于这个非正交修正次数的讨论
Non-orthogonal correctorsare here to save you if your code is blowing up because the mesh is so non-orthogonal that the first solution is driving the velocity to be stupid. If your velocity is OK, you just keep doing "normal" correctors, without special need for non-orthogonal ones.I use them on bad meshes (some people call them "industrial") when the solver is giving me trouble. Usually, 1 is enough, and I never used more than 3.
Hope this helps,
Hrvoje
按照hjasak的说法,nNonOrthogonalCorrectors实际不是修正网格非正交的,而是使得计算不容易发散。又学到了一点 -
@cccrrryyy
这个链接里面解释了为什么nut需要设置壁函数:https://www.slideshare.net/fumiyanozaki96/openfoam-36426892
这几个视频里面解释了壁函数以及k,epsilon的壁面处理的原则:
https://www.youtube.com/watch?v=fJDYtEGMgzs&t=4s
https://www.youtube.com/watch?v=zSIgKsQSa9k
https://www.youtube.com/watch?v=RKoXFpwi2go其他资料:
On the Wall Boundary Condition for Turbulence Models , By JONAS BREDBERGKalitzin, G., Medic, G., Iaccarino, G., & Durbin, P. (2005). Near-wall behavior of RANS turbulence models and implications for wall functions. Journal of Computational Physics, 204(1), 265–291.
Popovac, M., & Hanjalic, K. (2007). Compound wall treatment for RANS computation of complex turbulent flows and heat transfer. Flow, Turbulence and Combustion, 78(2), 177–202.
OpenFOAM里面的代码实现通常跟文献的描述有点差异,所以也只能是尽可能去了解原理,结合代码来理解,然后实践。也不是所有的出错都能找到合理的解释