ansys.mapdl.core.Mapdl.cpngen#

Mapdl.cpngen(nset='', lab='', node1='', node2='', ninc='', **kwargs)#

Defines, modifies, or adds to a set of coupled degrees of freedom.

Mechanical APDL Command: CPNGEN

Parameters:
nsetstr

Set reference number ( cp ).

labstr

Degree of freedom label ( cp ).

node1str

Include in coupled set nodes NODE1 to NODE2 in steps of NINC (defaults to 1). If NODE1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). If - NODE1, delete range of nodes from set instead of including. A component name may also be substituted for NODE1 ( NODE2 and NINC are ignored).

node2str

Include in coupled set nodes NODE1 to NODE2 in steps of NINC (defaults to 1). If NODE1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). If - NODE1, delete range of nodes from set instead of including. A component name may also be substituted for NODE1 ( NODE2 and NINC are ignored).

nincstr

Include in coupled set nodes NODE1 to NODE2 in steps of NINC (defaults to 1). If NODE1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). If - NODE1, delete range of nodes from set instead of including. A component name may also be substituted for NODE1 ( NODE2 and NINC are ignored).

Notes

Defines, modifies, or adds to a set of coupled degrees of freedom. May be used in combination with (or in place of) the cp command. Repeat cpngen command for additional nodes.