Skip to content

Metalens [RCWA]

Digital Twin Specification
Twin Code:
CS-MPCA01
Twin Name:
Metalens [RCWA]
Twin Family:
Metalens
Family Role:
Designs and simulates a rotationally symmetric metalens from a target wavefront phase profile using RCWA-trained surrogate models.
Category:
Component
Type:
Structure-Based
Version:
1.0
VLF Package:
Flat Lens Package
Last Updated:
2026-10-03

1 Purpose

The Metalens [RCWA] twin is used to design, simulate, and export fabrication data for rotationally symmetric metalenses inside a complete VirtualLab Fusion optical system.

The user defines the optical function through a target wavefront phase profile. The physical meta-atom response is supplied by a trained surrogate model whose training data are generated from RCWA calculations. During design, VirtualLab Fusion maps the requested local phase behavior to meta-atom geometry while accounting for the actual illumination conditions at the metalens.

This separates two useful tasks:

  • optical-function definition through the target wavefront phase profile;
  • physical metalens realization and system simulation through the bound RCWA-trained surrogate model.

2 Geometric Support

The component uses a planar base surface and a circular aperture. The metalens design is rotationally symmetric.

The target wavefront phase can be specified in two supported ways:

Even Order Radial Polynomial

The phase is defined by even radial powers,

\[ \phi(\rho)=\sum_i A_i \rho^{2i}, \tag{1} \]

with a user-defined polynomial degree, coefficients, and normalization radius.

VirtualLab Fusion can also import the corresponding coefficients from a Zemax OpticStudio Binary 2 surface.

User Defined Formula

Alternatively, the radial wavefront phase profile can be defined with a C# snippet. The user-defined implementation provides the phase value and its radial gradient.

⚠️ Design state: Once the metalens has been designed, the aperture size and wavefront phase profile become part of the stored design state and the corresponding controls are restricted accordingly. Reset the design before changing design-defining inputs.

3 Supported Simulation Modes

The twin supports two complementary simulation workflows.

Ray Tracing - First Look

Ray tracing can be used before a physical metalens design has been generated. It evaluates the optical function represented by the specified wavefront phase profile and is therefore useful as a fast first check of focal position and overall system behavior.

A trained surrogate model is not required for this initial phase-profile-level investigation.

Field Tracing - Design and Physical Response

Field tracing uses the physical meta-atom response represented by the bound surrogate model.

If the metalens has not yet been designed, the first field-tracing run opens the design workflow. After the design is completed, the geometry distribution and design information are stored in the component and subsequent simulations reuse the design.

The stored design can then be evaluated with different incident fields, provided the required illumination conditions are covered by the surrogate model.

4 Simulation and Design Model

RCWA-Trained Surrogate Model

Direct RCWA evaluation of every meta-atom during every system simulation would be prohibitively expensive for large metalenses. The Metalens [RCWA] workflow therefore uses a surrogate model trained from many RCWA calculations.

The surrogate training can cover:

  • wavelength and spectral range;
  • incident angles;
  • medium before and behind the meta-cell;
  • meta-atom geometry parameters.

The current VirtualLab Fusion implementation supports Pillar and Nanofin meta-atoms. For pillars, the training varies the pillar size; for nanofins, the defined rectangular structure is varied through rotation.

The trained surrogate can also be inspected independently through forward queries and design-related scans before it is bound to a metalens.

Design with the Actual Incident Field

The design is performed in the context of the optical system. The incident field reaching the metalens can already contain wavefront curvature, angular variation, and polarization changes introduced by preceding elements.

The design therefore uses the actual local illumination rather than assuming that the metalens is always illuminated by one fixed plane wave.

For each radial position, the design process selects a meta-atom configuration that best realizes the requested target phase for the local illumination conditions represented by the surrogate model.

Design Information

After design, VirtualLab Fusion exposes design information including the design wavelength and result quantities such as phase error and calculated transmittance. The stored design can be reset if a new design is required.

5 Parameters Where This Sheet Adds Guidance

