21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

elcontact<br />

Purpose<br />

elcontact<br />

Define contact map operators.<br />

Syntax<br />

el.elem = 'elcontact'<br />

el.g{ig} = geomnum<br />

el.opname{iop} = opname<br />

el.gapname{iop} = gapname<br />

el.contname{iop} = contname<br />

el.conttol{iop} = 'auto' | abstol<br />

el.visname{iop} = visname<br />

el.method = 'direct' | 'ball'<br />

el.checkdist = chkdist<br />

el.srcframe{iop} = frame<br />

el.srcn{iop}{idim} = srcnx_i<br />

el.dstx{iop}{idim} = dstx_i<br />

el.dstn{iop}{idim} = dstnx_i<br />

el.geomdim{ig}{edim}.ind{eldomgrp} = domainlist<br />

el.geomdim{ig}{edim}.src{iop} = eldomgrplist<br />

Description<br />

The elcontact element defines contact map operators and related gap distance,<br />

contact flag and visibility flag variables.When evaluated, a contact map operator<br />

searches for the closest source (or master) point found following a ray in the dstn<br />

direction from the point given by the dstx expressions evaluated at the destination<br />

(or slave) point.<br />

For each operator name, a set of master domains is specified by listing one or more<br />

domain group indices in the corresponding el.geomdim{ig}{edim}.src{iop}<br />

field. Normal direction expressions for the master domains are specified in the<br />

el.srcn{iop}{idim} fields. Coordinate expressions for the master are obtained<br />

indirectly from the frame specified in the el.srcframe{iop} field.<br />

The map operator allows evaluation of any expression at a corresponding master<br />

point, while the gap distance variable evaluates to the distance between master and<br />

slave point. The contact flag variable evaluates to a nonzero value if the master point<br />

is well-defined and the gap distance less than the conttol treshold value. The<br />

visibility flag variable is nonzero if a corresponding master point was found for the<br />

slave point where the flag is evaluated.<br />

There are two slightly different methods available to search for master points. The<br />

'direct' method is a clean and stable direct search algorithm while the 'ball'<br />

method is faster by only treating master elements inside a given ball radius<br />

accurately. This ball radius can be set using the checkdist field, and should<br />

normally be larger than any mesh element taking part in the search.<br />

55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!