Search results

1 – 1 of 1
Article
Publication date: 2 May 2017

María José Cano, Eliseo Chacon-Vera and Francisco Esquembre

Computer simulations improve the knowledge of physical models and are widely used in teaching and research. Key aspects are to understand their solutions and to make interactive…

Abstract

Purpose

Computer simulations improve the knowledge of physical models and are widely used in teaching and research. Key aspects are to understand their solutions and to make interactive changes to the models, observing their effects in real-time. The drawback of creating interactive simulations of physical models is the high level of programming expertise required. The purpose of this study is to facilitate this task.

Design/methodology/approach

Java is the perfect language for this task; it yields high-quality graphics and is widely spread in the scientific community. Because many important physical models are described by means of partial differential equations (PDEs), the combination of Java with FreeFem++, a C++ PDE solver based on the finite element method, is considered.

Findings

In this study, a Java library is introduced to numerically solve PDE equations via a run-time connection with FreeFem++. The solution is encapsulated into Java objects that are ready to be used in different programming tasks. The library also includes new Java visualization elements for solutions and meshes in the context of the Open Source Physics project library. Together, the connection features and the visualization elements facilitate the creation of Java simulations by programming researchers. For those with less programming capabilities, this work has been included into Easy Java Simulations, a tool to further ease the creation of interactive simulations.

Originality/value

The present study approach allows simulating models given PDEs. The equations are solved either in local or in remote mode (e.g. by a network accessible to a high-performance computer) and visualized locally, providing a high degree of interactivity to the end user.

Details

Engineering Computations, vol. 34 no. 3
Type: Research Article
ISSN: 0264-4401

Keywords

1 – 1 of 1