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.2.tar.gz (56.7 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.2-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simnexus-0.1.2.tar.gz
  • Upload date:
  • Size: 56.7 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.2.tar.gz
Algorithm Hash digest
SHA256 9ad09167ed1d37e577179af9039ec335c528657f14d897192e2d465e71e37a6c
MD5 ed2dd494b9483a0d405b1d6bb3aafe01
BLAKE2b-256 e6e462d255a92c5b6c522463676a6d38d1299df3a86e6baa1b0cbcbdeccf4c76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simnexus-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 53.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86edbf0367d55e9fad97aee77da6424c52b4865f6f80062ce89edf389e6813ed
MD5 ac3dce94228f679d7b52523e514c7685
BLAKE2b-256 c818e60fde94f590f618901e2f6fdfeb46a1c8ecf4f9f078b93b376caddf75da

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