REALVAR

REALVAR, IR, IA, --, --, Name, --, --, FACTA
Forms a variable using only the real part of a complex variable.

Valid Products: Pro | Premium | Enterprise | PrepPost | Solver | AS add-on

IR

Arbitrary reference number assigned to the resulting variable (2 to NV (NUMVAR)). If this number is the same as for a previously defined variable, the previously defined variable will be overwritten with this result.

IA

Reference number of the variable to be operated on.

--, --

Unused fields.

Name

Thirty-two character name identifying the variable on printouts and displays. Embedded blanks are compressed for output.

--, --

Unused fields.

FACTA

Scaling factor (positive or negative) applied to variable IA (defaults to 1.0).

Notes

Forms a variable using only the real part of a variable. Used only with harmonic analyses (ANTYPE,HARMIC).

Complex variables are stored in two-column arrays with the real component stored in the first column and the imaginary component stored in the second column. This command extracts the value stored in the first column (that is, real component). However with harmonic analyses, all variables are stored in two-column arrays as complex variables. If the variable is not complex, then the same value is stored in both columns. This command will extract the variable in the first column of the array, even if this variable is not the real component of a complex variable.

Menu Paths

Main Menu>TimeHist Postpro>Math Operations>Real Part