Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    关于postProcess probe的问题

    OpenFOAM
    2
    5
    3075
    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.
    • hurricane007
      hurricane007 last edited by hurricane007

      有一个算好的算例,想在里面找几个点的压力随时间的数据,在system/ 建文件probesDict,运行postProcess -func probes 输出的文件夹里面只有(0 0 0)点的数据,求帮助
      写法如下:

      fields
      (
          p
      );
      
      // Locations to be probed. runTime modifiable!
      probeLocations
      (
          (0  0  0.01)
          (0  0  0.1)
          (0  0  0.3)
          (0  0  0.5)
      );
      1 Reply Last reply Reply Quote
      • 范
        范春永 last edited by

        你应该将probes文件放到system下,然后在controlDict下加入functions{ #includeFunction probes },算完之后运行postProcess -func probes

        hurricane007 1 Reply Last reply Reply Quote
        • hurricane007
          hurricane007 @范春永 last edited by 赵一铭

          @范春永 感谢回复!但是试了一下还是不行。。

          controlDict 里面加了这样一行:

          functions{ #includeFunc probes }
          
          //probesDict里面是这么写的,把Github上的下载下来改了 
          
          // Fields to be probed. runTime modifiable!
          fields
          (
              p
          );
          
          // Locations to be probed. runTime modifiable!
          probeLocations
          (
              (0  0  0.01)
              (0  0  0.1)
              (0  0  0.3)
              (0  0  0.5)
          );
          
          1 Reply Last reply Reply Quote
          • 范
            范春永 last edited by

            你把probes文件不是probesDict拷到system下,修改probes文件,不是probesDict。@hurricane007

            hurricane007 1 Reply Last reply Reply Quote
            • hurricane007
              hurricane007 @范春永 last edited by

              @范春永 成了!非常感谢!!

              1 Reply Last reply Reply Quote
              • First post
                Last post

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