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.

postinterp<br />

Purpose<br />

postinterp<br />

Evaluate expressions in arbitrary points.<br />

Syntax<br />

Description<br />

[v1,v2,...,vn,pe] = postinterp(fem,e1,e2,...,en,xx,...)<br />

[pio,pe] = postinterp(fem,xx,...)<br />

[v1,v2,...,vn] = postinterp(fem,e1,e2,...,en,pio,...)<br />

[v1,v2,...,vn,pe] = postinterp(fem,e1,e2,...,en,xx,...) returns the<br />

values v1,v2,...,vn of the expressions e1,e2,...,en in the points xx.<br />

[pio,pe] = postinterp(fem,xx,...) computes a PostInterp object pio, which<br />

contains information about where the points xx are located.<br />

[v1,v2,...,vn] = postinterp(fem,e1,e2,...,en,pio,...) returns the<br />

values v1,v2,...,vn of the expressions e1,e2,...,en in the points given by the<br />

PostInterp object pio.<br />

The columns of the matrix xx are the coordinates for the evaluation points. If the<br />

number of rows in xx equals the space dimension, then xx are global coordinates,<br />

and the property Edim determines the dimension in which the expressions are<br />

evaluated. For instance, Edim=2 means that the expressions are evaluated on<br />

boundaries in a 3D model. If Edim is less than the space dimension, then the points<br />

in xx are projected onto the closest point on a domain of dimension Edim. If, in<br />

addition, the property Dom is given, then the closest point on domain number Dom<br />

in dimension Edim is used.<br />

If the number of rows in xx is less than the space dimension, then these coordinates<br />

are parameter values on a geometry face or edge. In that case, the domain number<br />

for that face or edge must be specified with the property Dom.<br />

The expressions that are evaluated can be expressions involving variables, in<br />

particular application mode variables.<br />

The matrices v1,v2,...,vn have size k-by-size(xx,2), where k is the number of<br />

solutions for which the evaluation is carried out, see below. The value of expression<br />

ei for solution number j in evaluation point xx(:,m) is vi(j,m).<br />

The vector pe contains the indices m for the evaluation points xx(:,m) that are<br />

outside the mesh, or, if a domain is specified, are outside that domain.<br />

345

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

Saved successfully!

Ooh no, something went wrong!