Skip to content
  • 最新
  • Categories
  • 东岳流体
  • 随机看[请狂点我]
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. of1806中的epsilonWallFunction是否合并了LowRe的模型?

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

Scheduled Pinned Locked Moved OpenFOAM
3 Posts 2 Posters 2.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Samuel-Tu
    wrote on last edited by
    #1

    我在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两个合并了呢?

    1 Reply Last reply
  • 李东岳李 Offline
    李东岳李 Offline
    李东岳 管理员
    wrote on last edited by
    #2

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

    9月CFD算法编程课: http://dyfluid.com/class.html

    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 Reply Last reply
  • S Offline
    S Offline
    Samuel-Tu
    wrote on last edited by
    #3

    在头文件找到了描述: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

    1 Reply Last reply

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • 最新
  • Categories
  • 东岳流体
  • 随机看[请狂点我]