Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    不规则几何setFieldsDict定义流域

    OpenFOAM
    3
    8
    547
    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.
    • T
      Turbulence last edited by

      屏幕截图 2021-11-17 211940.png
      这是我的几何模型,二维,想请教一下怎么确定setFieldsDict

      1 Reply Last reply Reply Quote
      • bestucan
        bestucan 版主 副教授 last edited by

        参考这个:
        https://cfd-china.com/topic/5310/toposet初始能否框出一个三角形区域呢?_=1638494544362

        直接一个超区域大框,框住流域就行了

        滚来滚去……~(~o ̄▽ ̄)~o 滚来滚去都不能让大家看出来我不是老师么 O_o

        异步沟通方式(《posting style》from wiki)(下载后打开):
        https://www.jianguoyun.com/p/Dc52X2sQsLv2BRiqnKYD
        提问的智慧(github在gitee的镜像):
        https://gitee.com/bestucan/How-To-Ask-Questions-The-Smart-Way/blob/master/README-zh_CN.md

        T 2 Replies Last reply Reply Quote
        • 李东岳
          李东岳 管理员 last edited by 李东岳

          嗯 看起来两个圆形,2个方框可以搞。这路子真野,真流弊 :high:

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

          1 Reply Last reply Reply Quote
          • T
            Turbulence @bestucan last edited by

            @bestucan 谢谢您的指点,我去学习一下,非常感谢:xiexie:

            1 Reply Last reply Reply Quote
            • T
              Turbulence @bestucan last edited by

              @bestucan 您好,打扰您了,这个问题我这样理解,四个圆和两个box
              4d7a0c9e-40d7-4ec5-93c4-d8c8d594d287-image.png
              setFieldsDict我这样设置
              1c329939603045c3568f3d76de39cd8.png
              0e9d7976b901d527d42d1edf2bed607.png
              但是报了这样的错误,
              2f30e34eb12d6d9e4c8663d8e8d106d.png
              显示是这样,他说我的第40行就是wall2 P1不对,点的坐标是在paraview中取得,那是圆设置的格式不对吗,希望得到您的指点,打扰您了,非常感谢:xiexie:

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

                你的radius 53后面应该加个;

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

                T 1 Reply Last reply Reply Quote
                • T
                  Turbulence @李东岳 last edited by

                  @李东岳 感谢您的回复,加上了;之后,还是有错误,显示关键词不对,我把坐标前的box,p1,p2删掉了,又显示以下错误
                  ![%P}@QO3R_UJR27U~1J1_]36.png](/assets/uploads/files/1638883602857-p-qo3r_ujr27u-1j1_-36.png)
                  希望得到您的指点,非常谢谢:140:

                  T 1 Reply Last reply Reply Quote
                  • T
                    Turbulence @Turbulence last edited by

                    @turbulence 02525037-654f-4a52-bc51-dcef3cc03688-image.png

                    1 Reply Last reply Reply Quote
                    • First post
                      Last post

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