Skip to content
Open access

TopSim: an extensible plugin-based framework for solving general-purpose large-scale engineering problems in a parallel computational environment

Aug 2026 · Journal of the Brazilian Society of Mechanical Sciences and Engineering · Vol 48 · 0 citations · 43 references

TL;DR

The results demonstrate that TopSim can incorporate new simulation capabilities with minimal modifications to the plugin architecture while maintaining competitive distributed performance.

Abstract

This paper presents TopSim, an extensible C++ framework for developing numerical simulations in parallel and distributed environments. The framework’s contribution is architectural rather than algorithmic, arising from the integration of three key architectural features within a unified execution model: (1) a service-oriented plugin architecture configured at runtime, enabling code reuse and the replacement of numerical methods without modifications to the framework kernel; (2) an integrated data structure, TopS, which simultaneously provides a compact representation of the topological model and serves as a shared communication protocol among plugins; and (3) the encapsulation of distributed-memory programming tasks, such as mesh communication, attribute synchronization, and distributed linear algebra operations, through TopSim’s distributed-memory backbone, namely ParTopS, TopMat, and TopVec. The framework’s consistency, extensibility, and distributed performance are evaluated through mechanics-oriented benchmarks, including linear and geometrically nonlinear structural analyses, a topology optimization example based on a three-dimensional hexagonal-prism (honeycomb) finite-element discretization, and distributed scaling experiments. In the distributed algebraic microbenchmarks, TopSim’s native distributed linear algebra (DLA) algorithms achieved lower absolute elapsed times than the corresponding PETSc DLA algorithms across most of the configurations tested. In the end-to-end finite-element benchmarks, absolute elapsed time depended on the per-core workload: the TopSim-native configuration performed better when the workload exceeded 10K elements per core. In terms of scalability, the TopSim-native configuration exhibited weaker strong scaling but consistently better weak scaling than the TopSim-PETSc configuration. Overall, the results demonstrate that TopSim can incorporate new simulation capabilities with minimal modifications to the plugin architecture while maintaining competitive distributed performance.

Read PDF

Similar papers

Open access Oct 2026

Navigating the BERMUDA triangle of scientific software: A modular approach to data, hardware, and algorithm design in quantum chemistry and its realization in Python.

Modern quantum-chemistry software must support increasingly complex methods, heterogeneous hardware, reusable data structures, and user-facing workflows without losing maintainability. Using PyBEST as a case study, this work discusses how such complexity can be organized within the Python programming language through m...

Julia Szczuczko, Antonina Dobrowolska, Emil Sujkowski et al. · 0 citations
Preprint Nov 2026

Application-Defined Abstractions to Separate Numerical Intent from Computation Orchestration

In High-performance Computing the holy grail has been to translate numerical algorithms expressed in mathematical notation into code that performs well across a range of platforms. A variety of portability frameworks have abstracted data layout, parallelization and orchestration from application's view, however, the re...

Elena Aschmann, Anshu Dubey, M. Wahib et al. · 0 citations
Open access Nov 2026

RyBench: Runtime Verification Benchmarking Framework over Publish/Subscribe Networks

Autonomous systems built as distributed, node-based systems communicate via publish/subscribe middleware. Runtime Verification (RV) tools are used to monitor those systems against formal specifications, receiving monitored events through the pub/sub channel. An RV tool's practical value depends on its monitoring throug...

Mehmet Hilmi Dündar, Doğan Ulus · 0 citations
Book Open access Oct 2026

A Scalable Framework for CIM-to-FMU Integration and Scenario-Based Simulation

Large-scale power system studies increasingly rely on combining structured data models such as the Common Information Model (CIM) with simulation components packaged as Functional Mock-up Units (FMUs). However, existing workflows for integrating these models are often manual, tightly coupled, and difficult to scale acr...

Neeraj Katiyar, Adam Księżyk, Jishnudeep Kar · 0 citations
Preprint Oct 2026

OpenMP Meta-Lowering: A Declarative Approach to Performance Portable Parallel Code Generation

A modular approach to parallel code generation based on the Multi-Level Intermediate Representation (MLIR) framework that combines an OpenMP frontend with a domain-specific language (DSL) that specifies how OpenMP constructs are lowered for a target, treating lowering as a programmable component rather than compiler-sp...

Luca Parigi, Giuseppe Tagliavini · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.