<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://sblisesivdin.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://sblisesivdin.github.io/" rel="alternate" type="text/html" hreflang="en" /><updated>2026-11-27T14:01:41+00:00</updated><id>https://sblisesivdin.github.io/feed.xml</id><title type="html">Sefer Bora Lisesivdin</title><subtitle>Professor of Physics, PhD, SMIEEE</subtitle><author><name>Sefer Bora Lisesivdin</name></author><entry><title type="html">What is Nanoworks?</title><link href="https://sblisesivdin.github.io/blog/what-is-nanoworks/" rel="alternate" type="text/html" title="What is Nanoworks?" /><published>2026-11-27T13:50:00+00:00</published><updated>2026-11-27T13:50:00+00:00</updated><id>https://sblisesivdin.github.io/blog/what-is-nanoworks</id><content type="html" xml:base="https://sblisesivdin.github.io/blog/what-is-nanoworks/"><![CDATA[<p>A materials calculation rarely ends with a single run. Starting from a crystal structure, we may need to relax the geometry, examine the electronic states, and prepare figures for interpretation. Each step depends on choices and files carried over from the previous one.</p>

<p>Much of the work between these stages is routine: preparing inputs, passing results to the next calculation, extracting numerical data, and plotting it. Those tasks still need to be handled carefully, even when the scientific question changes only slightly.</p>

<p><strong>Nanoworks reduces the input preparation, workflow scripting, and post-processing needed to carry out supported materials calculations.</strong> A structure file and a compact parameter file describe the requested work. Nanoworks translates those settings into the selected engine’s inputs, coordinates the calculation stages, and prepares numerical results and figures.</p>

<p>That is the practical reason I develop it: to spend less effort rebuilding the machinery around a calculation and more time examining the material.</p>

<h2 id="where-nanoworks-fits">Where Nanoworks fits</h2>

<p>Nanoworks is an open-source command-line toolkit for density functional theory (DFT), molecular dynamics, and calculations using machine-learning interatomic potentials.</p>

<p>For electronic-structure calculations, Nanoworks uses GPAW, with Quantum ESPRESSO support available in the latest development version. <strong>Quantum ESPRESSO support is not yet included in the stable release.</strong> These programs perform the underlying calculations. Nanoworks manages supported workflows around them, including preparing inputs and connecting calculation stages.</p>

<p>Its value becomes clearer when considering a sequence of related calculations. A researcher studying several atomic configurations can reuse the workflow and adjust the structure and relevant parameters. The routine handling of inputs and outputs follows the same pattern, making the calculations easier to organise and compare.</p>

<p>The project grew out of <strong>gpaw-tools</strong>, which began with ASE and GPAW. Its scope gradually expanded to include other engines and methods. The Nanoworks name accompanies that broader scope, while the central motivation remains practical: make a calculation easier to set up, follow, and revisit.</p>

<h2 id="a-calculation-in-practice">A calculation in practice</h2>

<p>The basic interaction starts with two files: a structure and a set of calculation parameters.</p>

<p>For example, the following short <code class="language-plaintext highlighter-rouge">input.py</code> requests several calculations together using the Quantum ESPRESSO support in the latest development version:</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">Engine</span> <span class="o">=</span> <span class="s">'QE'</span>
<span class="n">XC_calc</span> <span class="o">=</span> <span class="s">'PBE'</span>

<span class="n">Geo_optim</span> <span class="o">=</span> <span class="bp">True</span>
<span class="n">Ground_calc</span> <span class="o">=</span> <span class="bp">True</span>
<span class="n">DOS_calc</span> <span class="o">=</span> <span class="bp">True</span>
<span class="n">Band_calc</span> <span class="o">=</span> <span class="bp">True</span>
<span class="n">Density_calc</span> <span class="o">=</span> <span class="bp">True</span>
</code></pre></div></div>

<p>These lines request geometry optimisation, an electronic ground-state calculation, the density of states, the band structure, and electron-density output. The requests share one parameter file; Nanoworks prepares the engine inputs needed for the individual stages.</p>

<p>With the required software and pseudopotentials installed, the workflow can be started with:</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">dftsolve</span> <span class="o">-</span><span class="n">i</span> <span class="nb">input</span><span class="p">.</span><span class="n">py</span> <span class="o">-</span><span class="n">g</span> <span class="n">silicon</span><span class="p">.</span><span class="n">cif</span>
</code></pre></div></div>

<p>Here, <code class="language-plaintext highlighter-rouge">silicon.cif</code> describes the atomic structure and simulation cell. The calculation engine, functional, and requested tasks are specified in <code class="language-plaintext highlighter-rouge">input.py</code>.</p>

<p>This is the convenience I want the example to convey: a researcher can describe a sequence of calculations in a few lines and run it with one command. The routine connections between stages are handled by Nanoworks.</p>

<p>Numerical settings omitted from this short example use Nanoworks defaults. For quantitative work, the plane-wave cutoff, k-point sampling, and convergence tolerances still need to be checked for the chosen system. A compact input makes the workflow easier to express; the physical model and numerical accuracy remain scientific decisions.</p>

<h2 id="why-a-command-line-tool">Why a command-line tool?</h2>

<p>I have deliberately kept the command line at the centre of Nanoworks.</p>

<p>In research, a calculation often needs to be repeated with a small change: a denser k-point mesh, a different atomic configuration, or another value of strain. Text-based inputs make these changes visible. They can be compared, kept under version control, and included with the files accompanying a publication.</p>

<p>A command-line interface also fits naturally into shell scripts and computing-cluster workflows. The same basic way of requesting a calculation remains useful as the work grows from one structure to a series of related systems.</p>

<p>I value being able to open a parameter file and see what was requested. A figure is much more useful when I can trace it back to the structure, settings, and calculation that produced it.</p>

<h2 id="more-than-electronic-structure">More than electronic structure</h2>

<p>DFT is an important part of Nanoworks, but its scope also includes molecular dynamics through <code class="language-plaintext highlighter-rouge">mdsolve</code> and calculations with machine-learning potentials through <code class="language-plaintext highlighter-rouge">mlsolve</code>.</p>

<p>These methods address different questions and have different assumptions. A molecular-dynamics trajectory, a DFT band structure, and a relaxation using a machine-learning potential each require their own checks. Bringing them into the same toolkit provides a familiar way to organise the work while retaining those distinctions.</p>

<p>For me, this is the useful direction for Nanoworks: reusable calculation workflows, explicit inputs, and results that can be examined and revisited as the scientific questions develop.</p>

<p>If you would like to try it, the <a href="https://nanoworks.readthedocs.io/">documentation</a> contains installation instructions and worked examples. When following an example, check whether you are reading the stable documentation or the latest development documentation. The <a href="https://github.com/sblisesivdin/nanoworks">source repository</a> provides the code and a place to discuss problems or suggest improvements.</p>]]></content><author><name>Sefer Bora Lisesivdin</name></author><category term="nanoworks" /><category term="dft" /><category term="md" /><category term="ml" /><category term="python" /><summary type="html"><![CDATA[An introduction to Nanoworks: what it does, how it fits into materials simulation workflows, and why I chose a command-line approach.]]></summary></entry></feed>