-
-
March 12, 2023 at 9:30 am
teddie smith
SubscriberI wrote a code that allows me to view farfield results at a specific wavelength and distance (r). The wavelength range is from 380nm to 780nm, and I obtained farfield results at -90~90 degrees. However, when I set r=1 in my code, the image differs slightly from the one produced using FDTD's farfield visualizer. Specifically, my result image is slightly shifted upwards. Is there any problem in my code?
-
March 17, 2023 at 10:01 pm
Guilin Sun
Ansys EmployeeSorry to reply you late as our team is busy in other projects.
The reason most like due to the fact that, inside FDTD, it records frequency so equi-distance frequency does not lead to equi-distance wavelength. However in your script you sampled the wavelength uniformly. I would suggest to get the frequency data from simulation for your script and then compare the results.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error: addfdtd is not a valid function or a variable name
- Error on Lumerical device
- Using a license file on a new license server
- Ansys Insight: Transmission results greater than one
- Ansys Insight: Diverging Simulations
- Ansys Insight: About override mesh in FDTD: its use and settings
- Is there a Lumerical script command to output the Simulation and Memory requirements?
- Ansys Insight: Convergence issues in CHARGE
-
3812
-
2605
-
1849
-
1244
-
600
© 2023 Copyright ANSYS, Inc. All rights reserved.