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.
1-7
Beg, Marijan
5c7cc1ff-f244-471f-b964-9f24e0628153
Pepper, Ryan
82ef34fc-7e93-4f98-8f85-ff0e5113ed17
Fangohr, Hans
9b7cfab9-d5dc-45dc-947c-2eba5c81a160
February 2017
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), , [056025].
(doi:10.1063/1.4977225).
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.
Text
1
- Version of Record
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
Catalogue record
Date deposited: 24 Nov 2016 11:41
Last modified: 16 Mar 2024 03:09
Export record
Altmetrics
Contributors
Author:
Marijan Beg
Author:
Ryan Pepper
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