May 12, 2023 at 9:44 amXime54Subscriber
Hi every body,
In order to know the light transmission of an optical system (very simple), I created a source, the sytem, and a receptor. I want to compare irradiance recieved by the receptor while the light is going through the system, and directly to the receptor without the system. But I don't know how to get those information.
Here i my simple system:
Here the result in one map:
How can I extract irradiance for the whole spectrum to get the transmission curve of my system?
May 15, 2023 at 2:36 pmStefan ThoeneSubscriber
Hi Maxime, you can use the spectral seperation to get the irradiance values per nm with this value you can extract the actual spectral dependencies.
you can also use python to actually extract these spectral dependencies quickly:
from win32com.client import Dispatch
x_pos = 0.0
y_pos = 0.0
width = 10.0
height = 10.0
for i, WL in enumerate(range(int(w_min), int(w_max), int((w_max - w_min) / (w_nb - 1)))):
signal.append(float(VPL.SurfaceRectangleCalculation(x_pos, y_pos, width, height)))
June 9, 2023 at 6:47 amXime54Subscriber
Sorry for my late answer. I want to extract the whole information in one time, so the 1st method is not idal.
It seems the 2nd method could be nice, but I am far to be a pytyon expert, and when I run your scipt on my computer, it crashes a the first line: "no module nmae win32com.client".
- 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.
© 2023 Copyright ANSYS, Inc. All rights reserved.