gcdef#
- Elements.gcdef(option='', sect1='', sect2='', matid='', realid='', sect1end='', sect2end='', **kwargs)#
Defines interface interactions between general contact surfaces.
Mechanical APDL Command: GCDEF
- Parameters:
- option
str Option to be performed.
(blank)- Retain the previousOptionsetting betweenSECT1andSECT2.AUTO- Define auto asymmetric contact between surfacesSECT1andSECT2.SYMM- Define symmetric contact between surfacesSECT1andSECT2.ASYM- Define asymmetric contact withSECT1as the source (contact) surface andSECT2as the target surface.EXCL- Exclude contact between surfacesSECT1andSECT2.MATID,REALID,SECT1END, andSECT2ENDare ignored.DELETE- Remove the given definition from the gcdef table.MATID,REALID,SECT1END, andSECT2ENDare ignored.Note that gcdef,DELETE,ALL,ALL does not remove the entire gcdef table; it merely removes any existing gcdef,,ALL,ALL definitions, while leaving intact any existing gcdef definitions that are more specific.
To remove the entire gcdef table, issue gcdef,DELETE,TOTAL.
It is good practice to list all definitions using gcdef,LIST before and after a gcdef,DELETE command.
LIST- List stored gcdef data entries.MATIDandREALIDare ignored.gcdef,LIST lists all defined interactions. gcdef,LIST,
SECT1,SECT2lists the entry for the specificSECT1/SECT2interaction. gcdef,LIST,ALL,ALL lists only the ALL,ALL entry (if any).TABLE- List interpreted general contact definitions in tabular format.MATIDandREALIDare ignored.By default, rows/columns of the table that match neighboring rows/columns are compressed to simplify the table. Issue gcdef,TABLE,TOTAL to list the entire gcdef table without removal of duplicate rows and columns.
TABLESOL- List a table showing actual interactions considered during solution. This option is only available after the solve command.MATIDandREALIDare ignored.The table shows MAT and REAL entries considered during the solution (actual contact may or may not have occurred). This is in contrast to gcdef,TABLE, which shows the user specifications. For auto asymmetric contact, TABLESOL indicates which of the possible contact versus target surface combinations was considered.
- sect1
str Section numbers representing contact (
SECT1) and target (SECT2) general contact surfaces (no defaults). (In most cases, the actual determination of contact versus target surfaces takes place during solve.)A node component name is also valid input for
SECT1andSECT2. The component name is not stored. Instead, the program loops through all valid section IDs found in the component and creates gcdef entries for all possible SECT1/SECT2 combinations that result. These entries are reflected in theOption= LIST and TABLE output. Section IDs can be further controlled by adding an extension (_EDGE, _FACE, _VERT, _TOP, or _BOT) to the end of the component name. See in the Contact Technology Guide for more information.The following labels are also valid input:
SELF- Self contact.ALL- All general contact sections IDs.ALL_EDGE- Section IDs of allCONTA177general contact line elements (which may be on the edges of 3D solid and shell base elements, or on beam base elements).ALL_FACE- Section IDs of all general contact elements on faces of solid or shell base elements (both top and bottom faces of shell elements).ALL_VERT- Section IDs of allCONTA175general contact vertex elements (which may be on convex corners of solid and shell base elements, and on endpoints of beam base elements).ALL_TOP- Section IDs of all general contact elements on top faces of shell base elements, and faces of solid base elements.ALL_BOT- Section IDs of general contact elements on bottom faces of shell base elements, and faces of solid base elements.
The ALL labels apply to all defined general contact element section IDs in the model without regard to the select status of the elements or attached nodes.
See SECT1/ SECT2 Interactions
SECT1/SECT2Interactions for a description of how the various inputs forSECT1andSECT2are interpreted.- sect2
str Section numbers representing contact (
SECT1) and target (SECT2) general contact surfaces (no defaults). (In most cases, the actual determination of contact versus target surfaces takes place during solve.)A node component name is also valid input for
SECT1andSECT2. The component name is not stored. Instead, the program loops through all valid section IDs found in the component and creates gcdef entries for all possible SECT1/SECT2 combinations that result. These entries are reflected in theOption= LIST and TABLE output. Section IDs can be further controlled by adding an extension (_EDGE, _FACE, _VERT, _TOP, or _BOT) to the end of the component name. See in the Contact Technology Guide for more information.The following labels are also valid input:
SELF- Self contact.ALL- All general contact sections IDs.ALL_EDGE- Section IDs of allCONTA177general contact line elements (which may be on the edges of 3D solid and shell base elements, or on beam base elements).ALL_FACE- Section IDs of all general contact elements on faces of solid or shell base elements (both top and bottom faces of shell elements).ALL_VERT- Section IDs of allCONTA175general contact vertex elements (which may be on convex corners of solid and shell base elements, and on endpoints of beam base elements).ALL_TOP- Section IDs of all general contact elements on top faces of shell base elements, and faces of solid base elements.ALL_BOT- Section IDs of general contact elements on bottom faces of shell base elements, and faces of solid base elements.
The ALL labels apply to all defined general contact element section IDs in the model without regard to the select status of the elements or attached nodes.
See SECT1/ SECT2 Interactions
SECT1/SECT2Interactions for a description of how the various inputs forSECT1andSECT2are interpreted.- matid
str Material ID number for general contact interaction properties at the
SECT1/SECT2interface. If zero or blank, the previous setting ofMATIDforSECT1/SECT2(if any) is retained.As an example, you could specify “always bonded” contact behavior at the interface by setting
MATIDto 2 and issuing the command tb,INTER,2,,,ABOND.The coefficient of friction MU is also defined by
MATID. Since the default isMATID= 0, frictionless contact (MU = 0) is assumed by default.- realid
str Real constant ID number for general contact interaction properties at the
SECT1/SECT2interface. If zero or blank, the previous setting ofREALIDforSECT1/SECT2(if any) is retained.As an example, you could specify contact stiffness (FKN) = 10 at the interface by setting
REALIDto 14 and issuing the command r,14,,,10.- sect1end
str Last section number in the range. For
Option= LIST, TABLE, or TABLESOL, data entries are processed for contact section numbers in the range fromSECT1toSECT1END, and target section numbers in the range fromSECT2toSECT2END.SECT1ENDandSECT2ENDare ignored for all otherOptionlabels.- sect2end
str Last section number in the range. For
Option= LIST, TABLE, or TABLESOL, data entries are processed for contact section numbers in the range fromSECT1toSECT1END, and target section numbers in the range fromSECT2toSECT2END.SECT1ENDandSECT2ENDare ignored for all otherOptionlabels.
- option
Notes
gcdef defines the interface interaction between general contact surfaces identified by
SECT1andSECT2. gcdef commands are order independent in most cases.gcdef definitions should be issued after gcgen. They are saved in the database and are written to and read from
.CDBfiles.See General Contact
SECT1/ SECT2 Interactions
The most specific types of general contact definitions are those described below:
SECT1= any valid general surface section ID andSECT2= any different valid general surface section ID:Option,MATID, andREALIDapply to general surface interactions betweenSECT1andSECT2. This is one of the most specific types of general contact definitions and is never overridden.SECT1= any valid general surface section ID andSECT2=SECT1:Option,MATID, andREALIDapply to general surface self contact interactions involvingSECT1. This is one of the most specific types of general contact definitions and is never overridden.
The remaining general contact definition types can be overridden by the above two general contact definition types:
SECT1= ALL andSECT2= ALL:Option,MATID, andREALIDapply to all general surface interactions, except where overridden by a more specific gcdef command.SECT1= ALL andSECT2= SELF orSECT1= SELF andSECT2= ALL:Option,MATID, andREALIDapply to all general surface self contact interactions, except where overridden by a more specific gcdef command.SECT1= ALL andSECT2= any valid general surface section ID:Option,MATID, andREALIDapply to all general surface interactions that includeSECT2, except where overridden by a more specific gcdef command.SECT1= any valid general surface section ID andSECT2= ALL:Option,MATID, andREALIDapply to all general surface interactions that includeSECT1, except where overridden by a more specific gcdef command.