days
0
-79
-3
hours
-2
0
minutes
-5
-8
seconds
-4
-9
search

Modeling and simulation with Eclipse ICE and EAVP

Jay Jay Billings
JHipster 4
Solar eclipse image via Shutterstock

In this article, Jay Jay Billings, member of the Computer Science Research Group at Oak Ridge National Laboratory, explains how to do modeling and simulation with Eclipse Integrated Computational Environment & Eclipse Advanced Visualization Platform (EAVP).

Introduction

Almost two years ago I had the opportunity to tell you about our work to apply the Eclipse Workbench to scientific computing. That article, which can be found here, discussed how we are extending the Eclipse workbench and tooling for problems in scientific computing.

It is a pleasure to have the opportunity to write you again with an update on our progress. While the scientific computing world hasn’t changed very much in two years’ time, our work has.

With exciting challenges such as the Exascale Computing Project on the horizon, the need for powerful, Eclipse-based tools for modeling and simulation (M&S) has never been greater. Key drivers continue to be scientific workflows, developer productivity, and visualization, and no single tool can satisfy all of those needs. The Eclipse Platform, however, just might.

The Eclipse Platform has been adopted across numerous domains and, in some cases, has revolutionized the state of the art. While it is not used as frequently in modeling and simulation as much as other areas, it is widely known.

So several years ago, we asked ourselves the question, “What if the tools in the Eclipse Platform for authoring scientific software could be repurposed for using scientific software?” The answer: the Eclipse Integrated Computational Environment (ICE), a general purpose, easily extended M&S platform that significantly changes the way computational scientists interact with their software. It improves productivity and streamlines the workflow for computational scientists creating input files, launches jobs on local or remote machines, and processes output.

And since it is based on the Eclipse Rich Client Platform (RCP), developers can update it to support new codes or add new tools just as easily as users can perform simulations and visualize results.

Fig. 1 - Visualizations created by EAVP and shown embedded in ICE’s workbench. Clockwise from upper left: a mock LWR fuel assembly; phonon scattering data from nuclear scattering experiments; a model of single-loop cooling configuration in a nuclear plant; and the temperature distribution in a prismatic cell battery.

Fig. 1 – Visualizations created by EAVP and shown embedded in ICE’s workbench. Clockwise from upper left: a mock LWR fuel assembly; phonon scattering data from nuclear scattering experiments; a model of single-loop cooling configuration in a nuclear plant; and the temperature distribution in a prismatic cell battery.

Fig. 2. - A screenshot showing the workbench of ICE with 3D visualizations from EAVP for pre- and post-processing in thermomechanical simulations of binder jet-printed cantilevers for additive manufacturing.

Fig. 2. – A screenshot showing the workbench of ICE with 3D visualizations from EAVP for pre- and post-processing in thermomechanical simulations of binder jet-printed cantilevers for additive manufacturing.

Then, about a year ago, we realized that ICE was more versatile than we originally thought, so we began to create individual projects out of its individual parts. The first pieces removed from ICE were its extensive visualization tools, which became the initial contribution for the Eclipse Advanced Visualization Platform, (EAVP). EAVP makes it easy to view many different types of data by plugging into common high-performance visualization tools like VisIt and Paraview. It also provides support for plotting, 3D geometry editing, and a limited amount of 2D mesh editing.

Design and implementation

ICE is designed around the idea that each task performed by a computational scientist – creating an input file, launching a job, post-processing data, etc. – can be done equally as well through automation if the program has the required data and knows the instructions necessary to perform the task. While this may seem broad, it works remarkably well for the common tasks associated with M&S.

For example, writing an input file is more about knowing what information should go in the file than how it should be written. Likewise, launching a massively parallel job is more about knowing what should be launched than the details of how to execute it. Each “intelligent delegate” in ICE is an Eclipse Plugin that inherits from an Item base class and provides a normal, pluggable OSGi service. In the ICE parlance, plugin and Item are used interchangeably most of the time.

ICE generates custom UI elements for these workflow tasks and embeds EAVP in those UI elements as required. This embedding is accomplished through both OSGI Declarative Services and Extension Points; each distinct visualization tool provided by EAVP is registered as an implementation of one of several service interfaces.

This makes it possible to access all the visualization services in a uniform way, regardless of their implementation. Some EAVP visualization services, such as those for VisIt and Paraview, can be used either locally or remotely to accommodate different needs, including remote rendering on clusters.

Availability, contributions, and getting in touch

Eclipse ICE is available at its homepage, https://www.eclipse.org/ice. Version 2.2 was released on October 21st as part of the Science Working Group 2016 Simultaneous Release. The project is currently under active development by teams at Oak Ridge National Laboratory and other institutions and is open to contributions from other organizations.

EAVP is also available at its homepage as a p2 repository, https://www.eclipse.org/eavp. It was also part of the Science release, although it is still in early development and lacks its own workbench. Users who want to experiment with EAVP immediately instead of embedding it in their workbenches are encouraged to download ICE.

Both projects welcome contributions in any form from the community (so long as they follow the Eclipse Contribution process if it applies). Interested parties can reach out on project mailing lists.

Mailing lists

ICE has two mailing lists, one for users and another for developers:

Developershttps://dev.eclipse.org/mailman/listinfo/ice-dev
Usershttps://dev.eclipse.org/mailman/listinfo/ice-users

EAVP mailing list: https://dev.eclipse.org/mailman/listinfo/eavp-dev

For those who are not partial to the email lists, an email to [email protected] will suffice.

Source code

You can find the source code for these projects on GitHub. Bug tracking for each is available in the “Issues” tab of the individual GitHub projects.

ICEhttps://github.com/eclipse/ice
EAVPhttps://github.com/eclipse/eavp

Questions?

Other questions and comments can be directed to @jayjaybillings on Twitter or by email to [email protected].

Acknowledgements

I gratefully acknowledge the support of our sponsors in the U.S. Department of Energy, Office of Nuclear Energy, Advanced Modeling and Simulation (NEAMS); the Department of Energy, Office of Energy Efficiency and Renewable Energy, Computer-Aided Engineering for Batteries (CAEBAT) project; the Consortium for Advanced Simulation of Light Water Reactors (CASL); and the Oak Ridge National Laboratory Director’s Research and Development Fund. I would also like to acknowledge the support of my colleagues at ORNL on the Scientific Software Development Team and everyone else who has contributed to ICE and EAVP from other institutions.

eclipseorb_color

This post was originally published in the November 2016 issue of the Eclipse Newsletter: Eclipse Loves Science

For more information and articles check out the Eclipse Newsletter.

Author
Jay Jay Billings
I am a member of the research staff in the Computer Science Research Group at the Oak Ridge National Laboratory in Oak Ridge, TN. I have the privilege of leading the Scientific Software Initiative, which focuses on the development of large-scale, next-generation modeling and simulation technologies for the U.S. Department of Energy and other sponsors. I am a founding member of the Eclipse Science Working group as well as Oak Ridge National Laboratory’s representative on its steering committee. I hold the M.S. in theoretical astrophysics from the University of Tennessee and I am currently an Energy Science and Engineering Ph.D. candidate in the University’s Bredesen Center for Interdisciplinary Research and Graduate Education. I stopped counting the number of scientific publications I have a few years ago when I realized that I was writing way more code than papers!

guest
0 Comments
Inline Feedbacks
View all comments