QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: Ehsan on November 8, 2013, 20:20

Title: build a helically coiled carbon nanotube
Post by: Ehsan on November 8, 2013, 20:20
hello;
is there any way to build a helically coiled carbon nanotube or a nanotorus?

i attached two pictures that show these structures.
Title: Re: build a helically coiled carbon nanotube
Post by: Anders Blom on November 11, 2013, 11:00
You could in principle use "Transform by Expression" to map the axial nanotube coordinate onto the helical path. Some care needs to be taken in the transverse directions though.
Title: Re: build a helically coiled carbon nanotube
Post by: Ehsan on November 11, 2013, 18:47
thank you dear Dr Blom

we know a helical path is sth like :
x = sin(t)
y = cos(t)
z = t
so if i want to replace this equation on "Transform by Expression" as long as i can't define a parameter "t", how would be that?
Title: Re: build a helically coiled carbon nanotube
Post by: Anders Blom on November 11, 2013, 22:13
It's not quite that easy, I discovered. However, it was very easy to modify the TubeWrapper plugin to add this feature. I have attached an updated version. Try this:


Title: Re: build a helically coiled carbon nanotube
Post by: Ehsan on November 12, 2013, 16:48
thank you, it's exactly what i want, but would u let me know how can i update the TubeWrapper? i tried to copy and paste the attached folder to AddOns forlder of ATK, but it didn't work.
Title: Re: build a helically coiled carbon nanotube
Post by: Anders Blom on November 12, 2013, 16:52
You must normally restart VNL when you update or add an AddOn. Instead of copying the folder you can also uninstall the existing TubeWrapper and the choose "Local install" to install the ZIP file. You still have to restart VNL though.