GSvit documentation

open source FDTD solver with GPU support

User Tools

Site Tools


docs:become

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
docs:become [2020/04/14 14:24]
pklapetek
docs:become [2020/04/14 14:24]
pklapetek
Line 15: Line 15:
  
  
-To test the correctness of the newly implemented code we compared a simple transmission grating diffraction pattern to the analytically known solution. ​+To test the correctness of the newly implemented code we compared a simple ​**transmission grating** diffraction pattern to the analytically known solution. ​
 There are at least two possible ways how to treat the grating in FDTD calculation. First of all, we can setup the grating physically in the computation domain, as large as possible, run the calculation and evaluated the far field response. As we are usually interested in an infinite grating response, this would mean an infinite computational domain. Instead, we can use periodic boundary conditions, compute only one motive and evaluate the far field data. This still does not provide the results if the far field data are evaluated only from the single motive, we need to evaluate it from many virtual repetitions to get the impact of some number of motives. There are at least two possible ways how to treat the grating in FDTD calculation. First of all, we can setup the grating physically in the computation domain, as large as possible, run the calculation and evaluated the far field response. As we are usually interested in an infinite grating response, this would mean an infinite computational domain. Instead, we can use periodic boundary conditions, compute only one motive and evaluate the far field data. This still does not provide the results if the far field data are evaluated only from the single motive, we need to evaluate it from many virtual repetitions to get the impact of some number of motives.
 In most of the graphs here we show complete diffraction pattern. In most of the graphs here we show complete diffraction pattern.
Line 46: Line 46:
  
  
-The Become benchmark grating was setup with voxel spacing of 5 nm in every direction. The total computational domain size was 240x100 voxels. The grating was formed by silver, using the PLRC metal handling approach. Periodic boundary conditions were used to introduce the grating periodicity. Total/​scattered field approach was used to inject the plane wave normally to the surface. TE mode calculation was used for this 2D case, which should be the p-polarisation case as requested. Near-to-far field calculation domain was set up to be outside of the plane wave source region, so only reflected and scattered electric field was propagated to the far-field. Time domain far field calculation was used. Far field data were calculated for wide range of angles for debugging purposes (i.e. not only for the directions of the particular diffraction orders).+The **Become benchmark grating** was setup with voxel spacing of 5 nm in every direction. The total computational domain size was 240x100 voxels. The grating was formed by silver, using the PLRC metal handling approach. Periodic boundary conditions were used to introduce the grating periodicity. Total/​scattered field approach was used to inject the plane wave normally to the surface. TE mode calculation was used for this 2D case, which should be the p-polarisation case as requested. Near-to-far field calculation domain was set up to be outside of the plane wave source region, so only reflected and scattered electric field was propagated to the far-field. Time domain far field calculation was used. Far field data were calculated for wide range of angles for debugging purposes (i.e. not only for the directions of the particular diffraction orders).
 The model setup and a calculation snapshot of the periodic area are shown in the following figure. The model setup and a calculation snapshot of the periodic area are shown in the following figure.
 The far field was evaluated from a fixed number of repetitions of the near-field values, the presented results therefore represent scattering by a finite size grating. The far field value in the direction of the maxima is however not affected by size of grating (number of repetitions),​ only its sharpness is affected. The far field was evaluated from a fixed number of repetitions of the near-field values, the presented results therefore represent scattering by a finite size grating. The far field value in the direction of the maxima is however not affected by size of grating (number of repetitions),​ only its sharpness is affected.
docs/become.txt ยท Last modified: 2020/04/24 12:27 by pklapetek