ansys.mapdl.core.Mapdl.add#
- Mapdl.add(ir='', ia='', ib='', ic='', name='', facta='', factb='', factc='', **kwargs)#
Adds (sums) variables.
Mechanical APDL Command: ADD
- Parameters:
- ir
str
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
str
Reference numbers of the three variables to be operated on. If only two variables, leave
IC
blank. If only one, leaveIB
andIC
blank.- ib
str
Reference numbers of the three variables to be operated on. If only two variables, leave
IC
blank. If only one, leaveIB
andIC
blank.- ic
str
Reference numbers of the three variables to be operated on. If only two variables, leave
IC
blank. If only one, leaveIB
andIC
blank.- name
str
Thirty-two character name for identifying the variable on the printout and displays. Embedded blanks are compressed upon output.
- facta
str
Scaling factors (positive or negative) applied to the corresponding variables (default to 1.0).
- factb
str
Scaling factors (positive or negative) applied to the corresponding variables (default to 1.0).
- factc
str
Scaling factors (positive or negative) applied to the corresponding variables (default to 1.0).
- ir
Notes
Adds variables (up to three at once) according to the operation:
IR
= (FACTA
xIA
) + (FACTB
xIB
) + (FACTC
xIC
)