gcdef#

Mapdl.gcdef(option='', sect1='', sect2='', matid='', realid='', **kwargs)[source]#

Defines interface interactions between general contact surfaces.

APDL Command: GCDEF

GCDEF defines the interface interaction between general contact surfaces identified by SECT1 and SECT2. 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 .CDB files.

See General Contact in the Contact Technology Guide for more information on the overall procedure to create general contact.

SECT1/SECT2 Interactions

The most specific types of general contact definitions are those described below:

The remaining general contact definition types can be overridden by the above two general contact definition types:

Parameters:
option

Option to be performed.

(blank) - Retain the previous Option setting between SECT1 and SECT2.

AUTO - Define auto asymmetric contact between surfaces SECT1 and SECT2.

SYMM - Define symmetric contact between surfaces SECT1 and SECT2.

ASYM - Define asymmetric contact with SECT1 as the source

(contact) surface and SECT2 as the target surface.

EXCL - Exclude contact between surfaces SECT1 and SECT2. MATID and REALID are ignored.

DELETE - Remove the given definition from the GCDEF table. MATID and REALID are 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,ALL,ALL before and after a GCDEF,DELETE command.

LIST - List stored GCDEF data entries. MATID and REALID are ignored. GCDEF,LIST,ALL,ALL lists the entire GCDEF table, including more specific GCDEF definitions. - TABLE

sect1, sect2

Section numbers representing general contact surfaces (no defaults). Labels ALL and SELF are also valid input. See SECT1/SECT2 Interactions for a description of how the various inputs for SECT1 and SECT2 are interpreted.

matid

Material ID number for general contact interaction properties at the SECT1/SECT2 interface. If zero or blank, the previous setting of MATID for SECT1/SECT2 (if any) is retained.

realid

Real constant ID number for general contact interaction properties at the SECT1/SECT2 interface. If zero or blank, the previous setting of REALID for SECT1/SECT2 (if any) is retained.