Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/cnttPublic

CNTT, also spelled C-entity, is an acronym for Carbon Nano Tube Tool. It's a tool for computing, displaying and manipulating properties of carbon nanotubes.

License

NotificationsYou must be signed in to change notification settings

t3n0/cntt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Release DateGitHub release (latest by date)GitHub all releasesLicense: GPL v3

logo-wide

CNTT, also spelledC-entity, is an utility to compute, display and manipulate electronic and optical properties of single-walled carbon nanotubes (SWCNTs). CNTT is an acronym forCarbon NanoTube Tool.

At the current state of developement, this tool is capable of computing the electronic and excitonic band structure of SWCNTs, along with the electron and exciton Density of States (DOS). This is done in a very efficient way by exploiting thehelical symmetry of SWCNTs. Results are then displayed in helical coordinates. In this way, most of the optical properties of SWCNTs become apparent by simply inspecting thehelical bandstructure.

Installation

Simply download.zip file, extract it at your favourite location and run

pip install .

This will install the system-wide commandcntt and the python packagecntt.

DFT capabilities

Since version v0.3, Density Function Theory (DFT) capabilities are included in CNTT.These are outsourced toQuantum Espresso which must be available in the local PATH.To download and install QE please refer to theofficial QE documentation.

Usage (1): command line

For a basic usage of the tool, simply type in the terminal

cntt 4 2

This will display:

  • the linear and helical band structure of a(4,2) single-walled carbon nanotube,
  • the (singlet, bright and dark) exciton energy dispersions,
  • electron and exciton DOS,
  • and the most important physical parameters, unit cells and Brillouin zones.

Also, typingcntt -h provide a help dialoge for advanced usage.

Usage (2): package

From a pyhton interpreter, import the baseSwcnt class. For a basic usage, just copy the following snippet:

from cntt.swcnt import Swcntmycnt = Swcnt(4,2)mycnt.calculateCuttingLines()# tight-binding calculation with onsite energy 3.0eV and Fermi level at 0.0eVmycnt.calculateElectronBands('TB', 'TB',  sym = 'lin', gamma = 3.0, fermi = 0.0)mycnt.calculateElectronBands('TB', 'TB0', sym = 'hel', gamma = 3.0, fermi = 0.0)# same as above, but with different fermi levelmycnt.calculateElectronBands('TB', 'TB1', sym = 'hel', gamma = 3.0, fermi = 1.5)mycnt.calculateKpointValleys()# excitons generated by the two different underlying electron structuresmycnt.calculateExcitonBands('EM','TB0', deltaK = 10, bindEnergy = 0.2)mycnt.calculateExcitonBands('EM','TB1', deltaK = 10, bindEnergy = 0.1)mycnt.calculateDOS('electron')mycnt.calculateDOS('exciton')mycnt.plot()

The above code produces the following plot

cnt(4,2)fermi

Examples and tutorials

CNTT provides a number of functionalities to compute, manipulate and visualise SWCNTs properties.The following links are simple jupyter notebooks that explain the core capabilities of CNTT:

  • basic usage: zone-filding TB, linear and helical BZs.
  • simple dft: coarse k-grid DFT, comparison with the TB model.
  • finer dft: restart a previous DFT calculation on a finer k-grid.

Support

For any problems, questions or suggestions, please contact me attenobaldi@gmail.com.

Roadmap

Currently, this project provides:

  • plotting the unit cells in three different configurations (the cnt supercell N-atom flake, the linear 2-atom cell and the helical 2-atom cell);
  • visualizing the corresponding graphene-like Brillouin zones;
  • computing and displaying the carbon nanotube band structure from the tight-binding zone-folding approximation;
  • DFT calculation of electronic bands (outsourced byQuantum Espresso);
  • computing and displaying the dispersion relation of bright and dark singlet excitons;
  • computing and displaying the DOS of electron and excitons;
  • simultaneous band plotting for comparison;
  • basic doping capabilities (fermi level and binding energy can be tuned and will influence the exciton dispersion);

Future developments will include:

  • joint density of states (JDOS);
  • improved tight-binding methods;
  • phonon calculations;
  • output of the 3D carbon atoms coordinates;
  • exciton absorption spectrum;
  • optical matrix elements;

Authors and acknowledgment

The development of CNTT is proudly powered byme.Also, please consider citing the relevant literature if you are going to use this tool:

The DFT capabilities of CNTT are provided byQuantum Espresso.QE is licensed under GPL3 and citation guidelines can be foundhere andhere.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, seehttps://www.gnu.org/licenses/.

About

CNTT, also spelled C-entity, is an acronym for Carbon Nano Tube Tool. It's a tool for computing, displaying and manipulating properties of carbon nanotubes.

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp