Mapdl.r(nset='', r1='', r2='', r3='', r4='', r5='', r6='', **kwargs)#

APDL Command: R

Defines the element real constants.


Real constant set identification number (arbitrary). If same as a previous set number, set is redefined. Set number relates to that defined with the element [REAL]. Note that the GUI automatically assigns this value.

r1, r2, r3, … , r6

Real constant values (interpreted as area, moment of inertia, thickness, etc., as required for the particular element type using this set), or table names for tabular input of boundary conditions. Use RMORE command if more than six real constants per set are to be input.


Defines the element real constants. The real constants required for an element are shown in the Input Summary of each element description in the Element Reference. Constants must be input in the same order as shown in that table. If more than the required number of element real constants are specified in a set, only those required are used. If fewer than the required number are specified, zero values are assumed for the unspecified constants.

If using table inputs (SURF151, SURF152, FLUID116, CONTA171, CONTA172, CONTA173, CONTA174, and CONTA175 only), enclose the table name in % signs (e.g., %tabname%).

Specify NSET = GCN to define real constants for real constant sets that were previously assigned by the GCDEF command (that is, real constants used in general contact interactions).

When copying real constants to new sets, ANSYS, Inc. recommends that you use the command input. If you do use the GUI, restrict the real constant copy to only the first six real constants (real constants seven and greater will be incorrect for both the master and copy set).

This command is also valid in SOLUTION.