SweepHFSS#
- class pyaedt.modules.SolveSweeps.SweepHFSS(setup, sweepname, sweeptype='Interpolating', props=None, **kwargs)[source]#
Initializes, creates, and updates sweeps in HFSS.
- Parameters:
- app:class ‘pyaedt.modules.SolveSetup.Setup’
Setup to use for the analysis.
- setupname
str
Name of the setup.
- sweepname
str
Name of the sweep.
- sweeptype
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(specified_version=version, projectname=proj, designname=gtemDesign, solution_type=solutiontype, setup_name=setupname, new_desktop_session=False, close_on_exit=False) >>> hfss_setup = hfss.setups[0] >>> hfss_sweep = SweepHFSS(hfss_setup, 'Sweep', sweeptype ='Interpolating', props=None)
Methods
SweepHFSS.add_subrange
(rangetype, 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.