Features · Simulators

The agent runs the model on a real simulator

Barrel Brain doesn't simulate anything itself. It writes the deck, starts a simulator from a launch profile, watches the run and reads the results. OPM Flow is supported end to end, and more simulators are coming.

The simulators the app can start: OPM Flow on Windows, under WSL and in Docker, Eclipse when installed.
The simulators the app can start: OPM Flow on Windows, under WSL and in Docker, Eclipse when installed.

What support means

Four rungs, the same for every simulator

A simulator starts at the first rung and climbs. Each card below shows how far it has got.

  1. 1

    Run

    A launch profile starts it, the queue schedules it, and a watcher follows it to the end.

  2. 2

    Read results

    Its summary, restart, grid and log files open in the viewers, and queries read them as tables.

  3. 3

    Author input

    Its deck language is parsed and checked before a run, with a keyword manual the agent reads first.

  4. 4

    Examples and skills

    Worked decks to start from, and skills that carry the workflow.

Simulators

Where each one stands

OPM Flow

Examples and skills

The open-source simulator from the Open Porous Media initiative. It runs on Windows, under WSL or in Docker, with a dry run that lists every problem in a deck before a run is spent.

  1. Run
  2. Read results
  3. Author input
  4. Examples and skills

Eclipse

Examples and skills

Found when it's installed, and run on your licence. It reads the same deck language and writes the same result files as OPM Flow, so the parser, the viewers, the examples and the skills all apply.

  1. Run
  2. Read results
  3. Author input
  4. Examples and skills

Your own simulator

Run

Anything you can start from a command line runs from a launch profile you write: the queue schedules it and a watcher follows it.

  1. Run
  2. Read results
  3. Author input
  4. Examples and skills

More simulators

Each new simulator starts here at Run and climbs the ladder as its decks and its results are supported.

OPM Flow

Every rung of the ladder

  1. 1

    Run

    Launch profiles for a Windows build you install alongside, for WSL and for Docker, each with a dry-run variant that checks the deck without running it. The queue runs the cases one after another, and a watcher wakes the agent when a run finishes.

  2. 2

    Read results

    Summary vectors against history, the grid in 3D at any report step, INIT and restart arrays as tables, and the PRT run log with its messages and fluids in place. Queries read the same files as tables.

  3. 3

    Author input

    The deck parser follows every INCLUDE and lists problems in the Error List. The agent reads the keyword manual, more than 1,000 pages, before it writes a keyword.

  4. 4

    Examples and skills

    44 worked decks with notes, from CO₂ storage to thermal steam, and skills for writing and reviewing a deck.

An OPM Flow dry run under WSL: the deck checked without running it.
An OPM Flow dry run under WSL: the deck checked without running it.
An OPM Flow run log in the PRT viewer: messages, report steps and the fluids in place.
An OPM Flow run log in the PRT viewer: messages, report steps and the fluids in place.

Around the run

What a run is made of

Simulation decks in the Eclipse language, parsed with their includes and checked before a run is spent.

Simulation

How each simulator or tool is started: the executable, its arguments, and whether it runs on Windows, under WSL or in Docker.

Simulation

Runs waiting their turn. The agent queues the cases, watches each one and reads the results when it finishes.

Simulation

Sensitivity and uncertainty studies in one file: parameters, distributions, sampling, cases and objectives.

Simulation