Skip to main content

A herder for calling MOOSE and gmsh to run parallel parametric sweeps of multi-physics simulations.

Project description

MOOSEHerder

A mooseherder for calling multiple MOOSE simulations in parallel from python with configurable parallelisation options. Includes functionality to read and edit MOOSE/gmsh input scripts as well as reading the associated output of the simulation in parallel.

The main use cases for mooseherder include running parametric sweeps of small to medium size simulations for mesh convergence analysis; fitting surrogate/reduced order models; and optimisation problems.

Installation

Virtual Environment

We recommend installing mooseherder in a virtual environment using venv or mooseherder can be installed into an existing environment of your choice. To create a specific virtual environment for mooseherder use:

python3 -m venv herder-env
source herder-env/bin/activate

Standard Installation from PyPI

You can install from PyPI:

pip install mooseherder

Developer Installation

Clone mooseherder to your local system and cd to the root directory of mooseherder. Ensure you virtual environment is activated and run from the mooseherder root directory:

pip install -e .

MOOSE App

mooseherder has been developed and tested using the proteus MOOSE app which can be found here: https://github.com/aurora-multiphysics/proteus. Follow the build instructions found on this page to install proteus.

Getting Started

The examples folder includes a sequence of examples using mooseherder to run the MOOSE tensor mechanics module with and without coupling to gmsh.

Contributors

  • Lloyd Fletcher, UK Atomic Energy Authority, (TheScepticalRabbit)
  • Rory Spencer, UK Atomic Energy Authority, (fusmatrs)
  • Luke Humphrey, UK Atomic Energy Authority, (lukethehuman)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mooseherder-2025.5.0.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mooseherder-2025.5.0-py3-none-any.whl (45.3 kB view details)

Uploaded Python 3

File details

Details for the file mooseherder-2025.5.0.tar.gz.

File metadata

  • Download URL: mooseherder-2025.5.0.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mooseherder-2025.5.0.tar.gz
Algorithm Hash digest
SHA256 8bfce51fa80398944ad986230aaf8dfbe5c6c2e7ed6132cb9c8645c82bc53ae1
MD5 ec9c773854def9cde14e2aa9eaba9d09
BLAKE2b-256 404a78fc4727f215f8af8685fb515c18dae379a9e2292f556891a77005402ad3

See more details on using hashes here.

File details

Details for the file mooseherder-2025.5.0-py3-none-any.whl.

File metadata

  • Download URL: mooseherder-2025.5.0-py3-none-any.whl
  • Upload date:
  • Size: 45.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mooseherder-2025.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70703d28722229b52274ac99bb480047dc903c35d100b8e3b979f9bcbb8daf33
MD5 039bb1841989bc91bc5cd9ba6c9ef5c5
BLAKE2b-256 00446a56082eb67b870b72b7a83e60514ca0669fc05b3dcf87998960e3df4141

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page