Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    reconstructPar 一边组一边删除数据

    OpenFOAM
    4
    6
    1128
    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 李东岳

      最近在算几个LES,我勒个去数据太大了。大算例一般算完了只有几百个G,比如500G,reconstructPar重组的时候并不会删processor的数据,这将导致占据双倍的硬盘,直接干到1T。利用下面这个命令,可以重组一个时间步,删除一个时间步,对于硬盘吃紧的时候非常有用:

      #!/bin/bash
      for i in $(foamListTimes -case processor0); do
          reconstructPar -time ${i} && rm -r processo*/${i}    
      done
      

      Pretty Simple :high: :high: :high:

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

      J 1 Reply Last reply Reply Quote
      • J
        JqBu @李东岳 last edited by

        @李东岳 有用!

        1 Reply Last reply Reply Quote
        • 迟
          迟铁 last edited by

          厉害了!

          OpenFoam/ CFX/ ansys/ hypermesh/ python

          1 Reply Last reply Reply Quote
          • 希
            希望先生 last edited by

            东岳老师要不给大家整一个收藏功能:xinxin2: 让大家把这些牛逼的小窍门给收藏下来,方便查找:chitang:

            李东岳 1 Reply Last reply Reply Quote
            • 李东岳
              李东岳 管理员 @希望先生 last edited by

              @希望先生 可以点击右边的三个点,有个书签功能,但是隐藏的太深了,使用体验不好。论坛前端用的是模板,我也不会添加功能 :zoule:

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

              希 1 Reply Last reply Reply Quote
              • 希
                希望先生 @李东岳 last edited by

                @李东岳 东岳老师,这个就已经够用了:huahua:

                1 Reply Last reply Reply Quote
                • Referenced by  T Tens 
                • First post
                  Last post

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