Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    关于量纲对齐

    OpenFOAM
    2
    5
    293
    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.
    • 冠
      冠竹 last edited by

      各位大佬,编译公式的时候如何实现量纲对齐呢
      这个问题有点简单,但我基础不太好,麻烦各位大佬了:135:

      OpenFOAM 入门级小学生

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

        量纲不需要主动对齐。你公式如果单位是正确的,你代码写出来之后,必然是正确的。

        CFD课程 改成线上了 http://dyfluid.com/class.html
        CFD高性能服务器 http://dyfluid.com/servers.html

        1 Reply Last reply Reply Quote
        • 冠
          冠竹 @冠竹 last edited by

          @冠竹 这个问题现在解决了。
          我是在推导公式后,为了应付量纲检查,把无量纲数强行加了一个单位,在之后的后处理中把单位去掉就可以
          不过这个方式仅限于foam-extend中无法关闭量纲的时候操作,在OpenFOAM中可以通过关闭量纲检查实现运算

          OpenFOAM 入门级小学生

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

            按道理来说,如果公式符合物理,量纲应该是强制正确的啊老铁

            CFD课程 改成线上了 http://dyfluid.com/class.html
            CFD高性能服务器 http://dyfluid.com/servers.html

            冠 1 Reply Last reply Reply Quote
            • 冠
              冠竹 @李东岳 last edited by

              @李东岳 东岳老师,这个主要是因为我的是粘弹性流体,在动量方程里边加入了弹性相,不只有雷诺数,还有魏森贝格数,可能是这两个无量纲数导致的:135:

              OpenFOAM 入门级小学生

              1 Reply Last reply Reply Quote
              • First post
                Last post

              CFD中文网 | 东岳流体 | 京ICP备15017992号-2