Aperture
Role: Defines the circular clear aperture of the metalens.
Spec-sheet insight: Before design, the aperture is a design-defining input. After design, its size is fixed by the stored metalens design; only edge-width settings remain adjustable.
Wavefront Phase Profile
Role: Defines the optical function to be realized.
Spec-sheet insight: Use **Even Order Radial Polynomial** for conventional rotationally symmetric lens/asphere descriptions and **User Defined Formula** when the radial target phase requires a custom analytic definition.
Surrogate Model
Role: Supplies the physical meta-atom response used for design and field simulation.
Spec-sheet insight: The surrogate must cover the relevant wavelength, angular, material, and geometry ranges of the intended application. A metalens simulation is only as meaningful as the response domain represented by the bound surrogate.
Meta-Atom Type
Role: Defines the structural degree of freedom represented by the surrogate.
Spec-sheet insight: The current implementation supports Pillar and Nanofin structures. The selected type is determined by the bound surrogate model rather than chosen independently afterward in the metalens component.
Design Polarization and Simulation Modes
Role: Define how polarization-dependent meta-atom behavior is used during design and subsequent simulation.
Spec-sheet insight: This is particularly important for nanofin structures. The current phase-response guidance uses an appropriate polarization basis for the selected meta-atom family; design and simulation polarization settings should remain consistent with the surrogate and intended optical function.
Surrogate Training Range
Role: Defines the illumination and geometry domain for which the surrogate has learned RCWA responses.
Spec-sheet insight: Do not treat a trained model as universally valid for arbitrary wavelength or incidence angle. Configure the training range for the expected system conditions and pay attention to range warnings during simulation.

Use CS-MPCA01 - Metalens [RCWA] when the goal is to move from a desired rotationally symmetric wavefront transformation to a physical meta-atom layout that can be simulated inside the complete optical system and exported for fabrication.

Practical Workflow

  1. Add Metalens [RCWA] to the optical system.
  2. Set the medium behind the component and define the circular aperture.
  3. Define the target wavefront phase profile:
  4. Even Order Radial Polynomial, or
  5. User Defined Formula.
  6. Optionally import radial polynomial coefficients from a Zemax Binary 2 surface.
  7. Create or select a surrogate model whose training range covers the intended wavelength, angles, media, and structural parameters.
  8. Train the surrogate model from RCWA calculations if no suitable trained model is available.
  9. Bind the trained surrogate model to the Metalens [RCWA] component.
  10. Use Ray Tracing for a quick first look at the target optical function.
  11. Run Field Tracing to trigger the physical metalens design when no design has yet been stored.
  12. Review the resulting design information, phase error, and calculated transmittance.
  13. Continue system-level field simulations with the stored design.
  14. Export the final structure to GDSII when fabrication data are required.

Fabrication Export

The designed metalens can be exported directly to GDSII. For circular meta-atoms, the export dialog allows the polygonal approximation of each circle to be controlled through the number of points per circle. Rectangular or quadratic structures do not require this circle-approximation setting.

⚠️ Workflow note: Ray tracing validates the requested phase-function behavior; field tracing is the step that invokes the physical RCWA-surrogate-based metalens design and response.
Related Twin Main Distinction
CF-MLGPS01 - Metalens [Geometric Phase] Function-based metalens model using the geometric-phase principle rather than an RCWA-trained physical meta-atom design workflow.
CF-MSGP01 - Metasurface [Geometric Phase] General geometric-phase metasurface for wavefront transformation rather than a structure-based rotationally symmetric metalens design.
CS-DILL01 - Diffractive Lens [LLGA] Structure-based diffractive-lens model based on diffractive structure modeling rather than meta-atom surrogate responses.
SF-GAUS01 - Gaussian Beam Mode Common source for testing focusing, collimation, aberration, and off-axis response of the designed metalens.

8 Possible Replacement Twins

Possible Replacement Twin When It Replaces This Twin
CF-MLGPS01 - Metalens [Geometric Phase] Use when a functional geometric-phase metalens model is sufficient and explicit RCWA-trained meta-atom design is not required.
CF-MSGP01 - Metasurface [Geometric Phase] Use when the required element is a more general geometric-phase metasurface rather than a rotationally symmetric lens.
CS-DILL01 - Diffractive Lens [LLGA] Use when the structure is a diffractive lens and the relevant physical model is a diffractive-grating approximation rather than a metalens meta-atom response.
Ideal / phase-only lens models Use for early optical-layout studies when physical meta-atom efficiency, polarization response, fabrication geometry, and RCWA-derived behavior are outside the scope of the simulation.

9 Further Reading