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.

femwave<br />

Weak coefficients are cell arrays of length n. They become cell arrays of length 2n,<br />

by moving the existing entries down to the second half, then replacing all references<br />

therein to u_test, ux_test, etc. with references to v_test, vx_test, etc. The first<br />

half of the vector contains n entries of the form v i *u i _test.<br />

Dweak coefficients are cell arrays of length n. They become cell arrays of length 2n,<br />

by moving the existing entries down to the second half, then replacing all references<br />

therein to u_time, ux_time, u_test, ux_test, etc. with references to v_time,<br />

vx_time, v_test, vx_test, etc. The first half of the vector contains n entries of the<br />

form u i _time*u i _test.<br />

Constr coefficients are cell arrays of length n. They become cell arrays of length 2n,<br />

by moving the existing entries down to the second half. If Tdiff is on, then the top<br />

half of the vector is filled by the following entries. If one of the coefficients is c i , one<br />

of the new entries in the top half of the new vector is<br />

where ( v j<br />

)<br />

xk<br />

represents the partial derivative of v j<br />

with respect to space coordinate<br />

x k<br />

, and where there is implicit summation over repeated indices.<br />

The function femwave accepts the following property/value pairs:<br />

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

PROPERTY VALUES DEFAULT DESCRIPTION<br />

Defaults off | on off Return default fields<br />

Diff<br />

cell array with strings<br />

that may contain the<br />

strings r, var and/or<br />

expr or the strings<br />

off or on<br />

∂c i<br />

∂c i<br />

∂c i<br />

+ v<br />

∂t j<br />

+ ( v<br />

∂ uj j<br />

)<br />

xk<br />

∂( u j<br />

)<br />

xk<br />

on (for<br />

general form)<br />

Differentiate constraints.<br />

Describes which fields<br />

that are differentiated if<br />

Tdiff is on. See also<br />

femdiff.<br />

Geomnum integer 1 Geometry number<br />

Shrink off | on off Shrinks coefficients to<br />

most compact form.<br />

Simplify off | on on Simplify differentiated<br />

expressions<br />

Tdiff on | off on Differentiate constraints<br />

with respect to time<br />

175

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

Saved successfully!

Ooh no, something went wrong!