cyccalc#
- SpecialPurpose.cyccalc(fileprefix='', fileformat='', separator='', **kwargs)#
Calculates results from a cyclic harmonic mode-superposition analysis using the specifications defined by cycspec.
Mechanical APDL Command: CYCCALC
Command default:
Write the result tables to the output file.
- Parameters:
- fileprefix
str Each result table (corresponding to each cycspec specification) is written to a file beginning with
FilePrefix. If blank (default), the result tables are written to the output file.- fileformat
str If
FilePrefixis specified, then useFileFormatto specify the format of the file to be written:FORM- Formatted file (default)CSV- Comma-separated value file
- separator
str If
FileFormatis CSV, useSeparatorto specify the field separator:COMMA- Use a comma () as the field separator (default)COLON- Use a colon (:) as the field separatorDOT- Use a period (.) as the field separator
- fileprefix
Notes
cyccalc loops through the specification given by cycspec and computes the requested outputs. The outputs are given in a table format, with the rows corresponding to each frequency solution from the harmonic analysis, and the columns corresponding to each sector. The table entries are the maximum value of the specified quantity at the specified location in the sector. In addition, columns containing the maximum value at the frequency, the sector in which it occurs, and the node in the sector at which it occurs are output.
If
FilePrefixis specified, a file is created for each output table with the nameFilePrefix_node_type.ext, wherenodeis the node number or component name,typeis the item/component requested, and the file extension.extis either.txtor.csv, depending onFileFormat.A Set displays command must precede the cyccalc command.
The cyccalc results are based on the currently active rsys, shell, layer, and avprin settings.
The cyccalc command only supports matched nodes. For more details on matching cyclic edge node pairs see Edge Component Pairs