In this quick tutorial, you will learn how to easily generate nanotube models within SAMSON.
If you need help with installing new SAMSON Elements to your SAMSON installation, please visit User guide: Adding Elements from SAMSON Connect. If you need help with installing SAMSON itself, please visit User guide: Installing SAMSON.
Note: you can check whether you have this SAMSON Element in at least three different ways:
- In the Edit / Editors menu of SAMSON
- In the Edit / Preferences / Installation / Updates list in SAMSON
- Under My SAMSON / My Elements when you are signed in at SAMSON Connect
In SAMSON, only one editor is active at any time, so that you first have to activate the nanotube creator. You can do this with the Edit / Editors / Nanotube creator menu, or with the corresponding icon in the Editors toolbar:
Note that SAMSON builds its interface from the SAMSON Elements you add from SAMSON Connect, so your Editors toolbar may look different from the image above.
Building nanotubes models
You have two main ways to create nanotubes: interactively in the viewport (with the mouse), and with the nanotube creator GUI (graphical user interface).
Interactive nanotubes models building
You can interactively build nanotubes in the viewport in two steps:
- Set the nanotube axis: press and drag the left mouse button inside the viewport:
During this step, the status bar gives you some information about the current structure, e.g.:
- set the nanotube n and m parameters: a) release the left mouse button, b) move the mouse to change n and m, c) click the left mouse button again to accept:
Make sure you check the status bar during this step as well to precisely choose the n and m parameters.
Building nanotubes from the GUI
If you want to precisely control the axis position, the best option might be to directly enter parameters from the editor GUI.
To show the editor GUI (if it is not already visible), click a second time on the editor icon (or select it again from the menu). You should see the following:
Note: selecting an editor alternatively shows and hides its GUI.
Using the GUI, you may easily create multi-walled nanotubes. For example, try (0, 0, 0) and (40, 0, 0) for the beginning and end positions of the nanotubes axes, respectively, to produce a 40-Angstrom-long nanotube. Then:
- Set n and m to 6. Press “Generate”.
- Set n and m to 10. Press “Generate”.
- Set n and m to 14. Press “Generate”.
This will produce the multi-walled nanotube below:
To go further
Now that you know how to produce nanotubes models, you may want to produce images of them for publications, or interactively simulate nanotubes with the Brenner potential to build more complex objects.
Have fun, and don’t hesitate to comment below or use the SAMSON forum if you have any questions!