March 8, 2021 at 7:31 pmA_TofiniSubscriber
I am trying to simulate a logarithmic taper so I have provided the custom object structure two log functions (natural log not base 10), one for the top curve and one for the bottom. The idea is for it to start at x=0 with the bottom curve at y=0 and the top curve at y=0.065 um. At x=65um the bottom curve should be at y=0.065um and the top curve at y=0.257um.
The simulated taper is not being generated as I expect based off the provided equations. It does not start at x=0 which make me think there is a negative issue in the log. However when I plot my functions in Matlab, they behave as expected. I must have some misconception on how this “custom” object needs to be defined.
I have attached the FDTD simulation showing my issue as well as a Matlab plot demonstrating what I am trying to achieve. The blue lines are the linear baseline i.e what the original taper was. and the red line is the desired logarithmic variation.
I am using Lumerical 2021.
Thanks for any help you can provideMarch 10, 2021 at 3:13 amKyleAnsys EmployeenAnsys staff are not able to download files from the ALF, can you please provide some screenshots of the object and the object's geometry properties?.ote that the origin of the coordinate system used by the equations is the center of the custom object, not the global simulation coordinate system. This page has more information:nWhich coordinate system are you using?nMarch 11, 2021 at 7:34 pmA_TofiniSubscriberEqn1: 0.1000000000000000*log(11.20587979679935+x)-0.1766438622403369nEqn2: 0.1000000000000000*log(70.99628759321385+x)-0.4262627588254757nnHopefully this will be enough to substitute for the file you cant open.nnMarch 17, 2021 at 12:59 amKyleAnsys EmployeenIt looks like you included the image files as attachments, which unfortunately I can't download either. Can you please place them directly in the post? As in, copy and past them directly into the post, rather than as attachments.nMarch 24, 2021 at 4:27 pmMarch 24, 2021 at 10:35 pmKyleAnsys EmployeenYou need to increase the y span of the object, it needs to large enough to contain the shape of the object. Also, the center of your object is at (32.5, 0), not (0,0), so the coordinates used by the equation are different than the global coordinate system. You will need to account for this in your equations.nMarch 25, 2021 at 12:02 amAlexTofSubscriberSeems like the center of the object was the issue causing the length to be cut off. But the height of the taper end still does not match the equation I have.nWhat should yspan be equal to? I set it to the height displacement across the taper i.e max height - min height but apparently that's incorrect?.nMarch 25, 2021 at 12:25 amKyleAnsys EmployeeThe y span of the geometry is set by the equation, however the y span of the Custom object itself sets an upper limit for the y span of the geometry. If the y value of the equatin is greater than the y span of the Custom object the equation curve will be cut off. For example:nIn your case you can set the y span to be a large value. As long as it is larger than the maximum y span of the taper it should work.nMarch 26, 2021 at 5:21 pmAlexTofSubscriberI set the yspan to a large enough value for sure at this point but the equation still doenst produce the curve i expect it to. I am now taking into account the center of the object in the equation so i derived the expression based off the minimum and max x so that at min x it should be at y1 and at max x it should be at y2 (higher than y1). nHowever the produced curve looks nothing like what I get when I plot the exact same expression in matlab.nnThis is very important that I get this working. Does ANSYS offer a more 1-1 solution method where I could directly speak to someone over the phone or zoom potentially to sort this out?.-AlexnMarch 27, 2021 at 1:59 amKyleAnsys EmployeenPlease see my reply on the KX here: https://kx.lumerical.com/t/custom-object-issue/82349nViewing 9 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
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.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 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.