enable_harmonic_force#
- Maxwell3d.enable_harmonic_force(assignment, force_type=0, window_function='Rectangular', use_number_of_last_cycles=True, last_cycles_number=1, calculate_force='Harmonic')#
Enable the harmonic force calculation for the transient analysis.
- Parameters:
- assignment
list
List of object names for force calculations.
- force_type
int
,optional
Force type. Options are
0
for objects,1
for surface, and2
for volumetric.- window_function
str
,optional
Windowing function. Default is
"Rectangular"
. Available options are:"Rectangular"
,"Tri"
,"Van Hann"
,"Hamming"
,"Blackman"
,"Lanczos"
,"Welch"
.- use_number_of_last_cyclesbool,
optional
Use number of last cycles for force calculations. Default is
True
.- last_cycles_number
int
,optional
Defines the number of cycles to compute if use_number_of_last_cycle is
True
.- calculate_force
sr
,optional
How to calculate force. The default is
"Harmonic"
. Options are"Harmonic"
and"Transient"
.
- assignment
- Returns:
- bool
True
when successful,False
when failed.