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.

meshcaseadd<br />

The mesh case generation method is determined by the property Mgauto. The new<br />

mesh cases will be given the numbers mcmax+1, ..., mcmax+n, where mcmax is<br />

the current highest mesh case number.<br />

• If Mgauto=both, shape, or meshscale, then the new mesh cases are constructed<br />

starting from the mesh case given in the property Mcaseorig (this should be a<br />

single nonnegative integer). This process is described in the section<br />

“Constructing a Multigrid Hierarchy” on page 423 in the <strong>COMSOL</strong><br />

Multiphysics User’s Guide, where the methods are called Coarse mesh and lower<br />

order (both), Lower element order first (shape), and Coarse mesh (meshscale).<br />

The mesh coarsening factor is given in the scalar Meshscale, the shape function<br />

order change amount is given in the scalar Shapechg, and the number of new<br />

mesh cases to create is given by the property Nmcases.<br />

• If Mgauto=explicit, then new mesh cases are constructed starting from the<br />

mesh case(s) given in the property Mcaseorig. The properties Mcaseorig,<br />

Meshscale and Shapechg should be vectors of the same length n (however if one<br />

is scalar, it is expanded to the same length as the other). Mesh case mcmax+i will<br />

have a mesh that is coarsened with the factor Meshscale(i), and shape function<br />

orders incremented with Shapechg(i) relative to mesh case Mcaseorig(i).<br />

• If Mgauto=meshrefine, then the new mesh cases are constructed by refining the<br />

mesh in mesh case Mcaseorig (this should be a single nonnegative integer)<br />

repeatedly. The number of new mesh cases to create is given by the property<br />

Nmcases. The refinement method can be specified using the property Rmethod,<br />

see meshrefine.<br />

The default value of Mgauto is as follows. Let n be the maximum length of the<br />

vectors Meshscale, Mcaseorig, Shapechg. The default for Mgauto is shape if n=1,<br />

and explicit if n>1.<br />

The following fields in the FEM structure are affected by meshcaseadd:<br />

mesh, shape, gporder, ***.gporder, cporder, and ***.gporder, where *** is<br />

equ, bnd, edg, or pnt. Also, the corresponding fields in the appl field are affected.<br />

See Also<br />

femsolver, meshcasedel<br />

251

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

Saved successfully!

Ooh no, something went wrong!