Script to modify the density, size and properties of nanoparticles in a 3D OLED system

structuregroup
script

#1

I’m having trouble creating a script to structure group 3D spheres with a constant radius and constant distance apart. I want the spheres to be .05 microns in radius, 60 particles by 60 particles, particles spaced .5 microns apart from their centers. Does anyone have experience with this that can help?


#2

What you have here is a rectangular lattice so you can create this very easily by using the “Rectangular lattice PC array” structure group available in the FDTD object library. The original structure group contains cylinders but you can easily change the script to use spheres instead (see screenshot below).