-
-
September 19, 2024 at 4:24 amkai.w.abSubscriberI ran the simulation with FDTD and nothing remained in the results. I placed a port on a photonic crystal made of silicon from which I excited the basic mode.
I used Python script when setting up the objects.The simulation log contained the following error statement.Error: the source field data for '::port 1 Mode Source' is not valid for the source orientation and dimension.What are the possible causes? -
September 19, 2024 at 4:02 pmGuilin SunAnsys Employee
It is hard to diagnoise here without details of your settings. I would suggest that you manually setup a similar simple device and add the port exactly the same as you are currently using and check if it works. In principle FDTD can have mode source in xy,xz and yz plane without any issue for 3D simulation. Please check your simulation "dimension" to see if it is 2D and you add the mode source in xy plane. Before using advanced method please use simple way to verify the settings. If problem still exists, please post some screen copies here.
-
September 20, 2024 at 3:24 amkai.w.abSubscriberThank you for your response.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 npimport lumapifdtd = lumapi.FDTD()#—————set constant——————————————-a=0.46e-6b=a*1e6nx=14ny=100G=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-15fdtdObj.simulation_temperature=300fdtdObj.background_material=”
-
-
September 20, 2024 at 8:57 pmGuilin SunAnsys Employee
Unfortunately we are not allowed to test script in this forum. Before running the FDTD, please check if the FDTD file is correct and proper. Once it is ok, you can use another python file to run it, in order to isolate the cause. Please try simple structure first.
-
- You must be logged in to reply to this topic.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- How to measure transmission coefficients on a given plane .
-
1507
-
599
-
597
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.