August 26, 2022 at 1:28 pmmarius.crouzierSubscriber
I am doing FDTD simulation to study the phase shift of a plane wave on an resonator and see how it can change according the temperature of my material.
I have a plane wave source above my resonator. I put a monitor above this source (to collect the reflected light), I extract Ex from it and use unwrap(angle(..)) to get the phase.
I have experimental data of my material for different temperature that I change during a sweep.
I start by studying the phase shift according to different temperature as you can see on the next graph showing the phase according the wavelength for different material's temperature.
When I got this graph, I thought that if I was doing a simulation with the same design but with a source with only one wavelength at 770 nm and changing the material's temperature, I should have a large phase shift of several radians. But, as you can see on the next graph showing the phase calculate at different temperature at 770 nm (Fig2), it didn’t happen. I also used unwrap(angle(…)).
So, my questions are:
How is the phase calculated ?
Why is there this discrepancy for the phase calculation between the two simulations ?
August 26, 2022 at 4:32 pmGuilin SunAnsys Employee
"How is the phase calculated ?" I guess you know how the phase is calcualted right? it uses "angle" script, similar to atan(Imag/real).
"Why is there this discrepancy for the phase calculation between the two simulations ?" THere are two main reasons:
1: Phase is a relative quantity. so its beginning reference point is important. When you got your first plot, it uses the phase at the lowest frequency as reference point. In the 2nd case, it uses the zero T as reference.
This is a frequenctly asked question. We have to understand the unique property of the phase: relative. anything larger than abs(pi) will be discarded.
2: accuracy change. when you change the wavelength from broadband to single, the mesh and the material will change. So you should use the same mesh and the material fitting for the single wavelength case, by ticking this
You may try to extract the the phase at the same exact wavelength as the single wavelength from the broadband simulation, and compare the case when both the mesh and the material fitting use the same settings from the broadband for the single wavelength simulation.
- 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.
- “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
- Is there a Lumerical script command to output the Simulation and Memory requirements?
- Ansys Insight: Convergence issues in CHARGE
© 2023 Copyright ANSYS, Inc. All rights reserved.