원시데이터 수집 시스템
선정목록으로

GSvit — An open source FDTD solver for realistic nanoscale optics simulations

간접 관련 필름·전자재료 · (13) 프리즘 필름 (11) 배리어 필름(15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Petr Klapetek — CEITEC BUT, Purkyňova 123, 612 00 Brno, Czech Republic|||Czech Metrology Institute, Okružní 31, 638 00 Brno, Czech Republic
  2. Petr Grolich — Czech Metrology Institute, Okružní 31, 638 00 Brno, Czech Republic
  3. David Nezval — CEITEC BUT, Purkyňova 123, 612 00 Brno, Czech Republic|||Czech Metrology Institute, Okružní 31, 638 00 Brno, Czech Republic
  4. Miroslav Valtr — CEITEC BUT, Purkyňova 123, 612 00 Brno, Czech Republic|||Czech Metrology Institute, Okružní 31, 638 00 Brno, Czech Republic
  5. Radek Šlesinger — Czech Metrology Institute, Okružní 31, 638 00 Brno, Czech Republic
  6. David Nečas — RG Plasma Technologies, CEITEC, Masaryk University, Kamenice 5, 625 00 Brno, Czech Republic|||CEITEC BUT, Purkyňova 123, 612 00 Brno, Czech Republic
DOI
10.1016/j.cpc.2021.108025
저널
Computer Physics Communications
발행년도
2021
발행기관
Elsevier BV
피인용수
3
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.cpc.2021.108025
토픽
Optical Coatings and Gratings
OpenAlex ID
W3157197727

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
(11) 배리어 필름, (15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
FDTD solver, nanoscale optics simulations, surface roughness, electromagnetic field calculations, optical response
판단 근거
나노 스케일의 표면 거칠기와 불완전성이 광학적 특성에 미치는 영향을 시뮬레이션하는 FDTD 소프트웨어에 관한 연구입니다.
R&D 활용 포인트
프리즘 필름의 미세 구조 형성이나 디스플레이용 투명 필름(CPI)의 표면 거칠기에 따른 광학적 성능 변화를 예측하고 설계하는 시뮬레이션 도구로 활용 가능합니다.
평가 입력
초록 2,024자

초록

Surface and volume imperfections can significantly affect the performance of nanoscale or microscale devices used in photonics, optoelectronics or scientific instrumentation. In this article we present an open source software package for Finite-Difference Time-Domain electromagnetic field calculations suitable for calculations on graphics cards. Its special features include handling realistic models of imperfect nanoscale objects, such as treatment of arbitrary geometries including addition of random roughness to any geometrical object. The method is compared to conventional optical approach represented by Rayleigh-Rice theory. Practical applicability is demonstrated using a calculation of variation of field enhancement at proximity of a rough nanoscale antenna and rough particle scattering. It is shown that such approach can be namely useful in the areas where many repeated calculations are necessary, e.g. when studying how the optical response of nanoscale objects can vary when they are rough. Program Title: GSvit CPC Library link to program files: https://doi.org/10.17632/k424zbsxnk.1 Licensing provisions: GPLv2 Programming language: C Nature of problem: If we want to analyse impact of random imperfections, in particular surface roughness, on optical response of nanoscale and microscale objects, we need to run many calculations with different random realisations. GSvit is a general electromagnetic field solver optimized for running such calculations, via fast computing on graphics cards and algorithms for loading of arbitrary data and modification of their geometry to construct randomly rough surfaces and interfaces. Solution method: Finite-Difference Time-Domain method implemented on computer processor and on graphics card, with advanced pre-processing in order to add realistic roughness to 3D objects. Additional comments including restrictions and unusual features: The current version of software, including the documentation and downloadable examples can be found on http://gsvit.net/.

본문 49,183자

본문 펼치기
Surface and volume imperfections can significantly affect the performance of nanoscale or microscale devices used in photonics, optoelectronics or scientific instrumentation.In this article we present an open source software package for Finite-Difference Time-Domain electromagnetic field calculations suitable for calculations on graphics cards.Its special features include handling realistic models of imperfect nanoscale objects, such as treatment of arbitrary geometries including addition of random roughness to any geometrical object.The method is compared to conventional optical approach represented by Rayleigh-Rice theory.Practical applicability is demonstrated using a calculation of variation of field enhancement at proximity of a rough nanoscale antenna and rough particle scattering.It is shown that such approach can be namely useful in the areas where many repeated calculations are necessary, e.g. when studying how the optical response of nanoscale objects can vary when they are rough. Introduction Phenomena related to interaction of light with artificially formed micro-and nanostructures are related to many scientific ✩ The review of this paper was arranged by Prof. Stephan Fritzsche.✩✩ This paper and its associated computer program are available via the Computer performance.This can be rarely done analytically and a numerical solution capable of incorporating imperfections is therefore needed. Introduction In order to treat the interaction of electromagnetic field with structures similar to its wavelength, we need to utilise fully its wave nature in order to incorporate all the scattering, diffraction and interference processes.Several techniques can handle this problem and are used for nanoscale optical calculations, for example Direct Moment Method [1], Green's tensor technique [2], or Reciprocal-space Perturbative Method [3].Each approach has its strengths and weaknesses and is best suited for particular types of problems.Here we present a Finite-Difference Time-Domain based approach (FDTD) [4]. Introduction FDTD is a well-established computational method and is already widely used in the field of nanoscale optics.It is capable of solving nearly arbitrary problems in electromagnetics, at least in principle.Its main drawback is the requirement of a fine spatial grid (compared to the wavelength), which limits applicability to conventional optical phenomena (e.g. with visible wavelength and millimetre or centimetre size optical elements) because it then leads to excessive computational demands.However, the natural range of scales in nanoscale and microscale optics is favourable for FDTD.Hence, it is becoming a common technique for calculations in plasmonics [5,6], optoelectronics [7], microscopy [8][9][10][11] and similar areas.Many computational tools already available for nanoscale optics calculations, both commercial and open source [12], employ FDTD. Introduction FDTD calculations presented in scientific literature are frequently based on simple geometrical models [6,9,13] which are not capable of treating realistic material imperfections, such as nonideal geometries, surface roughness, or various inhomogeneities.One possible reason may be that setting up complex models involving deviation from ideal geometries is time-consuming and that more detailed models in FDTD still require significant computational time, as a dense space discretisation needs to be used and all the algorithms related to FDTD then become prohibitively slow. Introduction Of all the possible imperfections, we concentrate on surface roughness as this error source is frequently present in many nanoscale and microscale systems.All manufacturing processes result in some surface roughness, which can be controlled only to some extent.Usually roughness only decreases device performance, but in a few specific cases it can also be helpful, for instance with hot spots in tip-enhanced Raman spectroscopy [14] or in surface-enhanced Raman spectroscopy [15]. Introduction In this article we present algorithms developed for including the random roughness easier in the framework of FDTD.For statistical analysis we namely need methods generating rough nanoobjects with known statistical properties in the computational domain, and a FDTD solver fast enough to run many calculations with different realisations of the rough object.On the basis of our proof-of-concept studies [16,17] we have developed the open source GSvit solver [18], focusing on topics that we found missing or inadequate in other software packages: Introduction 1. Graphics card computing support for calculation speedup.2. Treatment of realistic geometries determined experimentally, e.g.loading data like surface topography or form from different measuring instruments.3. Capability to create objects with realistic roughness, or alter surface properties of loaded objects, running multiple calculations for different random seeds. Introduction The performance of data modification algorithms is validated by comparison to classical optical theory, and its practical applicability is demonstrated on calculation of local field enhancement at proximity of a rough single rod metallic nanoantenna and on scattering by a rough sphere.Although this work focuses on distinctive functions of GSvit, it has to be noted that it is an universal computational package which can also deal with typical tasks in computational electromagnetics, similarly to the other FDTD packages. FDTD basics The Finite-Difference Time-Domain method is a widely used method for complete numerical solution of Maxwell equations in discretized space.For a linear, isotropic, non-dispersive and possibly lossy material the Maxwell equations describing the time evolution of electric and magnetic field intensity vectors E and H can be written in the following form FDTD basics where μ is the magnetic permeability, ε is the electrical permittivity, σ is the electric conductivity, σ * is the equivalent magnetic loss, and M and J are the magnetic and electric source current densities.These equations provide the basis of the FDTD method, calculating electric and magnetic field intensities in a staggered grid (E and H are shifted by a half of the grid spacing). FDTD basics Using a dense discretisation (at least λ/10 where λ is the wavelength of the incident light) and directly solving the electric and magnetic field in a leap-frog scheme leads to a stable algorithm suitable for many problems in physics and engineering.Combined with the many related additional algorithms that have been developed in the last fifty years, FDTD can be used for nearly any material.If treated carefully, it can be accurate down to 1% in the area of nanoplasmonics as reported in Ref. [19].Its main disadvantages are the necessity of a dense discretisation and complicated handling of smooth boundaries with an arbitrary orientation (staircasing effect).On the other hand, due to its simple formulation it can be easily implemented.Furthermore, it results, such as electromagnetic field distribution in the simulation domain, can be readily interpreted.It is also highly parallelisable as it consists of relatively simple equations repeatedly solved in all grid points, which is also the reason why it is convenient for graphics card (GPU) computing [16,17,20,21]. Structure of the program The package consists of two main executables, GSvit and XSvit.GSvit is the backend numerical solver, which can be run as a command line program.It is written in C and optionally uses graphics cards based on the Nvidia CUDA computing interface.XSvit is the graphical interface and also serves as a parameter file editor, either via visual definition of the model or direct editing of the parameter file.XSvit can be used for creating or altering the parameter files, running the numerical solver and running Gwyddion [33] which serves as the viewer for most of the results.It is written in C, with Gtk+ graphical toolkit. Structure of the program Apart from the basic FDTD computational approach known as Yee's algorithm [22], which is used for electromagnetic field propagation, the software implements also the following extensions: Structure of the program • Point and dipole sources, total/scattered field (TSF) and pure scattered field (SF) source formulations, including sources in an infinitely extending layered medium [23] and focused sources based on the plane wave decomposition [24]. Structure of the program • Periodic boundary conditions, simple second order boundary conditions [25] and convolutional perfectly matched layer boundary (CPML) conditions [4]. Structure of the program • Near-field-to-far-field (NFFF) transform using the time domain approach [28] and field teleportation [27] for crossing empty spaces. Structure of the program • Staircasing reduction via effective medium and local subgridding [26]. Structure of the program • Dispersive media treatment using the piecewise linear recursive convolution (PLRC) approach and auxiliary differential equations (ADE) approach [4]. Structure of the program Full details about functionality of different FDTD extensions and their relation to the basic Yee's algorithm can be also found in the literature, e.g. the monograph [4]. Parameter and media files The command line part, GSvit, is controlled by a parameter file passed as the only command line argument.It is a plain text file defining all the aspects of the computation as a sequence of twoline directives.The first line always consists of a keyword defining the directive type, the second depends on the keyword and specifies the values.As an example consider the following text file: It provides all the basics for running a simulation on an artificially modified sphere as discussed in section 4.5.POOL specifies the computational domain of 200×200×200 voxels with voxel spacing of 10 nm (10 −8 m) and COMP runs 1000 steps of the Yee's algorithm to propagate the planar electromagnetic wave, injected via Total/Scattered field source boundary condition defined by SOURCE_TSF.This wave interacts with an object described by the material file given by MEDIUM_VECTOR and modified with MEDIUM_SPECTRAL modifier by adding roughness with 5 voxels RMS, 20 voxels correlation length and using 42 as the random seed.The output, given by OUT_IMAGE, will consist of electric field E y images taken in the yz plane with x = 100 voxels.First 150 steps will not be saved. Parameter and media files The only missing piece is the object the light wave interacts with.A germanium sphere with radius of 40 voxels centred in the domain at (100, 100, 100) can be defined by a single-line material_file.txt 4 100 100 100 40 99 Ge Parameter and media files In practice multiple outputs are usually set, absorbing boundary conditions are added by BOUNDARY_ALL and a near-field to farfield transform (requested by a NFFF directive) is used to get the far-field response of the optical system.The full documentation of parameter files is provided on the project pages [18], alongside with many examples how to run different calculations, including complete examples of object boundary modification using methods presented in section 3.2. GPU calculations By default, all the algorithms are executed on the main processor (CPU), using double precision arithmetic with parallelisation handled by OpenMP [29].Optionally, some algorithms can be run on the GPU instead of the CPU, based on the use of NVIDIA CUDA tools [30].GPU can be utilised in two different ways: GPU calculations 1.At each step (i.e.Yee step) all the data are synchronized back to the CPU to perform operations with higher precision arithmetic, output results, run external sources, or simply to save graphics card memory (allocating only data necessary for each kernel call).This approach typically leads to a three-to sixtimes speedup compared to pure CPU execution, namely due to limited bandwidth of data transfer between the main memory and graphics card memory.2. All the computations are performed on the GPU and the data are synchronised only for outputs (i.e.not every step).Time values of NFFF data are produced at the end of the computation.This can lead to more than seventy-times speedup as shown below even for quite a straightforward FDTD implementation on the GPU. GPU calculations For GPU kernel implementations and for nearly all the algorithms, a one-to-one correspondence between GPU threads and computational space points is preserved.The basic data structures are stored in the GPU global memory.Each thread takes the neighbour values (or whichever are necessary for the computation), and after the computation it updates the value in the global memory.On one hand, this approach does not utilise the device memory optimally as shared memory is not used at all.On the other hand, it avoids code variants for different memory accesses, keeping the code simple-while still providing a significant speedup as discussed below. GPU calculations In some cases, for instance NFFF computations, it is not possible to establish a one-to-one correspondence between GPU threads and computational space points as this could lead to memory access conflicts in the accumulators, where the integration of surface currents over the NFFF boundary is being performed.A set of auxiliary accumulators was used in this case to split the integration between more GPU kernels without accessing the same global memory. Data input The basic way to define the material distribution in the FDTD computational domain is to add solid geometrical shapes-such as boxes, spheres or cylinders-with given material properties.By means of Constructive Solid Geometry, i.e. using unions and intersections of these basic entities, even quite complicated structures can be created. Data input Even more general structures can be defined as tetrahedral meshes, as produced for example by Tetgen [31] from input created in a 3D modeller such as Blender [32].The data can also be entered as a voxel-by-voxel array of material properties in the .vtkformat, allowing a detailed control of the material distribution, e.g.producing gradients in optical properties. Data input Surface topographies can also be input as Gwyddion height fields (height maps), i.e. 2D arrays of height values.Gwyddion [33] is a modular multiplatform software for scanning probe microscopy (SPM) data analysis which can process most of native SPM manufacturer data formats (plus several data formats used in confocal microscopy, scanning electron microscopy and other microscopy techniques).It also features many data synthesis algorithms, so artificial surfaces can be prepared in Gwyddion and loaded into GSvit.Direct use of the height fields is useful namely in virtual SPM applications of FDTD in which we simulate the interaction of light with a surface at every pixel of the image.The height field can be then shifted arbitrarily with respect to the beam in order to produce data from the requested position. Data input Using a combination of different geometry loading approaches, we can model structures representing many real experimental situations.However, for the handling of statistical phenomena like surface roughness, this is still often only the starting point.The loaded objects can be further modified within GSvit to perturb their boundaries. Object modifiers In order to add inhomogeneities such as roughness or variable layer thickness to inputs prepared for computation, one could use an external software and prepare such data in a 3D modeller (for instance) and load them as a tetrahedral mesh.This approach turned out to be impractical as the control of surface parameters is quite limited in 3D modelling software.Moreover, to perform statistical analysis of electromagnetic field propagation, we need to run many simulations with different realisations of a particular roughness that would all have to be created in the 3D modeller. Object modifiers A better approach is to alter the surface topography of selected objects within the FDTD package at the beginning of the computation.In GSvit this is achieved by object modifiers, allowing an automatic creation of different instances of the rough object with given roughness parameters.We can then run multiple calculations of the light-object interaction and evaluate the results statistically. Object modifiers Here we describe three basic algorithms for object modification developed for GSvit: vector displacement modifier (sec.3.2.1),random Gaussians and arbitrary function modifiers (sec.3.2.2),and the growth modifier (sec.3.2.3).The second method was developed entirely for purposes of this work.The first is analogous to displacement mappings used in computer graphics; the third was based on existing models of surface growth [35]. Object modifiers Recently there has been growing interest in application of polynomial chaos and stochastic FDTD methods to the problem of modelling systems with rough boundaries [37,36].They can be considerably more efficient than the classical Monte Carlo approach implemented in GSvit.However, Monte Carlo can be immediately used with any simulation of physical roughening process (added as a roughening operator to GSvit), whereas these approaches require efficient parametric representations-and the path from the former to the latter is seldom short or straight.The choice made in GSvit enables the accommodation of experimental roughening procedures.For maximum efficiency with well-studied roughness models one may have to look elsewhere. Vector displacement modifier In this method voxel values are altered by replacing them with values taken from displaced positions, defined by the vector displacement field.This has no effect within a homogeneous region but perturbs object boundaries-and can also be used to perturb material gradients or other properties.The vector displacements consist of three 3D arrays (x, y, z) of the same volume as the computational domain.They are filled by correlated noise using Fig. 1.The effect of the various surface roughness modifier types applied to a sphere of 1 μm diameter.In the case of the vector displacement field (section 3.2.1) the correlation length is from 10 nm to 40 nm as indicated.The function modifier (section 3.2.2) is shown for two random Gaussian function modifiers and two function modifiers constructed as a mix of sines.For the material growth modifier (section 3.2.3), the relaxation jump probability and upsampling factor is gradually increased resulting in a progression from fractal-like to columnar roughness.a spectral synthesis method.To do this, Fourier transform coefficients are set to define suitable spectral properties of the noise and an inverse Fourier transform is used to get the displacement fields. Vector displacement modifier In the case of Gaussian roughness, the most common roughness model, the Fourier transform coefficients moduli are set to the product of three Gaussian functions, in x, y and z as follows: Vector displacement modifier where K = 2(i/x res , j/ y res , k/z res ), T is the desired correlation length and x res , y res and z res are the voxel resolutions in respective directions.Phases are set as uniform random numbers in the range of [0, 2π ).This produces a displacement field with the correct correlation length.The variance parameter S q is set by normalising the integral of |F | 2 to S 2 q .The material in each voxel is then replaced by the material from a nearby voxel determined by the x, y and z shifts and rounded to an integer.An advantage of this procedure is that its natural parameters are the output roughness parameters S q and T .An example of the results obtained for Gaussian roughness and different correlation lengths is shown in Fig. 1. Random Gaussians and arbitrary function modifiers To add roughness with shape controlled in the direct space (as opposed to frequency space) we created an alternative procedure, based on blurring the object boundary, altering the blurred arrays and thresholding.The following steps are performed (see Fig. 2 for a schematic illustration): Random Gaussians and arbitrary function modifiers 1. First the object is formed by a set of voxels with values set to one; the rest of the computational domain is set to zero (void).2. The object is blurred in 3D to create a smooth transition between the material and void regions.3. The object is altered by adding 3D Gaussians to random locations in the computational domain.They are added with both positive and negative signs and a selected distribution of halfwidths.4. The resulting floating point array is thresholded, producing again in an object with sharp boundaries, now perturbed by the Gaussians. Random Gaussians and arbitrary function modifiers The procedure has three parameters: half-width of the Gaussians, the number of iterations and the probability of placing a Gaussian at a voxel.By varying the parameters and/or running the whole algorithm multiple times, complex roughness can be created on the object surface.An example is given in Fig. 1. Random Gaussians and arbitrary function modifiers A major disadvantage of this procedure is that the relation between its parameters and resulting roughness parameters is complex and not known analytically.Obtaining with prescribed properties requires solving an inverse problem.Practically, this is done by roughening flat surfaces and evaluation of their statistical parameters, e.g. using the surface analysis available in Gwyddion.This is discussed in more detail in sec.4.2.A benefit of the method is that the range of surfaces that can be generated is much broader than for spectral synthesis. Random Gaussians and arbitrary function modifiers Instead of random roughness addition, an arbitrary 3D function can be used instead to perform the object modification.The procedure is almost identical, only the blurred object is now modified by a user-defined function evaluated at every voxel.An example is shown in Fig. 1 for modification by sine functions. Growth modifier To create more realistic rough surfaces that would be statistically similar to surfaces of deposited materials (e.g. by evaporation or sputtering), we implemented a Monte Carlo growth simulation that can be applied to any object or set of objects.The procedure is based on ballistic particle deposition with limited relaxation to local energy minima (maximum number of bonds).Shadowing during the growth leads to the formation of a variety of columnar structures.The procedure is similar to those presented in works dealing with the simulation of sputter deposition of thin films [34,35] and was used for 2D material modification in our previous work [38]: Growth modifier 1. First the selected object and its surroundings are upsampled (usually by a factor of 2 or 3) to get a higher resolution for the growth process, as generation of realistic surface roughness by the growth procedure needs sufficiently large objects (in terms of the number of voxels).2. A predefined number of particles is sequentially simulated, coming from all the faces of the computational volume with a random distribution of direction and hitting the object. Growth modifier 3. When a particle hits the object, it can relax to locations in its neighbourhood if it is energetically favourable (more bonds) and when the probability of such a jump is above some threshold value (that can be understood as a temperature factor in the context of deposition techniques). Growth modifier The process is repeated for the requested number of particles, typically in the order of millions.Instead of letting particles to hit the object from all directions, the particle source can be limited for instance to selected faces of the computational domain, matching more closely geometrical conditions in various deposition techniques.The procedure has three parameters: relaxation probability, maximum relaxation radius, and the number of particles. Growth modifier The growth method can simulate a wide variety of randomly rough surfaces, from locally smooth surfaces (high jump probability, large radius), to columnar structures, to very porous surfaces with a self-affine fractal structure (low jump probability, small radius).The range of roughness parameters that can be obtained is discussed in the next section-but again, the relation between simulation parameters and surface parameters is complex.An example of structures grown on a sphere for different algorithm parameters is shown in Fig. 1. Results and discussion In this section we present the results of software performance tests to show and discuss the achievable simulation speeds and sizes of the computational domain.We also verify the roughness addition approach by comparing its results with a classical optical theory, which is for this range of surface parameters the Rayleigh-Rice theory.Finally, we present two examples of running a simulation on a statistical ensemble of rough object realisations to show the variation of the output field values related to different roughness realisations They were selected to demonstrate practical applications of the two modifiers most relevant in nanoscale optics problems-vector displacement for a well-defined roughness and growth modifier to simulate a deposition process. CPU and GPU performance In Fig. 3 we present the Yee's algorithm speed as evaluated on a number of available computer processors (both single thread and multithreaded) and graphics cards.The figure shows the time taken by 400 steps of the Yee's algorithm in a 200×200×200 voxels large computational domain.In Fig. 4 the time needed for a single calculation is plotted as a dependence on the number of threads used on a CPU.To see the dependence for a large number of threads we used a high performance computing system for this test.The IBM ® Power ® System AC922 (8335-GTG) server is a 2-socket server that offers 32 cores.We can see that the algorithm scales almost linearly with increasing number of available cores.The deviations for large number of cores and large problem sizes indicate that it ceases to be purely CPU-bound and becomes limited also by memory bandwidth in these cases. CPU and GPU performance An important aspect of FDTD is also the required memory.The computation domain size is usually limited by the size of the computer memory.Therefore, even if we remove the speed bottleneck by using GPU, the computed volume bottleneck persists.As an example, on Geforce GTX Titan X with 12 GB RAM, the limit is 328 million voxels, which, at space discretisation of 10×10×10 nm, which we typically use for calculations in the visible range, means a volume of approximately 7×7×7 micrometres. Roughness generation algorithms While the vector displacement modifier creates surfaces whose statistical properties can be controlled by the modifier parameters-roughness value and correlation length-this is not the case for the growth modifier.A connection between algorithm parameters and resulting statistical properties had to be established. Roughness generation algorithms In order to test performance of the ballistic deposition-based growth algorithm we carried out a numerical study of the dependence of roughness statistical properties on algorithm parameters.All the methods described in this paper can be applied to objects with any geometry.However, for the evaluation a flat base object is preferable because a complex base object geometry makes the separation of geometry and roughness more difficult and increases the uncertainty of obtained roughness parameters.A flat substrate allows utilising common statistical analysis techniques for surface measurements.Therefore, the following methodology was used (see Fig. 5A): Roughness generation algorithms 1.A thin parallelepiped object was placed in the centre of the computational volume.2. A growth object modifier was applied to the object, using parameters chosen from a predefined set.3. A central part was cut from the modified object to avoid border effects.The central part was used in all following evaluations.4. The fractal dimension was calculated using the cube-counting method.5.A height field was constructed from the central part (see Fig. 6 for few examples).6.The thickness of the deposited (or subtracted) material was evaluated from the average surface value.7. The root mean square value S q of roughness was evaluated from the surface.8.The power spectral density function (PSDF) was calculated and averaged from the individual surface profiles and fitted by Gaussian PSDF model: Roughness generation algorithms where T is the correlation length.Note that this is based on assumption that the surface correlation function is Gaussian, which is not necessarily true for many of the surfaces. Roughness generation algorithms The parameters of the growth object modifier were chosen to cover the widest possible spectrum of statistical properties the methods can produce (based on a preliminary parametric survey).A snapshot of a single growth process, taken for different number of particles is shown in Fig. 6.By combining all the results, a database of surface properties was created, referring to particular object modifier parameters.By searching in the database we can choose roughening parameters leading to the desired surface roughness.Fig. 7 shows the summary of all the surface statistical parameters that were achieved within the growth modifier study using various probability factors, numbers of particles, etc.We can see that although the three statistical parameters are correlated (which is expected as it follows from the roughness growth theory [35]), a wide range of roughness parameters can be simulated. Roughness generation algorithms Since the surface roughness generation is a statistical process, every surface has slightly different statistical properties even if the input parameters are identical.We repeated the surface modification with the same parameters fifty times to assess the variation of resulting statistical parameters with random seed used for the calculation.For the fifty runs the following results and variances were obtained: S q = 1.92 ±0.05 nm, T = 2.3 ±0.1 nm, D f = 2.33 ±0.06. Roughness generation algorithms From this we can conclude that the individual randomly rough surface realisations are sufficiently similar for practical simulations. Roughness generation algorithms Checking what surface properties are obtained for a flat object with selected modifier parameters can be seen as a general technique for using the object modifiers in practice.However, it still has some disadvantages.First, such preparation can be timeconsuming even if we normally do not need to build an entire database similar to the one used here.Second, if the objects are concave, with deep trenches, caverns or similar complicated geometry, the resulting statistical properties may differ from the predicted ones.However, flat geometry is the only case for which roughness parameters such as S q can be evaluated in a standard manner. Comparison to theoretical calculations Adding well-controlled imperfections to objects in FDTD calculations is useful for studying their impact on the optical response for geometries that are more complex than what could be handled by classical optical theories.For the same reason, however, a verification of FDTD results by comparing them with explicit theoretical calculations must be done using a simpler model system which can be described by the theory.Therefore, we compared the FDTD-computed specular reflection from a rough surface with second-order Rayleigh-Rice theory. Comparison to theoretical calculations Rayleigh-Rice theory expresses the Fresnel coefficient r q of light specularly reflected from a rough system as the sum of the corresponding coefficient for a smooth system and perturbation term r q : r q,rough = r q,smooth + r q . Comparison to theoretical calculations (5) Comparison to theoretical calculations Index q distinguishes the polarisation (p or s).The perturbation term is expressed using an integral with spectral density of roughness W (K) over the space of spatial frequencies K ∈ R 2 : Comparison to theoretical calculations where f q is a complicated function of K, optical constants and the incidence angle ϑ 0 [39][40][41].Vector K is equal to K = K − n 0 k 0 sin ϑ 0 e x , where n 0 is the refractive index of the ambient and k 0 is the corresponding wave vector.Other approaches for modelling of light specularly reflected from rough systems exist and are widely used in optics, for instance diffraction theories or effective medium approximations.However, Rayleigh-Rice theory is valid for larger S q /λ ratios than effective medium approximations (EMA) and does not require locally smooth surfaces, unlike diffraction theories.It is, therefore, a suitable theoretical approach for the following comparison. Comparison to theoretical calculations The model system was a germanium prism with varying Gaussian roughness modelled by spectral synthesis for S q = 0 to 50 nm and fixed T = 100 nm.The FDTD calculation was run in a computational volume of 500×500×150 voxels spaced equally in all directions by 10 nm and containing the 5 × 5 × 1.5 μm 3 large Ge prism.A Gaussian beam with wavelength of 633 nm was incident on the prism in the z axis direction.The specular reflection was evaluated using NFFF transformation.The results were normalised to the reflectance of smooth surface in order isolate the effect of roughness by eliminating the differences between the analytically known reflection from a smooth plane and FDTD results.In this case the difference was about 5% because of the combination of large extinction coefficient of germanium and FDTD discretisation that is fine enough to represent the chosen roughness, but not fine enough to represent the spatial field decay in germanium with high accuracy.If the voxel size is 4 times smaller the error in smooth germanium reflectance drops below 1%, however such voxel size would already need an extremely large mesh if the roughness should be added. Comparison to theoretical calculations The results are compared in Fig. 8a.It can be seen that FDTD slightly underestimates the impact of roughness.It is most likely an effect of staircasing, i.e. discretisation of simulated roughness.In particular, FDTD gives almost no effect for S q small compared to voxel size-such small roughness cannot be represented correctly in the voxel grid.This could be improved either by conformal modelling (at the cost of computation speed) or by using an EMA, weighing the materials in each voxel. Comparison to theoretical calculations Fig. 8a shows the results of using the Bruggeman EMA [42], frequently employed to model roughness, for representing the effective medium in voxels filled only partially by Ge.The addition of EMA improved the agreement for large S q , where it could help representing fine roughness details not captured by the voxel grid.However, for small roughness the results in fact became worsethe curve has non-zero derivative at S q = 0.This is not surprising; it is well known that the relation between EMA effective roughness layer and S q should be quadratic [43], but voxel material averaging gives a contribution linear in S q . Comparison to theoretical calculations There could be also other factors contributing to the differences.For instance the displacement field modifier can generate overhangs, whereas the Rayleigh-Rice theory assumes that surface is described by a (single valued) function.Therefore, the assumptions in the two approaches do not match exactly.Nevertheless, we can conclude that the FDTD results agree well with theoretical calculations for the reflectance of rough surfaces-provided that one takes care to choose a voxel size which can represent well the rough material boundary.In addition to keeping the voxel size below tenth of the wavelength, as needed by the Yee algorithm, it must also be kept small enough to incorporate the fine details of the roughness.In Fig. 8b we show how the result depends on voxel size for one of the roughnesses shown in Fig. 8a, with mean square roughness of 32 nm and correlation length of 100 nm.It can be seen that when the voxel size increases, the reflectance increases towards the smooth surface value (which would be 1).When EMA is used, the effect is less pronounced as the staircasing effect is reduced.The range in which we can prove it is however limited-by the amount of computer memory on the lower end and discreti- sation limit required by the Yee algorithm on the upper end.It should be noted that the Gaussian roughness created by spectral synthesis is locally smooth, which is certainly a benefit when we discretize the surface.For other roughness models, providing surfaces with higher amount of high spatial frequency components it might be more difficult to find a suitable voxel size.A convergence test similar to the one shown in Fig. 8b can help with such decision. Application example: a rod antenna Here we present an example of interaction of light with a more complex rough nanoobject and a statistical evaluation of the influence of surface roughness.The example is still one of the simplest possible-an isolated nanoantenna formed by a single cylindrical rod capped by hemispheres.Using the approach presented above, in particular the growth object modifier, we created 60 different rough rod realisations for each set of parameter values.We then evaluated the resulting local field enhancement close to the rod apex.Spectral dependences of the field enhancement were calculated, and for a larger statistical ensemble also the enhancement value for the peak in this spectrum was evaluated. Application example: a rod antenna Details of the numerical experiment are as follows: the computational domain was a box with sides of 410 nm × 260 nm × 260 nm, with a voxel spacing of 1 nm (see Fig. 5B for schematics). Application example: a rod antenna It contained an aluminium rod of length approximately 120 nm (varying with different roughness realisations), placed in vacuum.We used the growth modifier to add a roughness to the rod, the parameters were chosen the database of the growth modifier parameters generated on a flat surface as described in section 4.2. Application example: a rod antenna All rods prepared for this calculation had the same mean square roughness S q = 3 nm, but different correlation lengths T from 2 to 8 nm.From the resulting thicknesses we tested that the growth modifier produces results are consistent with the simulations of flat surface that were used for database creation.A few examples of the generated rods are shown in Fig. 9a.Within the FDTD calculation the rod was illuminated by a plane wave using the total/scattered field approach with wavelengths ranging from 250 to 800 nm.The calculation was performed wavelength by wavelength.A second order absorbing boundary condition was used to let the light leave the computational domain.To reach a steady state, 12000 time steps were calculated, using the time step value of 0.8 • t, where t is the time step evaluated from FDTD stability criterion.Piecewise linear recursive convolution approach was used to treat the rod, formed of aluminium.The time step was adjusted by the factor 0.8 to keep the metal treatment approach stable.The computation output consisted of time dependences of field values in a defined position from the ideal rod apex in direction of its axis.Field amplitudes were evaluated Fig. 10.Spectral dependence of the field enhancement close to smooth and rough rod apex.Roughness parameter S q was 3 nm for all the rough rods. Application example: a rod antenna after reaching a steady state after a transient period at the start of the computation. Application example: a rod antenna The spectral dependences of the field enhancement in the vicinity of rod are plotted in Fig. 10 for rods with different correlation lengths.We can see that the overall enhancement varies in an order of magnitude, which is an effect of randomness in the rod surface shape.In some cases the roughness increases the field at the apex, namely due to lighting rod effect at sharp features pointing towards the point where the field is evaluated.In some cases the field intensity is even slightly smaller than for a smooth rod.We can also see shifts in the peak wavelength (maximum enhancement), which is mostly related to the rod length-despite taking care to prepare rods with the same mean length.Although this could still be caused by imperfections in our rod modification approach, it is possible mean rod length is no longer the parameter determining the peak wavelength when a relatively large roughness is present. Application example: a rod antenna The 60 different realisations of each rough rod were used to observe how the peak value of the field enhancement varies among different instances.To prevent a systematic error in the effective rod length, we searched the maximum value of the enhancement for each rod type independently.In Fig. 9b results of statistical analysis of the peak value of the field enhancement at the vicinity are shown, as evaluated from this statistical ensemble.We can see that there is a large variation in the field enhancement factor, particularly for larger surface correlation lengths.Yet there is no clear dependence of the mean enhancement factor on the correlation length.We could expect an influence of the correlation length on the enhancement for much longer rod antennas and longer correlation lengths, which will be the subject of a following study.The presented approach gives us an estimate of how much the real rod enhancements can vary in contrast to an ideal rod shape.A possible explanation is the presence of some hot spots close to the rod end, similarly to what was observed in tip-enhanced Raman spectroscopy [14] or in surface-enhanced Raman spectroscopy [15]. Application example: a rod antenna The capability of evaluating the local variances of the electromagnetic field intensity caused by roughness is the most important feature of the presented approach.Results like those shown in 9b can help us understand how the imperfections caused by the manufacturing process in nanoscale optics propagate to the optical performance of the device.By coupling the FDTD solver with algorithms for local data modifications we can perform such studies in an efficient way. Application example: a rough particle Mie scattering In the second example we show an application of the vector displacement modifier to light scattering by rough spheres.Light scattering on an ideal spherical particle is described by the well known Mie solution [44].This infinite series-based solution of the scattering problem is employed in many practical applications, e.g. in aerosol particle counters.Real particles are, however, not ideally spherical.Many works have proposed methods for inclusion of shape imperfections, both using more complex analytical models and numerical simulations [45].Surface roughness is one of the common possible distortions and we can use the surface modifiers in GSvit to explore its impact on the angular scattering diagrams.Since the angular dependence of scattering depends heavily on particle radius, it is important to do such analysis for particles of the same size, which can be achieved using the vector displacement modifier. Application example: a rough particle Mie scattering A sphere of 400 nm radius (equal to 60 voxels for 6.667 nm voxel size) and relative permittivity of 4 was used.The computational domain was 360×360×360 voxels large and the sphere was located in its centre.It was illuminated using the Total/scattered field formalism by monochromatic light with 633 nm wavelength, with 2nd order absorbing boundary conditions.NFFF transformation was used for calculating field amplitudes of light scattered to different directions and perpendicular polarisation components were evaluated. Application example: a rough particle Mie scattering The reference solution for an ideal sphere was calculated both using FDTD and Mie's scattering.Since staircasing, present in FDTD calculations, leads itself to the introduction of imperfections, we fitted the FDTD result by the Mie's solution to obtain the effective optical radius.For the smooth sphere it was 400.2 nm.We also evaluated a voxel-based effective radius by counting all the voxels occupied by the material and calculating the radius of a sphere with the same volume, which was 400.02 nm for the smooth sphere. Application example: a rough particle Mie scattering Rough spheres were created by applying the spectral synthesis modifier with correlation length 20 nm and two different roughness values S q = 3.33 and 10 nm.For each roughness value, ten different curves were calculated for different random seeds of the modifier.The results are plotted in Fig. 11. Application example: a rough particle Mie scattering We can see that for the smaller roughness S q = 3.33 nm the curves match quite closely the smooth sphere solution, with only minor deviations from the reference curve.The corresponding voxel-based radius was 400.18 ± 0.4 nm while the best fit from Mie solution was 400.04 ± 0.17 nm.For the larger roughness S q = 10 nm (see also the example in Fig. 1) the result deviates from the Mie's solution considerably more, in particular backscattering is increased significantly.Even though the voxel-based radius is nearly the same (400.2± 0.9 nm), the best fit from Mie solution is 398.2 ± 0.3 nm, so the effective optical radius seems to become smaller with increasing roughness.Similarly to the first example the possible variants of calculation are numerous and a systematic study will be topic of a forthcoming paper; here we wanted to illustrate the benefits of having a combination of a set of surface modifiers with a FDTD solver. Conclusion We have presented a graphics card-compatible Finite-Difference Time-Domain solver with a set of extensions allowing local modifications of surface properties of objects in the computational domain.By combining fast computing on graphics cards and random surface topography modifications we can perform systematic studies of the effect of surface roughness on various nanoscale optics systems performance.This was validated by comparison to Rayleigh-Rice theory and illustrated by two examples, a study of roughness impact on variations of a rod nano-antenna field enhancement and angular scattering by rough spheres.As the surface modifiers can be applied to basically any object, the range of potential applications of the presented approach is wide. Conclusion The benefit of performing the object modifications directly in the framework of the FDTD solver is that the additional information obtained during the roughness addition can be further used, e.g. to set up a local higher density grid or to calculate the effective material properties in the main grid.Even when the parameters used for object topography modification need to be determined via a trial-and-error approach, this allows substantially better control of the roughening process than in standard 3D modelling packages.Surface modification via ballistic deposition also introduces the basic physical phenomena known from diffusion-limited growth studies, and the created roughness should therefore better represent the topography of real objects in the micro-and nanotechnology area.All the presented algorithms are part of a publicly available open source software. Fig. 2 . Fig. 2. Scheme of object boundary modification by function addition, illustrated for a sine function and random Gaussians. Fig. 3 .Fig. 4 . Fig. 3. FDTD implementation performance on different computer processors and graphics cards (time necessary for calculating the same problem on different systems).(For interpretation of the colours in the figure(s), the reader is referred to the web version of this article.) Fig. 5 . Fig. 5. Computational domain geometry for (A) roughness evaluation and (B) rod antenna field enhancement calculation. Fig. 6 . Fig. 6.Series of snapshots of the growth process for the same random seed and increasing number of particles.The z axis placement of the surfaces corresponds to real layer thickness. Fig. 7 . Fig. 7. Database of resulting statistical parameters for various parameters of growth object modifier. Fig. 8 . Fig. 8. (a) Verification of the roughness addition by comparison to Rayleigh-Rice theory.(b) Dependence of the rough surface reflectance on the voxel size.Each value is an average of 15 FDTD runs, error bars correspond to the standard deviation. Fig. 9 . Fig. 9. (a) examples of generated rough rod antennas; (b) statistical results for the peak value of field enhancement as a function of roughness correlation length. Fig. 11 . Fig. 11.The effect of roughness on Mie scattering on a spherical particle.Results for two different roughness values, 3.3 nm (5 voxels) and 10 nm (20 voxels), are compared with smooth sphere (shown as solid black curve).The light intensities are plotted as relative.

섹션 본문 91문단 · 46,751자

(제목 없음)

1Surface and volume imperfections can significantly affect the performance of nanoscale or microscale devices used in photonics, optoelectronics or scientific instrumentation.In this article we present an open source software package for Finite-Difference Time-Domain electromagnetic field calculations suitable for calculations on graphics cards.Its special features include handling realistic models of imperfect nanoscale objects, such as treatment of arbitrary geometries including addition of random roughness to any geometrical object.The method is compared to conventional optical approach represented by Rayleigh-Rice theory.Practical applicability is demonstrated using a calculation of variation of field enhancement at proximity of a rough nanoscale antenna and rough particle scattering.It is shown that such approach can be namely useful in the areas where many repeated calculations are necessary, e.g. when studying how the optical response of nanoscale objects can vary when they are rough.

Introduction

2Phenomena related to interaction of light with artificially formed micro-and nanostructures are related to many scientific ✩ The review of this paper was arranged by Prof. Stephan Fritzsche.✩✩ This paper and its associated computer program are available via the Computer performance.This can be rarely done analytically and a numerical solution capable of incorporating imperfections is therefore needed.

3In order to treat the interaction of electromagnetic field with structures similar to its wavelength, we need to utilise fully its wave nature in order to incorporate all the scattering, diffraction and interference processes.Several techniques can handle this problem and are used for nanoscale optical calculations, for example Direct Moment Method [1], Green's tensor technique [2], or Reciprocal-space Perturbative Method [3].Each approach has its strengths and weaknesses and is best suited for particular types of problems.Here we present a Finite-Difference Time-Domain based approach (FDTD) [4].

4FDTD is a well-established computational method and is already widely used in the field of nanoscale optics.It is capable of solving nearly arbitrary problems in electromagnetics, at least in principle.Its main drawback is the requirement of a fine spatial grid (compared to the wavelength), which limits applicability to conventional optical phenomena (e.g. with visible wavelength and millimetre or centimetre size optical elements) because it then leads to excessive computational demands.However, the natural range of scales in nanoscale and microscale optics is favourable for FDTD.Hence, it is becoming a common technique for calculations in plasmonics [5,6], optoelectronics [7], microscopy [8][9][10][11] and similar areas.Many computational tools already available for nanoscale optics calculations, both commercial and open source [12], employ FDTD.

5FDTD calculations presented in scientific literature are frequently based on simple geometrical models [6,9,13] which are not capable of treating realistic material imperfections, such as nonideal geometries, surface roughness, or various inhomogeneities.One possible reason may be that setting up complex models involving deviation from ideal geometries is time-consuming and that more detailed models in FDTD still require significant computational time, as a dense space discretisation needs to be used and all the algorithms related to FDTD then become prohibitively slow.

6Of all the possible imperfections, we concentrate on surface roughness as this error source is frequently present in many nanoscale and microscale systems.All manufacturing processes result in some surface roughness, which can be controlled only to some extent.Usually roughness only decreases device performance, but in a few specific cases it can also be helpful, for instance with hot spots in tip-enhanced Raman spectroscopy [14] or in surface-enhanced Raman spectroscopy [15].

7In this article we present algorithms developed for including the random roughness easier in the framework of FDTD.For statistical analysis we namely need methods generating rough nanoobjects with known statistical properties in the computational domain, and a FDTD solver fast enough to run many calculations with different realisations of the rough object.On the basis of our proof-of-concept studies [16,17] we have developed the open source GSvit solver [18], focusing on topics that we found missing or inadequate in other software packages:

81. Graphics card computing support for calculation speedup.2. Treatment of realistic geometries determined experimentally, e.g.loading data like surface topography or form from different measuring instruments.3. Capability to create objects with realistic roughness, or alter surface properties of loaded objects, running multiple calculations for different random seeds.

9The performance of data modification algorithms is validated by comparison to classical optical theory, and its practical applicability is demonstrated on calculation of local field enhancement at proximity of a rough single rod metallic nanoantenna and on scattering by a rough sphere.Although this work focuses on distinctive functions of GSvit, it has to be noted that it is an universal computational package which can also deal with typical tasks in computational electromagnetics, similarly to the other FDTD packages.

FDTD basics

10The Finite-Difference Time-Domain method is a widely used method for complete numerical solution of Maxwell equations in discretized space.For a linear, isotropic, non-dispersive and possibly lossy material the Maxwell equations describing the time evolution of electric and magnetic field intensity vectors E and H can be written in the following form

11where μ is the magnetic permeability, ε is the electrical permittivity, σ is the electric conductivity, σ * is the equivalent magnetic loss, and M and J are the magnetic and electric source current densities.These equations provide the basis of the FDTD method, calculating electric and magnetic field intensities in a staggered grid (E and H are shifted by a half of the grid spacing).

12Using a dense discretisation (at least λ/10 where λ is the wavelength of the incident light) and directly solving the electric and magnetic field in a leap-frog scheme leads to a stable algorithm suitable for many problems in physics and engineering.Combined with the many related additional algorithms that have been developed in the last fifty years, FDTD can be used for nearly any material.If treated carefully, it can be accurate down to 1% in the area of nanoplasmonics as reported in Ref. [19].Its main disadvantages are the necessity of a dense discretisation and complicated handling of smooth boundaries with an arbitrary orientation (staircasing effect).On the other hand, due to its simple formulation it can be easily implemented.Furthermore, it results, such as electromagnetic field distribution in the simulation domain, can be readily interpreted.It is also highly parallelisable as it consists of relatively simple equations repeatedly solved in all grid points, which is also the reason why it is convenient for graphics card (GPU) computing [16,17,20,21].

Structure of the program

13The package consists of two main executables, GSvit and XSvit.GSvit is the backend numerical solver, which can be run as a command line program.It is written in C and optionally uses graphics cards based on the Nvidia CUDA computing interface.XSvit is the graphical interface and also serves as a parameter file editor, either via visual definition of the model or direct editing of the parameter file.XSvit can be used for creating or altering the parameter files, running the numerical solver and running Gwyddion [33] which serves as the viewer for most of the results.It is written in C, with Gtk+ graphical toolkit.

14Apart from the basic FDTD computational approach known as Yee's algorithm [22], which is used for electromagnetic field propagation, the software implements also the following extensions:

15• Point and dipole sources, total/scattered field (TSF) and pure scattered field (SF) source formulations, including sources in an infinitely extending layered medium [23] and focused sources based on the plane wave decomposition [24].

16• Periodic boundary conditions, simple second order boundary conditions [25] and convolutional perfectly matched layer boundary (CPML) conditions [4].

17• Near-field-to-far-field (NFFF) transform using the time domain approach [28] and field teleportation [27] for crossing empty spaces.

18• Staircasing reduction via effective medium and local subgridding [26].

19• Dispersive media treatment using the piecewise linear recursive convolution (PLRC) approach and auxiliary differential equations (ADE) approach [4].

20Full details about functionality of different FDTD extensions and their relation to the basic Yee's algorithm can be also found in the literature, e.g. the monograph [4].

Parameter and media files

21The command line part, GSvit, is controlled by a parameter file passed as the only command line argument.It is a plain text file defining all the aspects of the computation as a sequence of twoline directives.The first line always consists of a keyword defining the directive type, the second depends on the keyword and specifies the values.As an example consider the following text file: It provides all the basics for running a simulation on an artificially modified sphere as discussed in section 4.5.POOL specifies the computational domain of 200×200×200 voxels with voxel spacing of 10 nm (10 −8 m) and COMP runs 1000 steps of the Yee's algorithm to propagate the planar electromagnetic wave, injected via Total/Scattered field source boundary condition defined by SOURCE_TSF.This wave interacts with an object described by the material file given by MEDIUM_VECTOR and modified with MEDIUM_SPECTRAL modifier by adding roughness with 5 voxels RMS, 20 voxels correlation length and using 42 as the random seed.The output, given by OUT_IMAGE, will consist of electric field E y images taken in the yz plane with x = 100 voxels.First 150 steps will not be saved.

22The only missing piece is the object the light wave interacts with.A germanium sphere with radius of 40 voxels centred in the domain at (100, 100, 100) can be defined by a single-line material_file.txt 4 100 100 100 40 99 Ge

23In practice multiple outputs are usually set, absorbing boundary conditions are added by BOUNDARY_ALL and a near-field to farfield transform (requested by a NFFF directive) is used to get the far-field response of the optical system.The full documentation of parameter files is provided on the project pages [18], alongside with many examples how to run different calculations, including complete examples of object boundary modification using methods presented in section 3.2.

GPU calculations

24By default, all the algorithms are executed on the main processor (CPU), using double precision arithmetic with parallelisation handled by OpenMP [29].Optionally, some algorithms can be run on the GPU instead of the CPU, based on the use of NVIDIA CUDA tools [30].GPU can be utilised in two different ways:

251.At each step (i.e.Yee step) all the data are synchronized back to the CPU to perform operations with higher precision arithmetic, output results, run external sources, or simply to save graphics card memory (allocating only data necessary for each kernel call).This approach typically leads to a three-to sixtimes speedup compared to pure CPU execution, namely due to limited bandwidth of data transfer between the main memory and graphics card memory.2. All the computations are performed on the GPU and the data are synchronised only for outputs (i.e.not every step).Time values of NFFF data are produced at the end of the computation.This can lead to more than seventy-times speedup as shown below even for quite a straightforward FDTD implementation on the GPU.

26For GPU kernel implementations and for nearly all the algorithms, a one-to-one correspondence between GPU threads and computational space points is preserved.The basic data structures are stored in the GPU global memory.Each thread takes the neighbour values (or whichever are necessary for the computation), and after the computation it updates the value in the global memory.On one hand, this approach does not utilise the device memory optimally as shared memory is not used at all.On the other hand, it avoids code variants for different memory accesses, keeping the code simple-while still providing a significant speedup as discussed below.

27In some cases, for instance NFFF computations, it is not possible to establish a one-to-one correspondence between GPU threads and computational space points as this could lead to memory access conflicts in the accumulators, where the integration of surface currents over the NFFF boundary is being performed.A set of auxiliary accumulators was used in this case to split the integration between more GPU kernels without accessing the same global memory.

Data input

28The basic way to define the material distribution in the FDTD computational domain is to add solid geometrical shapes-such as boxes, spheres or cylinders-with given material properties.By means of Constructive Solid Geometry, i.e. using unions and intersections of these basic entities, even quite complicated structures can be created.

29Even more general structures can be defined as tetrahedral meshes, as produced for example by Tetgen [31] from input created in a 3D modeller such as Blender [32].The data can also be entered as a voxel-by-voxel array of material properties in the .vtkformat, allowing a detailed control of the material distribution, e.g.producing gradients in optical properties.

30Surface topographies can also be input as Gwyddion height fields (height maps), i.e. 2D arrays of height values.Gwyddion [33] is a modular multiplatform software for scanning probe microscopy (SPM) data analysis which can process most of native SPM manufacturer data formats (plus several data formats used in confocal microscopy, scanning electron microscopy and other microscopy techniques).It also features many data synthesis algorithms, so artificial surfaces can be prepared in Gwyddion and loaded into GSvit.Direct use of the height fields is useful namely in virtual SPM applications of FDTD in which we simulate the interaction of light with a surface at every pixel of the image.The height field can be then shifted arbitrarily with respect to the beam in order to produce data from the requested position.

31Using a combination of different geometry loading approaches, we can model structures representing many real experimental situations.However, for the handling of statistical phenomena like surface roughness, this is still often only the starting point.The loaded objects can be further modified within GSvit to perturb their boundaries.

Object modifiers

32In order to add inhomogeneities such as roughness or variable layer thickness to inputs prepared for computation, one could use an external software and prepare such data in a 3D modeller (for instance) and load them as a tetrahedral mesh.This approach turned out to be impractical as the control of surface parameters is quite limited in 3D modelling software.Moreover, to perform statistical analysis of electromagnetic field propagation, we need to run many simulations with different realisations of a particular roughness that would all have to be created in the 3D modeller.

33A better approach is to alter the surface topography of selected objects within the FDTD package at the beginning of the computation.In GSvit this is achieved by object modifiers, allowing an automatic creation of different instances of the rough object with given roughness parameters.We can then run multiple calculations of the light-object interaction and evaluate the results statistically.

34Here we describe three basic algorithms for object modification developed for GSvit: vector displacement modifier (sec.3.2.1),random Gaussians and arbitrary function modifiers (sec.3.2.2),and the growth modifier (sec.3.2.3).The second method was developed entirely for purposes of this work.The first is analogous to displacement mappings used in computer graphics; the third was based on existing models of surface growth [35].

35Recently there has been growing interest in application of polynomial chaos and stochastic FDTD methods to the problem of modelling systems with rough boundaries [37,36].They can be considerably more efficient than the classical Monte Carlo approach implemented in GSvit.However, Monte Carlo can be immediately used with any simulation of physical roughening process (added as a roughening operator to GSvit), whereas these approaches require efficient parametric representations-and the path from the former to the latter is seldom short or straight.The choice made in GSvit enables the accommodation of experimental roughening procedures.For maximum efficiency with well-studied roughness models one may have to look elsewhere.

Vector displacement modifier

36In this method voxel values are altered by replacing them with values taken from displaced positions, defined by the vector displacement field.This has no effect within a homogeneous region but perturbs object boundaries-and can also be used to perturb material gradients or other properties.The vector displacements consist of three 3D arrays (x, y, z) of the same volume as the computational domain.They are filled by correlated noise using Fig. 1.The effect of the various surface roughness modifier types applied to a sphere of 1 μm diameter.In the case of the vector displacement field (section 3.2.1) the correlation length is from 10 nm to 40 nm as indicated.The function modifier (section 3.2.2) is shown for two random Gaussian function modifiers and two function modifiers constructed as a mix of sines.For the material growth modifier (section 3.2.3), the relaxation jump probability and upsampling factor is gradually increased resulting in a progression from fractal-like to columnar roughness.a spectral synthesis method.To do this, Fourier transform coefficients are set to define suitable spectral properties of the noise and an inverse Fourier transform is used to get the displacement fields.

37In the case of Gaussian roughness, the most common roughness model, the Fourier transform coefficients moduli are set to the product of three Gaussian functions, in x, y and z as follows:

38where K = 2(i/x res , j/ y res , k/z res ), T is the desired correlation length and x res , y res and z res are the voxel resolutions in respective directions.Phases are set as uniform random numbers in the range of [0, 2π ).This produces a displacement field with the correct correlation length.The variance parameter S q is set by normalising the integral of |F | 2 to S 2 q .The material in each voxel is then replaced by the material from a nearby voxel determined by the x, y and z shifts and rounded to an integer.An advantage of this procedure is that its natural parameters are the output roughness parameters S q and T .An example of the results obtained for Gaussian roughness and different correlation lengths is shown in Fig. 1.

Random Gaussians and arbitrary function modifiers

39To add roughness with shape controlled in the direct space (as opposed to frequency space) we created an alternative procedure, based on blurring the object boundary, altering the blurred arrays and thresholding.The following steps are performed (see Fig. 2 for a schematic illustration):

401. First the object is formed by a set of voxels with values set to one; the rest of the computational domain is set to zero (void).2. The object is blurred in 3D to create a smooth transition between the material and void regions.3. The object is altered by adding 3D Gaussians to random locations in the computational domain.They are added with both positive and negative signs and a selected distribution of halfwidths.4. The resulting floating point array is thresholded, producing again in an object with sharp boundaries, now perturbed by the Gaussians.

41The procedure has three parameters: half-width of the Gaussians, the number of iterations and the probability of placing a Gaussian at a voxel.By varying the parameters and/or running the whole algorithm multiple times, complex roughness can be created on the object surface.An example is given in Fig. 1.

42A major disadvantage of this procedure is that the relation between its parameters and resulting roughness parameters is complex and not known analytically.Obtaining with prescribed properties requires solving an inverse problem.Practically, this is done by roughening flat surfaces and evaluation of their statistical parameters, e.g. using the surface analysis available in Gwyddion.This is discussed in more detail in sec.4.2.A benefit of the method is that the range of surfaces that can be generated is much broader than for spectral synthesis.

43Instead of random roughness addition, an arbitrary 3D function can be used instead to perform the object modification.The procedure is almost identical, only the blurred object is now modified by a user-defined function evaluated at every voxel.An example is shown in Fig. 1 for modification by sine functions.

Growth modifier

44To create more realistic rough surfaces that would be statistically similar to surfaces of deposited materials (e.g. by evaporation or sputtering), we implemented a Monte Carlo growth simulation that can be applied to any object or set of objects.The procedure is based on ballistic particle deposition with limited relaxation to local energy minima (maximum number of bonds).Shadowing during the growth leads to the formation of a variety of columnar structures.The procedure is similar to those presented in works dealing with the simulation of sputter deposition of thin films [34,35] and was used for 2D material modification in our previous work [38]:

451. First the selected object and its surroundings are upsampled (usually by a factor of 2 or 3) to get a higher resolution for the growth process, as generation of realistic surface roughness by the growth procedure needs sufficiently large objects (in terms of the number of voxels).2. A predefined number of particles is sequentially simulated, coming from all the faces of the computational volume with a random distribution of direction and hitting the object.

463. When a particle hits the object, it can relax to locations in its neighbourhood if it is energetically favourable (more bonds) and when the probability of such a jump is above some threshold value (that can be understood as a temperature factor in the context of deposition techniques).

47The process is repeated for the requested number of particles, typically in the order of millions.Instead of letting particles to hit the object from all directions, the particle source can be limited for instance to selected faces of the computational domain, matching more closely geometrical conditions in various deposition techniques.The procedure has three parameters: relaxation probability, maximum relaxation radius, and the number of particles.

48The growth method can simulate a wide variety of randomly rough surfaces, from locally smooth surfaces (high jump probability, large radius), to columnar structures, to very porous surfaces with a self-affine fractal structure (low jump probability, small radius).The range of roughness parameters that can be obtained is discussed in the next section-but again, the relation between simulation parameters and surface parameters is complex.An example of structures grown on a sphere for different algorithm parameters is shown in Fig. 1.

Results and discussion

49In this section we present the results of software performance tests to show and discuss the achievable simulation speeds and sizes of the computational domain.We also verify the roughness addition approach by comparing its results with a classical optical theory, which is for this range of surface parameters the Rayleigh-Rice theory.Finally, we present two examples of running a simulation on a statistical ensemble of rough object realisations to show the variation of the output field values related to different roughness realisations They were selected to demonstrate practical applications of the two modifiers most relevant in nanoscale optics problems-vector displacement for a well-defined roughness and growth modifier to simulate a deposition process.

CPU and GPU performance

50In Fig. 3 we present the Yee's algorithm speed as evaluated on a number of available computer processors (both single thread and multithreaded) and graphics cards.The figure shows the time taken by 400 steps of the Yee's algorithm in a 200×200×200 voxels large computational domain.In Fig. 4 the time needed for a single calculation is plotted as a dependence on the number of threads used on a CPU.To see the dependence for a large number of threads we used a high performance computing system for this test.The IBM ® Power ® System AC922 (8335-GTG) server is a 2-socket server that offers 32 cores.We can see that the algorithm scales almost linearly with increasing number of available cores.The deviations for large number of cores and large problem sizes indicate that it ceases to be purely CPU-bound and becomes limited also by memory bandwidth in these cases.

51An important aspect of FDTD is also the required memory.The computation domain size is usually limited by the size of the computer memory.Therefore, even if we remove the speed bottleneck by using GPU, the computed volume bottleneck persists.As an example, on Geforce GTX Titan X with 12 GB RAM, the limit is 328 million voxels, which, at space discretisation of 10×10×10 nm, which we typically use for calculations in the visible range, means a volume of approximately 7×7×7 micrometres.

Roughness generation algorithms

52While the vector displacement modifier creates surfaces whose statistical properties can be controlled by the modifier parameters-roughness value and correlation length-this is not the case for the growth modifier.A connection between algorithm parameters and resulting statistical properties had to be established.

53In order to test performance of the ballistic deposition-based growth algorithm we carried out a numerical study of the dependence of roughness statistical properties on algorithm parameters.All the methods described in this paper can be applied to objects with any geometry.However, for the evaluation a flat base object is preferable because a complex base object geometry makes the separation of geometry and roughness more difficult and increases the uncertainty of obtained roughness parameters.A flat substrate allows utilising common statistical analysis techniques for surface measurements.Therefore, the following methodology was used (see Fig. 5A):

541.A thin parallelepiped object was placed in the centre of the computational volume.2. A growth object modifier was applied to the object, using parameters chosen from a predefined set.3. A central part was cut from the modified object to avoid border effects.The central part was used in all following evaluations.4. The fractal dimension was calculated using the cube-counting method.5.A height field was constructed from the central part (see Fig. 6 for few examples).6.The thickness of the deposited (or subtracted) material was evaluated from the average surface value.7. The root mean square value S q of roughness was evaluated from the surface.8.The power spectral density function (PSDF) was calculated and averaged from the individual surface profiles and fitted by Gaussian PSDF model:

55where T is the correlation length.Note that this is based on assumption that the surface correlation function is Gaussian, which is not necessarily true for many of the surfaces.

56The parameters of the growth object modifier were chosen to cover the widest possible spectrum of statistical properties the methods can produce (based on a preliminary parametric survey).A snapshot of a single growth process, taken for different number of particles is shown in Fig. 6.By combining all the results, a database of surface properties was created, referring to particular object modifier parameters.By searching in the database we can choose roughening parameters leading to the desired surface roughness.Fig. 7 shows the summary of all the surface statistical parameters that were achieved within the growth modifier study using various probability factors, numbers of particles, etc.We can see that although the three statistical parameters are correlated (which is expected as it follows from the roughness growth theory [35]), a wide range of roughness parameters can be simulated.

57Since the surface roughness generation is a statistical process, every surface has slightly different statistical properties even if the input parameters are identical.We repeated the surface modification with the same parameters fifty times to assess the variation of resulting statistical parameters with random seed used for the calculation.For the fifty runs the following results and variances were obtained: S q = 1.92 ±0.05 nm, T = 2.3 ±0.1 nm, D f = 2.33 ±0.06.

58From this we can conclude that the individual randomly rough surface realisations are sufficiently similar for practical simulations.

59Checking what surface properties are obtained for a flat object with selected modifier parameters can be seen as a general technique for using the object modifiers in practice.However, it still has some disadvantages.First, such preparation can be timeconsuming even if we normally do not need to build an entire database similar to the one used here.Second, if the objects are concave, with deep trenches, caverns or similar complicated geometry, the resulting statistical properties may differ from the predicted ones.However, flat geometry is the only case for which roughness parameters such as S q can be evaluated in a standard manner.

Comparison to theoretical calculations

60Adding well-controlled imperfections to objects in FDTD calculations is useful for studying their impact on the optical response for geometries that are more complex than what could be handled by classical optical theories.For the same reason, however, a verification of FDTD results by comparing them with explicit theoretical calculations must be done using a simpler model system which can be described by the theory.Therefore, we compared the FDTD-computed specular reflection from a rough surface with second-order Rayleigh-Rice theory.

61Rayleigh-Rice theory expresses the Fresnel coefficient r q of light specularly reflected from a rough system as the sum of the corresponding coefficient for a smooth system and perturbation term r q : r q,rough = r q,smooth + r q .

62(5)

63Index q distinguishes the polarisation (p or s).The perturbation term is expressed using an integral with spectral density of roughness W (K) over the space of spatial frequencies K ∈ R 2 :

64where f q is a complicated function of K, optical constants and the incidence angle ϑ 0 [39][40][41].Vector K is equal to K = K − n 0 k 0 sin ϑ 0 e x , where n 0 is the refractive index of the ambient and k 0 is the corresponding wave vector.Other approaches for modelling of light specularly reflected from rough systems exist and are widely used in optics, for instance diffraction theories or effective medium approximations.However, Rayleigh-Rice theory is valid for larger S q /λ ratios than effective medium approximations (EMA) and does not require locally smooth surfaces, unlike diffraction theories.It is, therefore, a suitable theoretical approach for the following comparison.

65The model system was a germanium prism with varying Gaussian roughness modelled by spectral synthesis for S q = 0 to 50 nm and fixed T = 100 nm.The FDTD calculation was run in a computational volume of 500×500×150 voxels spaced equally in all directions by 10 nm and containing the 5 × 5 × 1.5 μm 3 large Ge prism.A Gaussian beam with wavelength of 633 nm was incident on the prism in the z axis direction.The specular reflection was evaluated using NFFF transformation.The results were normalised to the reflectance of smooth surface in order isolate the effect of roughness by eliminating the differences between the analytically known reflection from a smooth plane and FDTD results.In this case the difference was about 5% because of the combination of large extinction coefficient of germanium and FDTD discretisation that is fine enough to represent the chosen roughness, but not fine enough to represent the spatial field decay in germanium with high accuracy.If the voxel size is 4 times smaller the error in smooth germanium reflectance drops below 1%, however such voxel size would already need an extremely large mesh if the roughness should be added.

66The results are compared in Fig. 8a.It can be seen that FDTD slightly underestimates the impact of roughness.It is most likely an effect of staircasing, i.e. discretisation of simulated roughness.In particular, FDTD gives almost no effect for S q small compared to voxel size-such small roughness cannot be represented correctly in the voxel grid.This could be improved either by conformal modelling (at the cost of computation speed) or by using an EMA, weighing the materials in each voxel.

67Fig. 8a shows the results of using the Bruggeman EMA [42], frequently employed to model roughness, for representing the effective medium in voxels filled only partially by Ge.The addition of EMA improved the agreement for large S q , where it could help representing fine roughness details not captured by the voxel grid.However, for small roughness the results in fact became worsethe curve has non-zero derivative at S q = 0.This is not surprising; it is well known that the relation between EMA effective roughness layer and S q should be quadratic [43], but voxel material averaging gives a contribution linear in S q .

68There could be also other factors contributing to the differences.For instance the displacement field modifier can generate overhangs, whereas the Rayleigh-Rice theory assumes that surface is described by a (single valued) function.Therefore, the assumptions in the two approaches do not match exactly.Nevertheless, we can conclude that the FDTD results agree well with theoretical calculations for the reflectance of rough surfaces-provided that one takes care to choose a voxel size which can represent well the rough material boundary.In addition to keeping the voxel size below tenth of the wavelength, as needed by the Yee algorithm, it must also be kept small enough to incorporate the fine details of the roughness.In Fig. 8b we show how the result depends on voxel size for one of the roughnesses shown in Fig. 8a, with mean square roughness of 32 nm and correlation length of 100 nm.It can be seen that when the voxel size increases, the reflectance increases towards the smooth surface value (which would be 1).When EMA is used, the effect is less pronounced as the staircasing effect is reduced.The range in which we can prove it is however limited-by the amount of computer memory on the lower end and discreti- sation limit required by the Yee algorithm on the upper end.It should be noted that the Gaussian roughness created by spectral synthesis is locally smooth, which is certainly a benefit when we discretize the surface.For other roughness models, providing surfaces with higher amount of high spatial frequency components it might be more difficult to find a suitable voxel size.A convergence test similar to the one shown in Fig. 8b can help with such decision.

Application example: a rod antenna

69Here we present an example of interaction of light with a more complex rough nanoobject and a statistical evaluation of the influence of surface roughness.The example is still one of the simplest possible-an isolated nanoantenna formed by a single cylindrical rod capped by hemispheres.Using the approach presented above, in particular the growth object modifier, we created 60 different rough rod realisations for each set of parameter values.We then evaluated the resulting local field enhancement close to the rod apex.Spectral dependences of the field enhancement were calculated, and for a larger statistical ensemble also the enhancement value for the peak in this spectrum was evaluated.

70Details of the numerical experiment are as follows: the computational domain was a box with sides of 410 nm × 260 nm × 260 nm, with a voxel spacing of 1 nm (see Fig. 5B for schematics).

71It contained an aluminium rod of length approximately 120 nm (varying with different roughness realisations), placed in vacuum.We used the growth modifier to add a roughness to the rod, the parameters were chosen the database of the growth modifier parameters generated on a flat surface as described in section 4.2.

72All rods prepared for this calculation had the same mean square roughness S q = 3 nm, but different correlation lengths T from 2 to 8 nm.From the resulting thicknesses we tested that the growth modifier produces results are consistent with the simulations of flat surface that were used for database creation.A few examples of the generated rods are shown in Fig. 9a.Within the FDTD calculation the rod was illuminated by a plane wave using the total/scattered field approach with wavelengths ranging from 250 to 800 nm.The calculation was performed wavelength by wavelength.A second order absorbing boundary condition was used to let the light leave the computational domain.To reach a steady state, 12000 time steps were calculated, using the time step value of 0.8 • t, where t is the time step evaluated from FDTD stability criterion.Piecewise linear recursive convolution approach was used to treat the rod, formed of aluminium.The time step was adjusted by the factor 0.8 to keep the metal treatment approach stable.The computation output consisted of time dependences of field values in a defined position from the ideal rod apex in direction of its axis.Field amplitudes were evaluated Fig. 10.Spectral dependence of the field enhancement close to smooth and rough rod apex.Roughness parameter S q was 3 nm for all the rough rods.

73after reaching a steady state after a transient period at the start of the computation.

74The spectral dependences of the field enhancement in the vicinity of rod are plotted in Fig. 10 for rods with different correlation lengths.We can see that the overall enhancement varies in an order of magnitude, which is an effect of randomness in the rod surface shape.In some cases the roughness increases the field at the apex, namely due to lighting rod effect at sharp features pointing towards the point where the field is evaluated.In some cases the field intensity is even slightly smaller than for a smooth rod.We can also see shifts in the peak wavelength (maximum enhancement), which is mostly related to the rod length-despite taking care to prepare rods with the same mean length.Although this could still be caused by imperfections in our rod modification approach, it is possible mean rod length is no longer the parameter determining the peak wavelength when a relatively large roughness is present.

75The 60 different realisations of each rough rod were used to observe how the peak value of the field enhancement varies among different instances.To prevent a systematic error in the effective rod length, we searched the maximum value of the enhancement for each rod type independently.In Fig. 9b results of statistical analysis of the peak value of the field enhancement at the vicinity are shown, as evaluated from this statistical ensemble.We can see that there is a large variation in the field enhancement factor, particularly for larger surface correlation lengths.Yet there is no clear dependence of the mean enhancement factor on the correlation length.We could expect an influence of the correlation length on the enhancement for much longer rod antennas and longer correlation lengths, which will be the subject of a following study.The presented approach gives us an estimate of how much the real rod enhancements can vary in contrast to an ideal rod shape.A possible explanation is the presence of some hot spots close to the rod end, similarly to what was observed in tip-enhanced Raman spectroscopy [14] or in surface-enhanced Raman spectroscopy [15].

76The capability of evaluating the local variances of the electromagnetic field intensity caused by roughness is the most important feature of the presented approach.Results like those shown in 9b can help us understand how the imperfections caused by the manufacturing process in nanoscale optics propagate to the optical performance of the device.By coupling the FDTD solver with algorithms for local data modifications we can perform such studies in an efficient way.

Application example: a rough particle Mie scattering

77In the second example we show an application of the vector displacement modifier to light scattering by rough spheres.Light scattering on an ideal spherical particle is described by the well known Mie solution [44].This infinite series-based solution of the scattering problem is employed in many practical applications, e.g. in aerosol particle counters.Real particles are, however, not ideally spherical.Many works have proposed methods for inclusion of shape imperfections, both using more complex analytical models and numerical simulations [45].Surface roughness is one of the common possible distortions and we can use the surface modifiers in GSvit to explore its impact on the angular scattering diagrams.Since the angular dependence of scattering depends heavily on particle radius, it is important to do such analysis for particles of the same size, which can be achieved using the vector displacement modifier.

78A sphere of 400 nm radius (equal to 60 voxels for 6.667 nm voxel size) and relative permittivity of 4 was used.The computational domain was 360×360×360 voxels large and the sphere was located in its centre.It was illuminated using the Total/scattered field formalism by monochromatic light with 633 nm wavelength, with 2nd order absorbing boundary conditions.NFFF transformation was used for calculating field amplitudes of light scattered to different directions and perpendicular polarisation components were evaluated.

79The reference solution for an ideal sphere was calculated both using FDTD and Mie's scattering.Since staircasing, present in FDTD calculations, leads itself to the introduction of imperfections, we fitted the FDTD result by the Mie's solution to obtain the effective optical radius.For the smooth sphere it was 400.2 nm.We also evaluated a voxel-based effective radius by counting all the voxels occupied by the material and calculating the radius of a sphere with the same volume, which was 400.02 nm for the smooth sphere.

80Rough spheres were created by applying the spectral synthesis modifier with correlation length 20 nm and two different roughness values S q = 3.33 and 10 nm.For each roughness value, ten different curves were calculated for different random seeds of the modifier.The results are plotted in Fig. 11.

81We can see that for the smaller roughness S q = 3.33 nm the curves match quite closely the smooth sphere solution, with only minor deviations from the reference curve.The corresponding voxel-based radius was 400.18 ± 0.4 nm while the best fit from Mie solution was 400.04 ± 0.17 nm.For the larger roughness S q = 10 nm (see also the example in Fig. 1) the result deviates from the Mie's solution considerably more, in particular backscattering is increased significantly.Even though the voxel-based radius is nearly the same (400.2± 0.9 nm), the best fit from Mie solution is 398.2 ± 0.3 nm, so the effective optical radius seems to become smaller with increasing roughness.Similarly to the first example the possible variants of calculation are numerous and a systematic study will be topic of a forthcoming paper; here we wanted to illustrate the benefits of having a combination of a set of surface modifiers with a FDTD solver.

Conclusion

82We have presented a graphics card-compatible Finite-Difference Time-Domain solver with a set of extensions allowing local modifications of surface properties of objects in the computational domain.By combining fast computing on graphics cards and random surface topography modifications we can perform systematic studies of the effect of surface roughness on various nanoscale optics systems performance.This was validated by comparison to Rayleigh-Rice theory and illustrated by two examples, a study of roughness impact on variations of a rod nano-antenna field enhancement and angular scattering by rough spheres.As the surface modifiers can be applied to basically any object, the range of potential applications of the presented approach is wide.

83The benefit of performing the object modifications directly in the framework of the FDTD solver is that the additional information obtained during the roughness addition can be further used, e.g. to set up a local higher density grid or to calculate the effective material properties in the main grid.Even when the parameters used for object topography modification need to be determined via a trial-and-error approach, this allows substantially better control of the roughening process than in standard 3D modelling packages.Surface modification via ballistic deposition also introduces the basic physical phenomena known from diffusion-limited growth studies, and the created roughness should therefore better represent the topography of real objects in the micro-and nanotechnology area.All the presented algorithms are part of a publicly available open source software.

Fig. 2 .

84Fig. 2. Scheme of object boundary modification by function addition, illustrated for a sine function and random Gaussians.

Fig. 3 .Fig. 4 .

85Fig. 3. FDTD implementation performance on different computer processors and graphics cards (time necessary for calculating the same problem on different systems).(For interpretation of the colours in the figure(s), the reader is referred to the web version of this article.)

Fig. 5 .

86Fig. 5. Computational domain geometry for (A) roughness evaluation and (B) rod antenna field enhancement calculation.

Fig. 6 .

87Fig. 6.Series of snapshots of the growth process for the same random seed and increasing number of particles.The z axis placement of the surfaces corresponds to real layer thickness.

Fig. 7 .

88Fig. 7. Database of resulting statistical parameters for various parameters of growth object modifier.

Fig. 8 .

89Fig. 8. (a) Verification of the roughness addition by comparison to Rayleigh-Rice theory.(b) Dependence of the rough surface reflectance on the voxel size.Each value is an average of 15 FDTD runs, error bars correspond to the standard deviation.

Fig. 9 .

90Fig. 9. (a) examples of generated rough rod antennas; (b) statistical results for the peak value of field enhancement as a function of roughness correlation length.

Fig. 11 .

91Fig. 11.The effect of roughness on Mie scattering on a spherical particle.Results for two different roughness values, 3.3 nm (5 voxels) and 10 nm (20 voxels), are compared with smooth sphere (shown as solid black curve).The light intensities are plotted as relative.

참고문헌 42건

  1. Computational Electrodynamics: The Finite-Difference Time-Domain Method 1995
  2. Heating mechanisms in a near-field optical system Applied Optics · Optica Publishing Group · 1997 10.1364/ao.36.005951
  3. <i>Fractal Concepts in Surface Growth</i> Physics Today · AIP Publishing · 1995 10.1063/1.2808215
  4. Generation of an incident focused light pulse in FDTD Optics Express · Optica Publishing Group · 2008 10.1364/oe.16.019208
  5. Effects of shaded facets on the performance of metal-coated etched diffraction grating demultiplexer Optics Communications · Elsevier BV · 2006 10.1016/j.optcom.2006.04.057
  6. Berechnung verschiedener physikalischer Konstanten von heterogenen Substanzen. I. Dielektrizitätskonstanten und Leitfähigkeiten der Mischkörper aus isotropen Substanzen Annalen der Physik · Wiley · 1935 10.1002/andp.19354160705
  7. On the convergence and accuracy of the FDTD method for nanoplasmonics Optics Express · Optica Publishing Group · 2015 10.1364/oe.23.010481
  8. Scattering From Two-Dimensional Objects of Varying Shape Combining the Method of Moments With the Stochastic Galerkin Method IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 2014 10.1109/tap.2014.2330583
  9. Ellipsometric parameters and reflectances of thin films with slightly rough boundaries Journal of Modern Optics · Taylor & Francis · 1998 10.1080/09500349808230887
  10. Scanning near-field optical microscopy of metallic features Optics Communications · Elsevier BV · 2005 10.1016/j.optcom.2005.06.073
  11. Near‐field optical microscopy simulations using graphics processing units Surface and Interface Analysis · Wiley · 2010 10.1002/sia.3341
  12. Local field enhancement of pair arrays of silver nanospheres Optics Communications · Elsevier BV · 2009 10.1016/j.optcom.2009.06.050
  13. Rough surface scattering simulations using graphics cards Applied Surface Science · Elsevier BV · 2010 10.1016/j.apsusc.2010.03.028
  14. Nanoscale Roughness on Metal Surfaces Can Increase Tip-Enhanced Raman Scattering by an Order of Magnitude Nano Letters · American Chemical Society · 2007 10.1021/nl070616n
  15. Gwyddion: an open-source software for SPM data analysis Open Physics · De Gruyter Open · 2011 10.2478/s11534-011-0096-2
  16. Resonant excitation of tip plasmons for tip-enhanced Raman SNOM Ultramicroscopy · Elsevier BV · 2004 10.1016/j.ultramic.2003.11.019
  17. Surface roughening in shadowing growth and etching in<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mn>2</mml:mn><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:math>dimensions Physical review. B, Condensed matter · American Physical Society · 2000 10.1103/physrevb.62.2118
  18. Beiträge zur Optik trüber Medien, speziell kolloidaler Metallösungen Annalen der Physik · Wiley · 1908 10.1002/andp.19083300302
  19. Reflection of electromagnetic waves from slightly rough surfaces Communications on Pure and Applied Mathematics · Wiley · 1951 10.1002/cpa.3160040206
  20. Comparison of scattering by different nonspherical, wavelength-scale particles Journal of Quantitative Spectroscopy and Radiative Transfer · Elsevier BV · 2012 10.1016/j.jqsrt.2012.03.032
  21. Local and average electromagnetic enhancement in surface-enhanced Raman scattering from self-affine fractal metal substrates with nanoscale irregularities Chemical Physics Letters · Elsevier BV · 2002 10.1016/s0009-2614(02)01710-4
  22. The role of propagating and evanescent waves in scanning near-field optical microscopy Optics Communications · Elsevier BV · 2005 10.1016/j.optcom.2005.10.063
  23. Preparation and optical properties of silver nanowires and silver-nanowire thin films Journal of Colloid and Interface Science · Elsevier BV · 2011 10.1016/j.jcis.2010.12.077
  24. Corrugated metal–coated tapered tip for scanning near–field optical microscope Optics Express · Optica Publishing Group · 2007 10.1364/oe.15.010920
  25. Computational electrodynamics, the finite-difference time-domain method Journal of Atmospheric and Terrestrial Physics · Elsevier BV · 1996 10.1016/0021-9169(96)80449-1
  26. Large-scale uniform Au nanodisk arrays fabricated via x-ray interference lithography for reproducible and sensitive SERS substrate Nanotechnology · IOP Publishing · 2014 10.1088/0957-4484/25/24/245301
  27. Theoretical analysis of the atomic force microscopy characterization of columnar thin films Ultramicroscopy · Elsevier BV · 2002 10.1016/s0304-3991(02)00159-6
  28. Meep: A flexible free-software package for electromagnetic simulations by the FDTD method Computer Physics Communications · Elsevier BV · 2009 10.1016/j.cpc.2009.11.008
  29. FDTD local grid with material traverse IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 1997 10.1109/8.558656
  30. Numerical solution of initial boundary value problems involving maxwell's equations in isotropic media IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 1966 10.1109/tap.1966.1138693
  31. A new multistack radiation boundary condition for FDTD based on self-teleportation of fields Journal of Computational Physics · Elsevier BV · 2004 10.1016/j.jcp.2004.08.011
  32. A Total-Field/Scattered-Field Plane-Wave Source for the FDTD Analysis of Layered Media IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 2008 10.1109/tap.2007.913088
  33. Dielectric versus topographic contrast in near-field microscopy Journal of the Optical Society of America A · Optica Publishing Group · 1996 10.1364/josaa.13.001801
  34. Computing the optical near-field distributions around complex subwavelength surface structures: A comparative study of different methods Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1996 10.1103/physreve.54.4285
  35. Near- and far-field calculations in FDTD simulations using Kirchhoff surface integral representation IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 1997 10.1109/8.575616
  36. Effective medium approximation of ellipsometric response from random surface roughness simulated by finite-element method Thin Solid Films · Elsevier BV · 2016 10.1016/j.tsf.2016.01.054
  37. Compute unified device architecture (CUDA) based finite-difference time-domain (FDTD) implementation The Applied Computational Electromagnetics Society Journal (ACES) · Applied Computational Electromagnetics Society · 2010
  38. Efficient method to calculate the optical quantities of multi-layer systems with randomly rough boundaries using the Rayleigh–Rice theory Physica Scripta · IOP Publishing · 2019 10.1088/1402-4896/aafbc1
  39. Geometrically Stochastic FDTD Method for Uncertainty Quantification of EM Fields and SAR in Biological Tissues IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 2019 10.1109/tap.2019.2930171
  40. Fractal Concepts in Surface Growth 1995 10.1017/cbo9780511599798
  41. The calculation of various physical constants of heterogeneous substances. I. The dielectric constants and conductivities of mixtures composed of isotropic substances Annals of Physics · Elsevier BV · 1935
  42. 2007 DoD High Performance Computing Modernization Program Users Group Conference 2007 10.1109/dod-hpcmp-ugc13874.2007