Table of Contents
Fetching ...

A Modular Multi-Document Framework for Scientific Visualization and Simulation in Java

David Heddle

TL;DR

The core abstractions, threading model, simulation integration strategy, and dependency isolation approach are described, and a case study involving a real-time 3D gas expansion simulation integrated with synchronized 2D entropy plotting demonstrates architectural cohesion.

Abstract

This paper presents the design and implementation of a modular multi-document interface (MDI) framework for scientific visualization and simulation in the Java Virtual Machine (JVM) ecosystem. The framework emphasizes architectural separation between visualization layers, simulation engines, and optional hardware-accelerated 3D rendering. 3D functionality is isolated into a separate module to prevent unnecessary dependency coupling in 2D-only applications. We describe the core abstractions, threading model, simulation integration strategy, and dependency isolation approach. A case study involving a real-time 3D gas expansion simulation integrated with synchronized 2D entropy plotting demonstrates architectural cohesion. The framework is publicly available via Maven Central and targets long-lived scientific and engineering desktop applications.

A Modular Multi-Document Framework for Scientific Visualization and Simulation in Java

TL;DR

The core abstractions, threading model, simulation integration strategy, and dependency isolation approach are described, and a case study involving a real-time 3D gas expansion simulation integrated with synchronized 2D entropy plotting demonstrates architectural cohesion.

Abstract

This paper presents the design and implementation of a modular multi-document interface (MDI) framework for scientific visualization and simulation in the Java Virtual Machine (JVM) ecosystem. The framework emphasizes architectural separation between visualization layers, simulation engines, and optional hardware-accelerated 3D rendering. 3D functionality is isolated into a separate module to prevent unnecessary dependency coupling in 2D-only applications. We describe the core abstractions, threading model, simulation integration strategy, and dependency isolation approach. A case study involving a real-time 3D gas expansion simulation integrated with synchronized 2D entropy plotting demonstrates architectural cohesion. The framework is publicly available via Maven Central and targets long-lived scientific and engineering desktop applications.
Paper Structure (19 sections, 5 figures)

This paper contains 19 sections, 5 figures.

Figures (5)

  • Figure 1: Architectural overview of the MDI framework. The desktop manages multiple views, each composed of layers and items. A messaging infrastructure coordinates state changes, while the simulation engine executes background computations. Optional 3D functionality is isolated into a separate extension module.
  • Figure 2: A sample view. This view contains components supported by the MDI framework including content, controls, a toolbar, and context-sensitive feedback.
  • Figure 3: An example of a view with user-defined items. The network nodes extend the base class RectangleItem, from which they inherit a rich set of capabilities including dragging, editing, responding to toolbar tools, reordering and more.
  • Figure 4: The integrated sPlot package provides a variety of plot types and curve fitting options.
  • Figure 5: 3D gas expansion simulation with synchronized entropy plot. The 3D view renders particle motion while a 2D plot tracks entropy over time.