cvar#
- SpecialPurpose.cvar(ir='', ia='', ib='', itype='', datum='', name='', **kwargs)#
Computes covariance between two quantities.
Mechanical APDL Command: CVAR
- Parameters:
- ir
str Arbitrary reference number assigned to the resulting variable (2 to
NV( numvar )). If this number is the same as for a previous variable, the previous variable will be overwritten with this result.- ia
str Reference numbers of the two variables to be operated on. If only one, leave
IBblank.- ib
str Reference numbers of the two variables to be operated on. If only one, leave
IBblank.- itype
intorstr Defines the type of response PSD to be calculated:
0,1- Displacement (default).2- Velocity.3- Acceleration.
- datum
intorstr Defines the reference with respect to which covariance is to be calculated:
1- Absolute value.2- Relative to base (default).
- name
str Thirty-two character name for identifying the variable on listings and displays. Embedded blanks are compressed upon output.
- ir
Notes
This command computes the covariance value for the variables referenced by the reference numbers
IAandIB. IfDATUM= 2, the variable referenced byIRwill contain the individual modal contributions (that is, the dynamic or relative values). IfDATUM= 1, the variable referenced byIRwill contain the modal contributions followed by the contributions of pseudo- static and covariance between dynamic and pseudo-static responses.File.PSDmust be available for the calculations to occur.