Skip to content

Fresnel extension #6480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
19dd936
Fresnel table
Samuelopez-ansys Jul 21, 2025
a82bd3b
Angular resolution
Samuelopez-ansys Jul 22, 2025
170ec90
Merge branch 'main' into fresnel_extension
Samuelopez-ansys Jul 28, 2025
de606da
More Fresnel
Samuelopez-ansys Jul 28, 2025
64c1835
Simulation settings
Samuelopez-ansys Jul 28, 2025
a0d0148
Get fresnel coefficients
Samuelopez-ansys Jul 30, 2025
752659a
Get fresnel coefficients
Samuelopez-ansys Jul 30, 2025
39a39ff
Fix typos
Samuelopez-ansys Jul 31, 2025
0e056fa
Fix typos
Samuelopez-ansys Jul 31, 2025
db8e58c
Fix typos
Samuelopez-ansys Jul 31, 2025
98fa995
Fix typos
Samuelopez-ansys Jul 31, 2025
4235541
Rename rttbl
Samuelopez-ansys Aug 4, 2025
88b5287
Add doc
Samuelopez-ansys Aug 4, 2025
b7eff19
Merge branch 'main' into fresnel_extension
Samuelopez-ansys Aug 4, 2025
8d26655
Merge branch 'main' into fresnel_extension
Samuelopez-ansys Aug 8, 2025
077173f
Get floquet port position
Samuelopez-ansys Aug 8, 2025
579843f
Add fresnel unit test
Samuelopez-ansys Aug 8, 2025
ec00972
Add fresnel unit test
Samuelopez-ansys Aug 8, 2025
5c03b28
Add fresnel unit test
Samuelopez-ansys Aug 8, 2025
283c918
Merge branch 'main' into fresnel_extension
Samuelopez-ansys Aug 8, 2025
c4d1c31
Anisotropic
Samuelopez-ansys Aug 13, 2025
8c0306f
Add suggestions
Samuelopez-ansys Aug 14, 2025
69663a3
Fix Fresnel
Samuelopez-ansys Aug 14, 2025
c29b9ec
Merge branch 'main' into fresnel_extension
Samuelopez-ansys Aug 14, 2025
79ca29b
CHORE: Auto fixes from pre-commit hooks
pre-commit-ci[bot] Aug 14, 2025
9dcbda8
Fix issues
Samuelopez-ansys Aug 19, 2025
43a1b82
Merge branch 'main' into fresnel_extension
Samuelopez-ansys Aug 19, 2025
88bc748
Merge branch 'main' into fresnel_extension
Samuelopez-ansys Aug 20, 2025
8af61cd
Apply changes
Samuelopez-ansys Aug 20, 2025
c2b039c
Move simulation settings
Samuelopez-ansys Aug 20, 2025
0c39172
Merge branch 'main' into fresnel_extension
Samuelopez-ansys Aug 20, 2025
60a3e7f
Fix codacy
Samuelopez-ansys Aug 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions doc/source/User_guide/pyaedt_extensions_doc/hfss/fresnel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Fresnel
=======

With this extension, you can generate from a line a parametrize design to simulate a trajectory.

You can access the extension from the icon created on the **Automation** tab using the Extension Manager.

The following image shows the extension user interface:

.. image:: ../../../_static/extensions/move_it_ui.png
:width: 800
:alt: Move it UI

You can also launch the extension user interface from the terminal. An example can be found here:


.. toctree::
:maxdepth: 2

../commandline
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,11 @@ HFSS extensions
:link-type: doc
:margin: 2 2 0 0

From a line generate the parameters needed to simulate a trajectory.
From a line generate the parameters needed to simulate a trajectory.

.. grid-item-card:: Fresnel
:link: fresnel
:link-type: doc
:margin: 2 2 0 0

Generate Fresnel coefficients from HFSS design.
9 changes: 6 additions & 3 deletions src/ansys/aedt/core/application/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,9 @@ def design_excitations(self):
"""
exc_names = self.excitation_names[::]

# Filter modes
exc_names = list(set([item.split(":")[0] for item in exc_names]))

for el in self.boundaries:
if el.name in exc_names:
self._excitation_objects[el.name] = el
Expand All @@ -673,7 +676,7 @@ def design_excitations(self):
keys_to_remove = [
internal_excitation
for internal_excitation in self._excitation_objects
if internal_excitation not in self.excitation_names
if internal_excitation not in exc_names
]

for key in keys_to_remove:
Expand Down Expand Up @@ -1540,9 +1543,9 @@ def create_output_variable(self, variable, expression, solution=None, context=No

Parameters
----------
variable : str, optional
variable : str
Name of the variable.
expression : str, optional
expression : str
Value for the variable.
solution : str, optional
Name of the solution in the format `"name : sweep_name"`.
Expand Down
Loading
Loading