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.

elmapextr<br />

Purpose<br />

elmapextr<br />

Define extrusion map operators.<br />

Syntax<br />

el.elem = 'elmapextr'<br />

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

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

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

el.extttol = tol<br />

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

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

el.srcmap{iop} = imap<br />

el.dstmap{iop} = imap<br />

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

el.geomdim{ig}{edim}.src{iop} = eldomgrplist<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 elmapextr element defines extrusion map operators which can be used at any<br />

location where the source and destination transformations make sense. Each map<br />

operator will take its values from the source domain groups listed in the<br />

corresponding el.geomdim{ig}{edim}.src{iop} field.<br />

For each operator, transformations are specified in the srcmap and dstmap fields in<br />

the form of indices into the map field which consists of a list of transformation<br />

specifications. The available transformation types are 'linear', 'local', and<br />

'unit'. They are described in detail under elcplextr on page 58.<br />

For each operator name, a global variable flagname{iop} is also defined which<br />

evaluates to 1 for all destination points where the map operation can find a<br />

corresponding source point, otherwise it evaluates to 0. If the flagname field is not<br />

given, the flag variables will be given the same name as the corresponding operator.<br />

Therefore, statements like if(my_map,my_map(u),0) make perfect sense.<br />

93

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

Saved successfully!

Ooh no, something went wrong!