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.

flform<br />

Purpose<br />

flform<br />

Convert between PDE forms.<br />

Syntax<br />

Description<br />

fem1 = flform(fem,'outform',form,...)<br />

[equ,bnd] = flform(fem,'outform',form,...)<br />

fem1 = flform(fem,'outform',form,...) converts the FEM structure fem to<br />

a FEM structure fem1 on form. The fields in fem1.equ and fem1.bnd contain the<br />

corresponding fields from fem.equ and fem.bnd converted to the form form.<br />

fem1.form is set to form. All other fields in fem are copied to fem1.<br />

[equ,bnd] = flform(fem,'outform',form,...)<br />

is an alternative syntax, returning only the equ and bnd fields of the FEM structure.<br />

Conversion from coefficient to general form is performed according to<br />

∂u k<br />

Γ lj<br />

= – c lkji<br />

– α<br />

∂ xi lkj<br />

u k<br />

+ γ lj<br />

∂u k<br />

F l<br />

= f l<br />

– β lki<br />

– a<br />

∂ xi lk<br />

u k<br />

G l<br />

= g l<br />

– q lk<br />

u k<br />

R m<br />

= r m<br />

– h ml<br />

u l<br />

using a notation where there is an implicit summation over the k (or l) and i indices<br />

in each product. Affected fields are therefore ga, c, al, f, be and a from equ and g,<br />

q, r and h from bnd, with c, al, be, a, g and q removed and ga, f, r and g<br />

remaining. Other fields within equ and bnd, such as shape, weak, init, var, etc.,<br />

remain unchanged.<br />

Conversion from general form to weak form is performed according to<br />

( n)<br />

W l<br />

( nt)<br />

W l<br />

=<br />

=<br />

( n – 1)<br />

W l<br />

( n)<br />

R m<br />

=<br />

( n)<br />

W l<br />

( nt)<br />

W l<br />

=<br />

R m<br />

∂v l<br />

+ Γ lj<br />

+ F<br />

∂ xj l<br />

v l<br />

∂u kvl<br />

d u kvl<br />

+ d a<br />

+ e<br />

lk∂t<br />

a lk 2<br />

d t<br />

( n – 1)<br />

W l<br />

+ G l<br />

v l<br />

2<br />

181

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

Saved successfully!

Ooh no, something went wrong!