of1806中的epsilonWallFunction是否合并了LowRe的模型?



  • 我在epsilonWallFunction中的calculate()定义中发现了如下代码:

            if (lowReCorrection_ && yPlus < yPlusLam_)
            {
                epsilonc = w*2.0*k[celli]*nuw[facei]/sqr(y[facei]);
                Gc = 0;
            }
    

    这是对yPlus是否处于粘性层进行了判断,并且公式也和粘性层的epsilon计算公式对应。而且我还find了一下epsilonLowReWallFunction,发现没有找到。是否是讲epsilonWallFunction和epsilonLowReWallFunction两个合并了呢?



  • 目前我没细看这部分代码不确定,单纯从你贴的代码上来看是的,



  • 在头文件找到了描述:The low-Re correction is activated by setting the entry lowReCorrection to 'on'; in this mode the model switches between laminar and turbulent functions based on the laminar-to-turbulent y+ value derived from kappa and E. When the lowReCorrection is inactive, the wall function operates in high-Re mode.可能是在constant文件里使用这epsilonWallFunction的时候能够选择打不打开LowRe


Log in to reply
 

CFD中文网 2016 - 2020 | 京ICP备15017992号-2