Skip to content

Sunghwan0112/Waveguide-Sine-Modulation-Dipole-Simulation-Public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Ansys Waveguide Modulation with Python Automation 💻

Description 📃

This GitHub repository hosts the source code and accompanying documentation for an advanced simulation project that leverages Ansys Lumerical software and Python. The project is dedicated to optimizing waveguide structures for efficient light propagation, employing sine wave grating techniques. It encompasses two primary components: automated Ansys simulations for precise structural adjustments and Python-based Dipole simulations for validating theoretical models.

The private link has the codes: https://github.com/Sunghwan0112/Ansys_Project.git

Features ✨

  • Automated Structural Modifications: Leverage the Ansys Lumerical Python API to automatically adjust waveguide dimensions to meet precise specifications.

structure

  • Material and Design Specifications:
    • Waveguide Core: The core material, featuring a refractive index of 2.0, is modulated with subtle sine wave variations.
    • Supporting Structure: SiO2 box with a refractive index of 1.44 to isolate the waveguide.
  • Simulation Techniques:
    • Mode Injection: Use of Port 2 to inject light modes with minimal refractive index leakage.
    • Data Acquisition: Capture E-field data at Port 1 using ANSYS Lumerical FDTD for comprehensive analysis.
    • Grating Modulation: Control over the waveguide’s modulation via variables like K_grating and x_span.

Detailed Results 📊

Ansys Simulation Results

  • Grating Efficiency Analysis: The sine wave grating consistently produces the highest peak, which aligns closely with theoretical expectations, demonstrating the best optical diffraction efficiency.

Ansys_Simulation

  • Waveguide Length Consideration: The analysis determined the minimum waveguide length required for effective light transmission, which enhances the setup's practical application in real-world scenarios.

Decay

Dipole Simulation Results

  • Model Validation: The Dipole Simulation results matched perfectly with theoretical values, confirming the accuracy of the simulation models used.

Dipole_Simulation

  • Efficiency Comparison: Dipole Simulations demonstrated a similar trend in efficiency across varying grating shapes, with adjustments in dipole configuration slightly altering the output, highlighting the importance of precise mode selection.
  • Scalability: Successfully extended the 2D modeling equations to 3D to accommodate realistic scenarios and broader application contexts.

Dipole_3D

  • Operational Flexibility: Unlike Ansys Simulation, Dipole Simulation does not depend heavily on mode selection, offering more robust and consistent results.

Installation Instructions ⚙️

  1. Clone the Repository:
    git clone https://github.com/Sunghwan0112/Waveguide-Modulation-Project-ECE-M.S.
  2. Setup Environment:
    • Ensure Python 3.8+ is installed.
    • Install Ansys Lumerical software and configure it to integrate with Python.

Contact 📬

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published