TAGGED: mesh, mesh-refinement
-
-
March 22, 2024 at 2:16 pmErik MSubscriber
The mesh refinement option "precise volume average" in combination with the "Import Surface" (importsurface2) geometry does not lead to the expected result. As an example, we look at the reflection of a plane wave on a sinusoidal grating of some material:
The precise volume average mesh refinement incorrectly assigns the permittivity of the material to the whole rectangular volume, leading to the following intensity profile:
Instead, only the material enclosed by the surface should have the perimittivity of the material leading to an intesity profile like:
How can I set up the simulation with the expected behavior (last figure) and the precise volume average mesh refinement option?
Many thanks,
Erik -
March 22, 2024 at 5:42 pmGuilin SunAnsys Employee
Are the two screenshots from the same structure with the same material, source bandwidth and mesh?
Have you compared the grating results if they are the same structure?Â
You may also use Conformal Variant 0 instead of precise volume average. When precise volume average is used, it uses finer mesh than the FDTD mesh to average the permittivity, and it should not change anything for uniform material, eg, away from material interface. It may need more memory. the Conformal Variant 0 is always recommended, except that you find it is not accurate or cause other issues.
Anyway, there are many different methods to treat the effective material property at the material interfaces. While they all work well in many cases they can lead to some differences in results. But the difference from your screnshots seem too large if they are from the same simulation file.Â
Â
Â
-
March 25, 2024 at 9:38 amErik MSubscriber
Thank you for your kind reply.
Both screenshots are from the same simulation (structure, material [silver], source, bandwidth) but with a different mesh refinement option. With "Precise volume average, the Import Surface structure behaves like it is a rectangular block instead of sinusoidal surface geometry.
Am I missing an extra setting or is it something else?
-
March 25, 2024 at 3:27 pmGuilin SunAnsys Employee
Please use index monitor to check if the index is correct.
The first screnshot shows it has zeroth order only, whereas the 2nd shows very differently.
For sinusoidal shape, you can use "custom" to define it: https://optics.ansys.com/hc/en-us/articles/360034382214-Custom-structure-object-Simulation-Object
-
March 28, 2024 at 10:05 amErik MSubscriber
I can confirm that the refractive index is correct, as it is the same for both mesh refinement options after meshing, monitored with the refractive index monitor.
Conformal variant 1:
Precise volume averaging (precision 11):
It is clear that the expected diffraction behavior of a sinusoidal grating is lost after meshing with "precise volume averaging".
As I would like to use the "precise volume averaging" mesh refinement for arbirarily shaped surfaces, it is unfortunately not an option to use a custom simulation object.
Is this an incompatibility between the importsurface2 function and precise volume averaging or can this problem be resolved by changing some settings?
-
March 28, 2024 at 4:11 pmGuilin SunAnsys Employee
https://optics.ansys.com/hc/en-us/articles/360034928993-importsurface2-Script-command
https://optics.ansys.com/hc/en-us/articles/360034382614-Selecting-the-best-mesh-refinement-option-in-the-FDTD-simulation-object
I did not find such limitation from the websites. It seems you used very fine mesh, you may try to use relatively coarser mesh and see if there is any improvement.
I will contact you later.
Â
-
April 8, 2024 at 7:25 am
-
April 8, 2024 at 3:28 pmGuilin SunAnsys Employee
So you mean at 10nm mesh, it works fine. But finer mesh than 10nm such as 1nm it causes issue?Â
-
April 8, 2024 at 3:38 pmErik MSubscriber
No, unfortunately, this issue is always there
-
April 8, 2024 at 4:24 pm
-
April 10, 2024 at 2:24 pmErik MSubscriber
Thank you for reaching out. I will write you an email once the support website is back online after the scheduled maintenance.
I am afraid that you have misunderstood what the expected intensity profile is. The field should reflect from the surface of the sinusoidal grating (like in your post above), not from some imaginary surface above it. The figure below shows the unphysical result obtained with the precise volume average mesh refinement option.
I hope that this resolves our misunderstanding.
-
April 22, 2024 at 10:06 amErik MSubscriber
Dear Dr Sun,
As an academic partner, we were not able to reply to the ticket/e-mail you sent me. Instead, we have been forwarded to CADFEM support. They will take it from here.
Kind regards,
Erik -
April 22, 2024 at 2:39 pmGuilin SunAnsys Employee
ok. But the imaginary line should be correctly indicative that the reflection is a plane wave. Please ask CADFEM forward email to me.
-
- The topic ‘Precise volume average for Import Surface geometry’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- How to measure transmission coefficients on a given plane .
-
1241
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.