21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

elcplextr<br />

Purpose<br />

elcplextr<br />

Define extrusion coupling variables.<br />

Syntax<br />

el.elem = 'elcplextr'<br />

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

el.var{ivar} = varname<br />

el.map{imap} = linmap | genmap | unitmap<br />

el.usenan = 'true' | 'false'<br />

el.extttol = tol<br />

el.src{ig}{edim}.ind{srcdomgrp} = domainlist<br />

el.src{ig}{edim}.expr{ivar}{srcdomgrp} = srcexpr<br />

el.src{ig}{edim}.map{ivar}{srcdomgrp} = imap<br />

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

el.geomdim{ig}{edim}.map{ivar}{eldomgrp} = imap<br />

linmap.type = 'linear'<br />

linmap.sg = srcig<br />

linmap.sv{ivtx} = srcvtx<br />

linmap.sframe = srcframe<br />

linmap.dg = dstig<br />

linmap.dv{ivtx} = dstvtx<br />

linmap.dframe = dstframe<br />

genmap.type = 'local’<br />

genmap.expr{idim} = transexpr<br />

genmap.frame = frame<br />

unitmap.type = 'unit'<br />

unitmap.frame = frame<br />

Description<br />

The elcplextr element declares the extrusion coupling variable names listed in the<br />

var field to be accessible on domains where the corresponding destination map field<br />

geomdim{ig}{edim}.map{ivar}{eldomgrp} entry is nonempty. Both destination<br />

and source map fields contain indices into the map field which consists of a list of<br />

transformation specifications.<br />

The available transformation types are 'linear', 'local', and 'unit', each with<br />

its own syntax. The unit transformation takes one optional argument specifying<br />

which frame is to be used for evaluating the mesh position. If not given, the<br />

reference frame is assumed. Unit transformations without a frame field actually<br />

never has to be specified explicitly, since using index zero in the source and<br />

destination map fields is interpreted as an implicit unit transformation.<br />

The local transformation, which is called “general” in the <strong>COMSOL</strong> Multiphysics<br />

user interface, lets you specify an arbitrary expression for each source dimension.<br />

These expressions can contain spatial coordinate variables from any frame. The<br />

frame field decides which frame to use in the search operation when the local<br />

58 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!