TAGGED: Lumerical-FDTD, lumerical-script
March 14, 2023 at 2:39 pmwilliamfraser3Subscriber
Is it not possible to use the setglobalsource function inside the setup script of the ::model object? I am simulating a grating coupler with port objects in Lumerical FDTD. I want to have a wavelength variable in the ::model setup that can be used to set the operating wavelength from a script but it says setglobalsource is not a valid function or variable name. How else can I change the wavelength of the input port?
March 14, 2023 at 7:47 pmGuilin SunAnsys Employee
Not every script can work in groups or model. Unfortunately, "setglobalsource" does not work in model.
When "setglobalsource" does not work, please try other method. For example, you can preset the global source parameters and save it into a template project file. Everyting you need it, load it first, save it to a new file name to prevent modification of the template.
You can also file a feature request. Please refer to this post
- 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.
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.
- Ganhemt Project mistake can you help me
- how to export results from SPEOS to Mechanical
- Negative Reflection Problem
- Simple Optical simulation
- How to calculate the cross-polarization efficiency and phase in FDTD
- Ansys SPEOS- Diffusion Coefficient of a fluorescence
- Inverse design of polymer y-branch – modify the example provided
- Purcell Factor on Dielctric Mirror
- Light reflection on a XMP map
© 2023 Copyright ANSYS, Inc. All rights reserved.