File tree 1 file changed +2
-15
lines changed
examples/high_frequency/antenna
1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 69
69
hfss .create_open_region (frequency = "1GHz" )
70
70
71
71
# ## Create setup
72
- #
73
- # Create a setup with a sweep to run the simulation.
74
72
75
73
setup = hfss .create_setup ("MySetup" )
76
74
setup .props ["Frequency" ] = "1GHz"
77
75
setup .props ["MaximumPasses" ] = 1
78
- hfss .create_linear_count_sweep (
79
- setup = setup .name ,
80
- units = "GHz" ,
81
- start_frequency = 0.5 ,
82
- stop_frequency = 1.5 ,
83
- num_of_freq_points = 101 ,
84
- name = "sweep1" ,
85
- sweep_type = "Interpolating" ,
86
- interpolation_tol = 3 ,
87
- interpolation_max_solutions = 255 ,
88
- save_fields = False ,
89
- )
76
+
90
77
91
78
# ## Run simulation
92
79
180
167
ffdata = hfss .get_antenna_data (
181
168
sphere = "Sphere_Custom" ,
182
169
setup = hfss .nominal_adaptive ,
183
- frequencies = [ "1000MHz" ],
170
+ frequencies = 1
184
171
)
185
172
186
173
# ## Generate 2D cutout plot
You can’t perform that action at this time.
0 commit comments