egen#
- Elements.egen(itime='', ninc='', iel1='', iel2='', ieinc='', minc='', tinc='', rinc='', cinc='', sinc='', dx='', dy='', dz='', **kwargs)#
Generates elements from an existing pattern.
Mechanical APDL Command: EGEN
- Parameters:
- itime
str Do this generation operation a total of
ITIMEs, incrementing all nodes in the given pattern byNINCeach time after the first.ITIMEmust be >1 if generation is to occur.NINCmay be positive, zero, or negative. IfDX,DY, and/orDZis specified,NINCshould be set so any existing nodes (as on ngen ) are not overwritten.- ninc
str Do this generation operation a total of
ITIMEs, incrementing all nodes in the given pattern byNINCeach time after the first.ITIMEmust be >1 if generation is to occur.NINCmay be positive, zero, or negative. IfDX,DY, and/orDZis specified,NINCshould be set so any existing nodes (as on ngen ) are not overwritten.- iel1
str Generate elements from selected pattern beginning with
IEL1toIEL2(defaults toIEL1) in steps ofIEINC(defaults to 1). IfIEL1is negative,IEL2andIEINCare ignored and the last |IEL1| elements (in sequence backward from the maximum element number) are used as the pattern to be repeated. IfIEL1= ALL,IEL2andIEINCare ignored and use all selected elements ( esel ) as pattern to be repeated. IfP1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forIEL1(IEL2andINCare ignored).- iel2
str Generate elements from selected pattern beginning with
IEL1toIEL2(defaults toIEL1) in steps ofIEINC(defaults to 1). IfIEL1is negative,IEL2andIEINCare ignored and the last |IEL1| elements (in sequence backward from the maximum element number) are used as the pattern to be repeated. IfIEL1= ALL,IEL2andIEINCare ignored and use all selected elements ( esel ) as pattern to be repeated. IfP1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forIEL1(IEL2andINCare ignored).- ieinc
str Generate elements from selected pattern beginning with
IEL1toIEL2(defaults toIEL1) in steps ofIEINC(defaults to 1). IfIEL1is negative,IEL2andIEINCare ignored and the last |IEL1| elements (in sequence backward from the maximum element number) are used as the pattern to be repeated. IfIEL1= ALL,IEL2andIEINCare ignored and use all selected elements ( esel ) as pattern to be repeated. IfP1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forIEL1(IEL2andINCare ignored).- minc
str Increment material number of all elements in the given pattern by
MINCeach time after the first.- tinc
str Increment element type number by
TINC. The element types with incremented numbers must be defined before issuing the egen command.- rinc
str Increment real constant table number by
RINC.- cinc
str Increment element coordinate system number by
CINC.- sinc
str Increment section ID number by
SINC.- dx
str Define nodes that do not already exist but are needed by generated elements (as though the ngen,
ITIME,INC,NODE1,,,DX,DY,DZwere issued before egen ). Zero is a valid value. If blank,DX,DY, andDZare ignored.- dy
str Define nodes that do not already exist but are needed by generated elements (as though the ngen,
ITIME,INC,NODE1,,,DX,DY,DZwere issued before egen ). Zero is a valid value. If blank,DX,DY, andDZare ignored.- dz
str Define nodes that do not already exist but are needed by generated elements (as though the ngen,
ITIME,INC,NODE1,,,DX,DY,DZwere issued before egen ). Zero is a valid value. If blank,DX,DY, andDZare ignored.
- itime
Notes
A pattern may consist of any number of previously defined elements. The MAT, TYPE, REAL, ESYS, and SECNUM numbers of the new elements are based upon the elements in the pattern and not upon the current specification settings.
You can use the egen command to generate interface elements (
INTER192,INTER193,INTER194, andINTER195) directly. However, because interface elements require that the element connectivity be started from the bottom surface, you must make sure that you use the correct element node connectivity. See the element descriptions forINTER192,INTER193,INTER194, andINTER195for the correct element node definition.