Replies: 1 comment
-
Cool application. I'm on vacation until June 9 and can take a more detailed look after then. In the meantime, take a look at apply_transform. Or, the underlying CSXCAD API (eg Good luck and let me know how it goes! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Modeling the Lüneburg Lens Antenna Using OpenEMS
Background
Hello! I hope you are all doing well!
I am doing some research on antennas--particularly the lüneburg lens. I am trying to recreate the results of this experiment using pyems. So far, I have been able to successfully generate a .stl file and have it attached below:
luneburg.stl.zip
Using your horn antenna example, I am able to load the
luneburg.stl
file with the following script, run a simulation, and view the results in paraview, just by modifying the file name in python and loading the new mesh.New Simulation
In the
LuneburgLensGenerator
repo mentioned above, the maintainers mentioned that they tested their design in CST and in the lab--using a horn antenna. I am able to get close to their setup using this script:luneburg.py
..which generates the following results:
..but if we compare this to the setup mentioned in their repo:
..we can visually see, the lens is translated too far in the negative-z direction, and the orientation is rotated.
Question:
Is there a way to easily perform linear transformations on the .stl files--such as translation and rotation--so that we can achieve a similar mesh that was used in the experiment mentioned above? I would think that it would be a relatively straightforward task; however, I am not familiar with the pymesh and openEMS / CSXCAD api.
Thank you so much for your time!
Beta Was this translation helpful? Give feedback.
All reactions