Skip to main content
QUICK REVIEW

[Paper Review] User Guide for the Discrete Dipole Approximation Code DDSCAT 7.2

B. T. Draine, Piotr J. Flatau|arXiv (Cornell University)|Feb 15, 2012
Microwave Imaging and Scattering AnalysisEngineering2 references326 citations
TL;DR

This paper presents DDSCAT 7.2, a freely available open-source Fortran-90 code that uses the discrete dipole approximation (DDA) to compute electromagnetic scattering and absorption by arbitrary-shaped particles and periodic nanostructures. It enables accurate simulations for targets with size parameters up to 25 and refractive indices not far from unity, supporting advanced features like MPI, OpenMP, MKL, near-field field calculations, and user-defined geometries.

ABSTRACT

DDSCAT 7.2 is a freely available open-source Fortran-90 software package applying the discrete dipole approximation (DDA) to calculate scattering and absorption of electromagnetic waves by targets with arbitrary geometries and complex refractive index. The targets may be isolated entities (e.g., dust particles), but may also be 1-d or 2-d periodic arrays of "target unit cells", which can be used to study absorption, scattering, and electric fields around arrays of nanostructures. The DDA approximates the target by an array of polarizable points. The theory of the DDA and its implementation in DDSCAT is presented in Draine (1988) and Draine & Flatau (1994), and its extension to periodic structures in Draine & Flatau (2008). Efficient near-field calculations are enabled following Flatau & Draine (2012). DDSCAT 7.2 allows accurate calculations of electromagnetic scattering from targets with size parameters 2*pi*aeff/lambda < 25 provided the refractive index m is not large compared to unity (|m-1| < 2). DDSCAT 7.2 includes support for MPI, OpenMP, and the Intel Math Kernel Library (MKL). DDSCAT 7.2 supports calculations for a variety of target geometries (e.g., ellipsoids, regular tetrahedra, rectangular solids, finite cylinders, hexagonal prisms, etc.). Target materials may be both inhomogeneous and anisotropic. It is straightforward for the user to import new target geometries into the code. DDSCAT 7.2 calculates total cross sections for absorption and scattering and selected elements of the Mueller scattering intensity matrix for specified orientation of the target relative to the incident wave, and for specified scattering directions. DDSCAT 7.2 calculates E throughout a user-specified rectangular volume containing the target. A Fortran-90 code READNF to read E and P from files created by DDSCAT 7.2 is included in the distribution.

Motivation & Objective

  • To provide a comprehensive user guide for DDSCAT 7.2, an open-source code implementing the discrete dipole approximation (DDA) for electromagnetic scattering calculations.
  • To enable researchers to model scattering and absorption by arbitrary-shaped particles, including inhomogeneous and anisotropic materials, with high accuracy.
  • To support simulations of periodic arrays (1D and 2D) of nanostructures, extending DDA to structured materials relevant to plasmonics and metamaterials.
  • To facilitate efficient computation through parallelization via MPI and OpenMP, and integration with Intel MKL for optimized linear algebra operations.
  • To offer detailed documentation for near-field electric field calculations, enabling advanced analysis of local field enhancements and radiation forces.

Proposed method

  • The DDA discretizes the target into a lattice of polarizable dipoles, solving the coupled dipole equations using iterative solvers such as conjugate gradient methods.
  • The code employs fast Fourier transforms (FFTs) to accelerate matrix-vector products in the iterative solution, significantly reducing computational cost.
  • For periodic structures, the method incorporates periodic boundary conditions (PBCs) using the Ewald summation technique to handle long-range dipole-dipole interactions.
  • Near-field electric field distributions are computed and stored in user-defined volumes, with a separate Fortran utility (readnf) provided for post-processing.
  • The code supports user-defined target geometries via input files specifying dipole positions and material compositions, enabling flexible modeling of complex shapes.
  • It computes scattering properties including total absorption and scattering cross-sections, Mueller scattering matrix elements, and radiative forces via orientation averaging.

Experimental results

Research questions

  • RQ1How accurately can DDSCAT 7.2 simulate electromagnetic scattering and absorption for finite, arbitrary-shaped particles with complex refractive indices?
  • RQ2What is the performance and scalability of DDSCAT 7.2 when using MPI and OpenMP for large-scale simulations?
  • RQ3To what extent does the inclusion of near-field field calculations enhance the analysis of local electromagnetic enhancements in nanostructured materials?
  • RQ4How does the DDA implementation in DDSCAT 7.2 handle periodic arrays of nanostructures, and what are the key numerical considerations for convergence?
  • RQ5What are the computational and memory trade-offs when using single vs. double precision arithmetic in DDSCAT 7.2 simulations?

Key findings

  • DDSCAT 7.2 enables accurate electromagnetic scattering calculations for targets with size parameters up to 25 and refractive indices where |m − 1| ≤ 2.
  • The code achieves high performance through integration with MPI, OpenMP, and Intel MKL, allowing efficient scaling on multi-core and distributed-memory systems.
  • Near-field electric field calculations are efficiently computed using FFT-based methods, with results stored for post-processing via the readnf utility.
  • The code supports a wide range of target geometries, including ellipsoids, cylinders, rectangular prisms, and user-defined shapes via input files.
  • The implementation of periodic boundary conditions allows accurate modeling of 1D and 2D arrays of nanostructures, with proper treatment of long-range interactions.
  • The user guide provides detailed instructions for compiling, configuring, and running simulations, including parameter file structure and output interpretation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.