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.

meshsweep<br />

The property elsweeplayers determines the distribution of the mesh element<br />

layers in the sweep direction. The value of this property is an even numbered cell<br />

array where the odd entries contain subdomain indices, either as scalar values, or as<br />

vectors with subdomain indices, and the even entries contain scalar values or vectors<br />

specifying the element layer distribution for the corresponding subdomain(s). If the<br />

element layer distribution is specified by a scalar, the element layers for the<br />

corresponding subdomain(s) are equally distributed and the number of element<br />

layers equals the value of the scalar. To get full control over the element layer<br />

distribution for a subdomain, the vector form is used. The values in the vector, that<br />

are sorted and starts with 0, specifies the distances of the element layers along the<br />

direction of the sweep for the corresponding subdomain(s).<br />

Hauto is an integer between 1 and 9 that controls the element size in the generated<br />

mesh. The default value is 5 which means that the element size is set to 1/10 of the<br />

size of the geometry for the elements not affected by the elsweeplayers property.<br />

Use the property subdomain to specify the subdomains to be meshed. If you use<br />

this property together with the meshstart property, the value auto means that all<br />

subdomains that are not meshed in the starting mesh are meshed, none means that<br />

no further subdomains are meshed, and all means that all subdomains are meshed<br />

(or remeshed). It is also possible to specify the subdomains to be meshed (or<br />

remeshed) using a vector of subdomain indices.<br />

The meshstart property is used when meshing a geometry interactively. The value<br />

of this property is the starting mesh of the meshing operation.<br />

The property sourceface is a cell array specifying the source faces for the<br />

subdomains. The value of this property is an even numbered cell array where the<br />

odd entries contain subdomain indices, either as scalar values, or as vectors with<br />

subdomain indices, and the even entries contain the source face indices for the<br />

corresponding subdomain(s).<br />

The property targetface defines the target faces for the subdomains. The syntax<br />

of this property is the same as for the sourceface property.<br />

If the source and/or target face is not specified for a subdomain, the software<br />

automatically tries to determine these faces.<br />

The following criteria must be met by the input geometry object for the sweeping<br />

technique to work.<br />

• Each subdomain must be bounded by one shell, that is, a subdomain must not<br />

contain holes that do not penetrate the source and target face.<br />

298 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!