Sorry for asking abstract questions without sending details.
The python script we used for the setup is as follows (I inserted 2d photonic crystals structure as holes in the part that imports the gds files)
import numpy as np
import lumapi
fdtd = lumapi.FDTD()
#—————set constant——————————————-
a=0.46e-6
b=a*1e6
nx=14
ny=100
G=11
#—————-set FDTD————————————————-
fdtd.addfdtd(dimension=”3D”, x = 0,x_span=4*b*nx*1e-6, y = 0, y_min=-20*b/0.5*1e-6, y_max=ny*b*1e-6 , z = 0.0, z_span=220e-9)
fdtdObj= fdtd.getObjectById(“::model::FDTD”)
fdtdObj.simulation_time=3000e-15
fdtdObj.simulation_temperature=300
fdtdObj.background_material=”
Please Login to Report Topic
Please Login to Share Feed
Edit Discussion
You are navigating away from the AIS Discovery experience
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.
Ansys Assistant
Welcome to Ansys Assistant!
An AI-based virtual assistant for active Ansys Academic Customers. Please login using your university issued email address.
Hey there, you are quite inquisitive! You have hit your hourly question limit. Please retry after '10' minutes. For questions, please reach out to ansyslearn@ansys.com.