ansys.mapdl.core.Mapdl.keyopt#
- Mapdl.keyopt(itype='', knum='', value='', **kwargs)#
Sets element key options.
Mechanical APDL Command: KEYOPT
- Parameters:
- itype
str Element type number as defined on the et command.
The following labels are valid input for contact elements:
CONT- Set element key options for all contact element types,CONTA172,CONTA174,CONTA175, andCONTA177.TARG- Set element key options for all target element types,TARGE169andTARGE170.GCN- Set element key options for all contact element types used in a general contact definition (that is, all contact elements having a real constant set number = 0).
See Notes Notes for additional
ITYPEinput specific to general contact.- knum
str Number of the KEYOPT to be defined (KEYOPT(
KNUM)).- value
str Value of this KEYOPT.
- itype
Notes
The keyopt command is an alternative method for inputting element key option (KEYOPT) values via the et command. (Issue the et command first to define
ITYPE).The keyopt command is required for inputting key options numbered higher than six (that is, > KEYOPT(6)).
If etcontrol,SET is enabled, key options that you specify via the keyopt command might be overridden for many structural elements. For more information, see Automatic Selection of Element Technologies and Formulations
Specify
ITYPE= GCN to set element key options for all contact element types used in a general contact definition. You can selectively set element key options for multiple contact element types in a general contact definition by settingITYPEto a valid label (ALL_EDGE, ALL_FACE, ALL_VERT, ALL_TOP, or ALL_BOT) or by inputting a node component name with or without a component name extension (_EDGE, _FACE, _VERT, _TOP, or _BOT). For more information, see Defining Non-Default Contact Settings