SweepHFSS#
- class ansys.aedt.core.modules.solve_sweeps.SweepHFSS(setup, name, sweep_type='Interpolating', props=None)[source]#
Initializes, creates, and updates sweeps in HFSS.
- Parameters:
- setup:class ‘from ansys.aedt.core.modules.solve_setup.Setup’
Setup to use for the analysis.
- name
str
Name of the sweep.
- sweep_type
str
,optional
Type of the sweep. Options are
"Fast"
,"Interpolating"
, and"Discrete"
. The default is"Interpolating"
.- props
dict
,optional
Dictionary of the properties. The default is
None
, in which case the default properties are retrieved.
Examples
>>> hfss = Hfss(version=version, project=proj, design=gtemDesign, solution_type=solutiontype, name=name, new_desktop=False, close_on_exit=False) >>> hfss_setup = hfss.setups[0] >>> hfss_sweep = SweepHFSS(hfss_setup, 'Sweep', sweep_type ='Interpolating', props=None)
Methods
SweepHFSS.add_subrange
(range_type, start[, ...])Add a range to the sweep.
Create a sweep.
Update a sweep.
Attributes
List of all frequencies that have fields available.
List of all frequencies of the active sweep.
Verify if solutions are available for the sweep.