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.

elcurlconstr<br />

Purpose<br />

elcurlconstr<br />

Define constraints compatible with first order vector elements.<br />

Syntax<br />

Description<br />

el.elem = 'elcurlconstr'<br />

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

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

el.geomdim{ig}{edim}.constr{eldomgrp}{ic} = vconstr<br />

The elcurlconstr element adds constraints on vector expressions, vconstr,<br />

which are given as cell arrays with one entry for each space dimension. The<br />

projection of the vector expression onto element edges is constrained to zero at<br />

element edge center points.<br />

For the syntax of the ind field, see elempty. The constr field has one entry for each<br />

domain group, each being a cell array of vector expressions to be constrained.<br />

Cautionary<br />

Examples<br />

This element is currently tailored to fit the shcurl vector shape functions by<br />

constraining the actual degrees of freedom. Other uses may be possible, but<br />

performance will be unpredictable.<br />

Add a PEC condition on boundaries 1 to 6 in a 3D electromagnetics model.<br />

el.elem = 'elcurlconstr';<br />

el.g = {'1'};<br />

gd.ind = {{'1','2','3','4','5','6'}};<br />

gd.constr = {{{'tEx','tEy','tEz'}}};<br />

el.geomdim{1} = {{},{},gd,{}};<br />

fem.elem = [fem.elem {el}];<br />

When exporting the fem structure from a vector element electromagnetics model,<br />

similar elcurlconstr elements are added to the fem.elemmph field.<br />

See Also<br />

elempty, elpconstr<br />

68 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!