Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    各种source function的区别

    OpenFOAM
    2
    2
    1164
    Loading More Posts
    • 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.
    • Y
      yaoyinuo last edited by 李东岳

      请问fvm::Su 和 fvc::Su 的区别,我知道source term function 有 Su,Sp,Susp对应的分别是显示离散,隐式离散,显示/隐式离散,但是如果是fvc::Su 和 fvm::Su 区别是什么? fvm::Sp 和 fvc::Sp 呢?

      1 Reply Last reply Reply Quote
      • 李东岳
        李东岳 管理员 last edited by

        fvm返回的都是矩阵,矩阵又分为矩阵系数和矩阵源项(右边那一行)。fvm::Su返回矩阵的源项,fvm::Sp返回矩阵系数。fvc返回的都是场,比如标量场。

        你的问题:fvc::Su(T, k)返回T,fvm::Su返回矩阵源项。fvm::Sp返回矩阵系数, fvc::Sp(T, k)返回Tk。fvc::Su(T, k)=T。

        线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
        CFD高性能服务器 http://dyfluid.com/servers.html

        1 Reply Last reply Reply Quote
        • First post
          Last post

        CFD中文网 | 东岳流体 | 京ICP备15017992号-2
        论坛登录问题反馈可联系 li.dy@dyfluid.com