All macros are found in the installation folder: Program Files\ANSYS Inc\v252\ansys\apdl.
Macro to Expand an HBM Solution by Combining Harmonics
You can expand the solution from an HBM analysis by combining harmonics using HBM_EXPA.mac.
The macro combines the results of each harmonic result file. The time signal is calculated by summing the computed harmonics at each frequency point using the following equation,
(1) |
where
NH on
HROPT,HBM,NH ). |
The subscripts |
The amplitude of the time signal is determined to plot the combined frequency-response curve (for example, see Figure 8.2: Frequency-Response Curve from Combined Harmonic Results.
Macros Used for HBM Cyclic Analysis
The following macros are used in an HBM cyclic analysis:
HBMCYCHIGET – computes all necessary spatial/time harmonic superelements
HBMCYCSEGEN – used with HBMCYCHIGET to generate a single stage cyclic superelement for each unique spatial harmonic index and the primary stage
HBMCYCSEIMPORT – used with HBMCYCHIGET to import all necessary time harmonic superelements in the use pass
HBMCYCMAPGET – used with HBMCYCHIGET to provide the mapping between any node from the primary stage and the corresponding nodes from higher harmonic stages.
HBMCYCEXPAND – used with HBMCYCMAPGET postprocess the sum of the harmonics to get the time response at a given frequency or the total amplitude or phase as a function of the frequency.