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.

femsim<br />

time-independent constraints and the eliminate constraint handling method is<br />

supported. The Const property is not supported.<br />

The linearization point should be an equilibrium point (stationary solution) and is<br />

controlled by the property U, see femsolver. The inputs and the outputs are<br />

deviations from the equilibrium values.<br />

Model reduction can be used to approximate the linearized model with a model that<br />

has fewer degrees of freedom, by using Reduction=on. A number of eigenmodes<br />

(given by the property Redmodes) and static modes (if Restatic=on) will then be<br />

computed, and the linearized model will be projected onto the corresponding<br />

subspace. The properties Etol, Itol, Krylovdim, and Shift of the eigenvalue<br />

solver are supported, see femeig.<br />

When using model reduction on wave equation models that have been rewritten as<br />

a system of first-order equations (wave extension), the algorithm needs to know the<br />

names of the original (non time derivative) solution components. The names of the<br />

non-time derivative solution components should be specified using the property<br />

Redcomp. Since <strong>COMSOL</strong> Multiphysics 3.2, wave equations are usually formulated<br />

without wave extension; then the Redcomp property should not be used.<br />

Linearized Static Export (State=on, Static=on)<br />

Export a static linearized model. The model is linearized about an equilibrium<br />

solution, and a transfer matrix is computed. The <strong>COMSOL</strong> Multiphysics degrees of<br />

freedom are not part of the Simulink state vector. To compute the outputs of the<br />

<strong>COMSOL</strong> Multiphysics Subsystem block, the transfer matrix is used.<br />

The linearization point should be an equilibrium point (stationary solution) and is<br />

controlled by the property U, see femsolver. The inputs and the outputs are<br />

deviations from the equilibrium values.<br />

Example<br />

Heat equation with heat source Q as input.<br />

fem.geom = solid1([0 1]); fem.mesh = meshinit(fem);<br />

fem.shape = 2; fem.equ.da = 1; fem.equ.c = 1; fem.equ.f = 'Q';<br />

fem.xmesh = meshextend(fem);<br />

% Temperature u at x = 0.5 is output<br />

sct = femsim(fem, 'input',{'Q'}, 'outnames',{'Temp'}, ...<br />

'output',{{'u' 0.5}});<br />

Compatibility<br />

For backward compatibility, the Input property can also be a vector of indices into<br />

fem.const.<br />

144 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!