November 12, 2023 at 7:39 pmJose CorreiaSubscriber
In the article https://optics.ansys.com/hc/en-us/articles/18254409091987-Large-Scale-Metalens-Ray-Propagation, it states that we get the amplitude and phase from the sweep result. When looking at the sweep example in the article about small scale metalens i cant seem to figure out how alter the scrip "unitcell.lsf" in order to get the amplitude and save to de matlabfile.
November 15, 2023 at 9:36 amNiki PapachristouAnsys Employee
Thank you for reaching out to us. I had a look on our example files and I believe that there is a matrix mismatch, thank you for bringing this to our attention!. This occurs because of a wrong setting on the sweeps/radius, more specifically the number of points are 11 on the parameter sweep, while the script is expecting 51:
You can overcome this error by changing the number of points to 51 (right click on radius and edit), and then run this sweep (right click on radius and run). After that running the script, it will give you the expected matlab file.
I hope that was helpful, let me know if I can be of further assistance.
All the best,
November 20, 2023 at 2:20 pmJose CorreiaSubscriber
Thank you for you answer, i´ve corrected the matrix missmatch and still the matlab file misses the amplitude variable.
The matlab file generated by the aformentioned scrip generates de following dataset:
When comparing to the dataset available for large scale metalens, we notice that the amplitude is missing. i've tried saving the matalb file with that variable but i get the error that it does not exist.
November 20, 2023 at 2:09 pmJose CorreiaSubscriber
November 20, 2023 at 2:48 pmNiki PapachristouAnsys Employee
Thank you for the clarification. Let me work on it and come back to you as soon as possible.
November 21, 2023 at 2:44 pmNiki PapachristouAnsys Employee
I had a further look on our example files and you are right, with the current script the amplitude is not included in the database. We are planning to update it soon, we actually have created an upcoming webinar for this excact example which I encourage you to register: Enabling Large-Scale Metalens Design!
December 2, 2023 at 2:25 pmJose CorreiaSubscriber
I attended the webnibar as recomended but unfortunatly i still could not solve my question, how soon do you intend to update de scrip? is there a way you can guide to update it myself ?
- 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.
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Why my simulation result is different from published paper or experiment?
- Ansys Insight: Transmission results greater than one
- Ganhemt Project mistake can you help me
- How to calculate the cross-polarization efficiency and phase in FDTD
- save data error
- Simulation of a single pillar of a peltier cooler
- EME : field profile and cell periodicity
- Ansys Insight: Single frequency CW source
- What is the meaning of this error ” Bad termination of…” ?
© 2023 Copyright ANSYS, Inc. All rights reserved.