You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Eclipse/Petrel模拟中移除或停止生成.unrst文件?

Great question—those .unrst files can definitely eat up storage fast, especially for large reservoir models. Let’s break down your two requests step by step:

How to Prevent .unrst Files from Being Generated

The .unrst files are Eclipse’s unformatted restart files, created by default to support restarting simulations or running post-processing workflows. To disable their generation, you have two main options depending on how you set up your simulation:

  • Directly in Eclipse .DATA file:
    Add the RESTART keyword with the NOUNRST flag to your input deck. This tells Eclipse to skip creating unformatted restart files entirely. Here’s the syntax:

    RESTART
      NOUNRST /
    /
    

    Note: Be sure to place this in the correct section of your .DATA file (typically near other simulation control keywords).

  • Through Petrel’s simulation setup:
    When configuring your Eclipse run in Petrel, navigate to the Restart tab in the simulation settings. Look for an option like "Generate unformatted restart files" or similar, and uncheck it. This will automatically add the NOUNRST flag to the generated .DATA file for you.

Important caveat: Disabling .unrst files means you won’t be able to restart a partially completed simulation or use these files for certain post-processing tasks (like dynamic well analysis or history matching iterations). Only do this if you’re sure you won’t need this functionality later.

How to Remove Existing .unrst Files in Eclipse/Petrel

If you already have these files taking up space, here’s how to clean them up safely:

  • In Eclipse (standalone or Petrel-linked):
    Simply navigate to your simulation’s working directory and delete the .unrst files manually. Just make sure the simulation isn’t currently running—deleting files while Eclipse is writing to them can cause crashes or corrupted results.

  • Within Petrel:

    1. Project Tree method: Locate your simulation case in the Petrel Project Tree, expand the results folder, find the restart files (labeled with .unrst), right-click them, and select Delete.
    2. File Management tool: Open Petrel’s File Management window (under the Tools menu), filter for files with the .unrst extension, select all the ones you want to remove, and click the delete button.
  • Command-line batch deletion:
    For larger sets of files, you can use a command to delete all .unrst files in a directory:

    • On Windows Command Prompt: del /s *.unrst
    • On Linux/macOS Terminal: rm -rf *.unrst
      Double-check the directory path before running these commands to avoid accidentally deleting important files.

Pro tip: If you might need these files later but want to save space, consider compressing them (using tools like 7-Zip or tar) instead of deleting—they compress very well due to their binary format.

内容的提问来源于stack exchange,提问作者Rory

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 09:21:58