-
-
March 23, 2021 at 9:49 am
MANNAN
SubscriberMarch 23, 2021 at 5:31 pmGuilin Sun
Ansys Employeeyou can use set(set time domain,1); to enable a tab property. One this is enabled, you can set other properties, as you did in the script, such asnset(offset,3e-12);nplease note that the units in scripting are international standard, meter, second, kg etc.nnyou can usen?set; when an object is selected to know all its parametersnorn?setnamed(object_name) to know the parameters for a specific object.nnPlease try and check if all the set results are what you expect.nMarch 23, 2021 at 5:34 pmGuilin Sun
Ansys EmployeePlease note that since the source is a pulse, even through you set the wavelength bandwidth zero, it will still be a pulse, meaning it will radiate em waves in a broadband. nMarch 26, 2021 at 4:21 pmMANNAN
SubscriberThanks a lot it worked nMarch 26, 2021 at 4:28 pmGuilin Sun
Ansys EmployeeThank you for letting me know this! good luck in your project!nMarch 26, 2021 at 6:04 pmMANNAN
SubscriberCould you please further help in regarding the thisx=linspace(-d/2,d/2,N); # x position vectornnfor (i=1:N) {nadddipole;nset(x,x(i)); nset(y,0);nset(z,0);n}nThis code will make a line of N dipoles along the x-axis between length -d till d. with equal spacingnnSuggestions required in making a script that will make a cone of dipole along xz direction with radius r in x-direction and depth along z-axis nnLooking forward to hearing soonMarch 26, 2021 at 10:48 pmGuilin Sun
Ansys EmployeeThe code looks good for me. In order to make the dipoles to be in a cone in xz plane, you will need to change x(i) and z(i) as a cone, and then place the dipoles there. Please try to modify your script.nViewing 6 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth 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.
Trending discussions- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error on Lumerical device
- Using a license file on a new license server
- Error: addfdtd is not a valid function or a variable name
- Ansys Insight: Diverging Simulations
- Ansys Insight: Transmission results greater than one
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Convergence issues in CHARGE
- Is there a Lumerical script command to output the Simulation and Memory requirements?
Top Contributors-
2630
-
2104
-
1329
-
1110
-
461
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-