ansys.mapdl.core.Mapdl.cvar#
- Mapdl.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
IB
blank.- ib
str
Reference numbers of the two variables to be operated on. If only one, leave
IB
blank.- itype
int
orstr
Defines the type of response PSD to be calculated:
0,1
- Displacement (default).2
- Velocity.3
- Acceleration.
- datum
int
orstr
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
IA
andIB
. IfDATUM
= 2, the variable referenced byIR
will contain the individual modal contributions (that is, the dynamic or relative values). IfDATUM
= 1, the variable referenced byIR
will contain the modal contributions followed by the contributions of pseudo- static and covariance between dynamic and pseudo-static responses.File.PSD
must be available for the calculations to occur.