Skip to main content

A Python module for modelling complex simulation workflows.

Project description

SimNexus

A Python module for orchestrating complex simulations with native support for LS-DYNA, OpenRadioss, and OpenFOAM.

Overview

SimNexus enables the automation and coordination of multi-physics simulation workflows. The module is particularly suited for simulations that span multiple domains, such as combined structural and fluid dynamics analyses.

It supports tasks from from input preparation and remote execution to results extraction and post-processing.

SimNexus has a native support for solvers like LS-DYNA, OpenRadioss, and OpenFOAM.

Key Features

  • Workflow Management: Define simulation workflows as directed acyclic graphs (DAGs) where actions are executed based on dependency relationships and completion status of prerequisite tasks
  • Native Solver Support: Specify input parameter values and the results to extract for a supported solver. Currently implemented are LS-DYNA and OpenRadioss for structural analysis, and OpenFOAM for computational fluid dynamics
  • Remote Execution: Submit computational subgraphs to remote computing resources while maintaining local workflow coordination
  • Dependency Resolution: Automatically manages execution order based on inter-action dependencies, ensuring downstream actions wait for required upstream results
  • Discoverability: Query any graph for its inputs (variables()) and outputs (outputs()) without running it — solver actions read their parameterised input files to report variable names, types, and default values
  • Scalability using ML: Designed to scale through integration with the Gemini CLI for the extension and use of the module.

Typical Workflow

  1. Configure input files for target solvers
  2. Define analysis actions and their dependencies
  3. Execute simulations on designated compute resources (local or remote)
  4. Extract relevant results from solver outputs
  5. Aggregate and summarize findings

SimNexus streamlines the complexity of managing heterogeneous simulation environments, enabling researchers and engineers to focus on analysis rather than workflow orchestration.

Documentation

(Path to be added. One provided is not yet active)

Online documentation is available here

See also the docs directory.

Installation

pip install simnexus

Usage

See the documentation and the examples directory for examples.

(Coming soon)

Example problems

The example problems demonstrate:

  • An LS-DYNA workflow consisting of editing parameter values, job submission, and results extraction.
  • An OpenRadioss workflow consisting of editing parameter values, job submission, and results extraction.
  • An OpenFOAM. workflow consisting of editing parameter values, job submission, and results extraction.
  • Remote execution examples.

License

This project is licensed under the MIT License.

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

simnexus-0.1.0.tar.gz (56.3 kB view details)

Uploaded Source

Built Distribution

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

simnexus-0.1.0-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

Details for the file simnexus-0.1.0.tar.gz.

File metadata

  • Download URL: simnexus-0.1.0.tar.gz
  • Upload date:
  • Size: 56.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for simnexus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8f2989878bdd5f56272bf71c051e93df8f42cd551eab2808b8c5eb2124017000
MD5 0deed1fc8e023862073460d19ba2890f
BLAKE2b-256 23815da8371f81b4a0a024cf8673e1a589dbed2104bbc72613bebdd055e9c5b4

See more details on using hashes here.

File details

Details for the file simnexus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: simnexus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 53.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for simnexus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bdff2fd083da18088486204327c739c1e079446d0406479798384987bec99e0
MD5 2f20e10c6582503fd018bd9e1c1b2ed8
BLAKE2b-256 b524bca768bb30180c451ce84c74c2f8a695ef5892e2dc967c8decdc257decef

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