The University of Southampton
University of Southampton Institutional Repository

User interfaces for computational science: a domain specific language for OOMMF embedded in Python

User interfaces for computational science: a domain specific language for OOMMF embedded in Python
User interfaces for computational science: a domain specific language for OOMMF embedded in Python
Computer simulations are used widely across the engineering and science disciplines, including in the research and development of magnetic devices using computational micromagnetics. In this work, we identify and review different approaches to configuring simulation runs: (i) the re-compilation of source code, (ii) the use of configuration files, (iii) the graphical user interface, and (iv) embedding the simulation specification in an existing programming language to express the computational problem. We identify the advantages and disadvantages of different approaches and discuss their implications on effectiveness and reproducibility of computational studies and results. Following on from this, we design and describe a domain specific language for micromagnetics that is embedded in the Python language, and allows users to define the micromagnetic simulations they want to carry out in a flexible way. We have implemented this micromagnetic simulation description language together with a computational backend that executes the simulation task using the Object Oriented MicroMagnetic Framework (OOMMF). We illustrate the use of this Python interface for OOMMF by solving the micromagnetic standard problem 4. All the code is publicly available and is open source.
2158-3226
1-7
Beg, Marijan
5c7cc1ff-f244-471f-b964-9f24e0628153
Pepper, Ryan
82ef34fc-7e93-4f98-8f85-ff0e5113ed17
Fangohr, Hans
9b7cfab9-d5dc-45dc-947c-2eba5c81a160
Beg, Marijan
5c7cc1ff-f244-471f-b964-9f24e0628153
Pepper, Ryan
82ef34fc-7e93-4f98-8f85-ff0e5113ed17
Fangohr, Hans
9b7cfab9-d5dc-45dc-947c-2eba5c81a160

Beg, Marijan, Pepper, Ryan and Fangohr, Hans (2017) User interfaces for computational science: a domain specific language for OOMMF embedded in Python. AIP Advances, 7 (5), 1-7, [056025]. (doi:10.1063/1.4977225).

Record type: Article

Abstract

Computer simulations are used widely across the engineering and science disciplines, including in the research and development of magnetic devices using computational micromagnetics. In this work, we identify and review different approaches to configuring simulation runs: (i) the re-compilation of source code, (ii) the use of configuration files, (iii) the graphical user interface, and (iv) embedding the simulation specification in an existing programming language to express the computational problem. We identify the advantages and disadvantages of different approaches and discuss their implications on effectiveness and reproducibility of computational studies and results. Following on from this, we design and describe a domain specific language for micromagnetics that is embedded in the Python language, and allows users to define the micromagnetic simulations they want to carry out in a flexible way. We have implemented this micromagnetic simulation description language together with a computational backend that executes the simulation task using the Object Oriented MicroMagnetic Framework (OOMMF). We illustrate the use of this Python interface for OOMMF by solving the micromagnetic standard problem 4. All the code is publicly available and is open source.

Text
paper.pdf - Accepted Manuscript
Available under License Other.
Download (343kB)
Text
1 - Version of Record
Available under License Creative Commons Attribution.
Download (509kB)

More information

Accepted/In Press date: 17 November 2016
e-pub ahead of print date: 22 February 2017
Published date: February 2017
Organisations: Computational Engineering & Design Group

Identifiers

Local EPrints ID: 403115
URI: http://eprints.soton.ac.uk/id/eprint/403115
ISSN: 2158-3226
PURE UUID: b47199d2-a106-4825-a05c-01f4830d6fe3
ORCID for Marijan Beg: ORCID iD orcid.org/0000-0002-6670-3994
ORCID for Hans Fangohr: ORCID iD orcid.org/0000-0001-5494-7193

Catalogue record

Date deposited: 24 Nov 2016 11:41
Last modified: 16 Mar 2024 03:09

Export record

Altmetrics

Contributors

Author: Marijan Beg ORCID iD
Author: Ryan Pepper
Author: Hans Fangohr ORCID iD

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×