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.

postcoord<br />

Purpose<br />

postcoord<br />

Get coordinates in a model in postprocessing.<br />

Syntax<br />

Description<br />

coord = postcoord(fem,...)<br />

coord = postcoord(fem,...) returns global coordinates in a model by<br />

specifying, for example, a boundary and the number of points on the boundary.<br />

To specify start points for particle tracing in postplot, property/values to<br />

postcoord can be specified in the postplot property partstart.<br />

Valid property/value pairs for postcoord are given in the following table.<br />

TABLE 1-23: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY NAME PROPERTY VALUE DEFAULT DESCRIPTION<br />

coord<br />

cell array of double<br />

vectors<br />

Coordinates where<br />

scalar expansion is used<br />

dl integer vector all domains Domain list<br />

edim -1 | 1 -1 Element dimension<br />

frame string spatial frame Coordinate frame<br />

geomnum positive integer 1 Geometry number<br />

grid<br />

positive integer or<br />

Domain parameters<br />

vector of domain<br />

parameters<br />

mcase non-negative integer Mesh case<br />

npoints non-negative integer Number of subdomain<br />

points, picked from<br />

mesh vertices<br />

(edim=-1)<br />

solnum integer vector | all | See below Solution number<br />

end<br />

T double vector See below Time for evaluation<br />

U solution object |<br />

solution vector | scalar<br />

fem.sol or 0<br />

Solution(s) for<br />

evaluation<br />

The properties Frame, Solnum, T and U are only used when the model fem contains<br />

moving meshes. The default behavior of Solnum and T are described in<br />

postinterp.<br />

Examples<br />

% Set up a 2D geometry with a mesh and an extended mesh<br />

clear fem<br />

fem.geom = circ2+rect2;<br />

fem.mesh = meshinit(fem);<br />

324 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!