Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    两个volScalarField相加的结果?

    OpenFOAM
    2
    3
    1493
    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.
    • D
      dzw05 教授 last edited by

      如题,有两个volScalarField,即为v1,v2,程序中计算v1+v2,那么除了internalField相加外,边界上的值也相加吗?没找到openfoam中对+的定义。@东岳 了解具体细节吗?

      自主匠心,普惠仿真。

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

        边界上的值也相加吗?

        是的。边界和内部都相加。边界为calculated边界条件。

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

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

          在初始化场的时候,比如这种

          volScalarField test
          (
            IOobject
            (
            ...
            )
            mesh
            //如果不写边界条件类型,除了特殊的边界条件,都为calculated,如果计算,就有值。一般情况下,边界条件很重要,要谨慎
            scalar(0)
          );
          

          线上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