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.

femwave<br />

Use fem.rules to specify additional differentiation rules. The derivative of the<br />

Inverse hyperbolic tangent function atanh can, for example, be specified as<br />

{'atanh','1./(1-x.^2)'}. It can also be stored as a field in the fem structure.<br />

Cautionary The properties bdl, out, rules, and sdl are obsolete in FEMLAB 3.0.<br />

The h and r coefficients at level 4 of the syntax must be given either as a scalar<br />

numeric value, or a string containing an expression.<br />

You should set the ODE Suite parameter maxorder to 2 for the solver ode15s for<br />

wave type problems. This is automatically done by the graphical user interface.<br />

Compatibility<br />

In FEMLAB 1.0, when using general form, you had to apply femdiff before<br />

femwave. This was because the h coefficient in fem affects the result of the r<br />

coefficient in the output fem1, and h had to be computed by symbolic<br />

differentiation by femdiff. In FEMLAB 1.1, h is automatically computed by<br />

femwave if not provided. Therefore femdiff can be applied after the femwave call<br />

in FEMLAB 1.1.<br />

See Also<br />

femtime<br />

176 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!