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.

meshinit<br />

TABLE 1-10: MESH PARAMETERS SET BY THE PROPERTY HAUTO IN 3D<br />

HAUTO HMAXFACT HCURVE HGRAD HCUTOFF HNARROW<br />

8 3 0.9 1.85 0.06 0.2<br />

9 5 1 2 0.07 0.1<br />

Hcurve is a scalar numeric value that relates the mesh size to the curvature of the<br />

geometry boundaries. The radius of curvature is multiplied by the hcurve factor to<br />

obtain the mesh size along the boundary.<br />

hcurveedg and hcurvefac are matrices with two rows where the first row contains<br />

edge indices and face indices respectively, and the second row contains<br />

corresponding values of hcurve. If several faces are represented in one patch, the<br />

value of hcurvefac for the faces in the patch is set to the minimum value of the<br />

hcurvefac values for the corresponding faces.<br />

hcutoff is used to prevent the generation of many elements around small curved<br />

parts of the geometry. The interpretation is that when the radius of curvature is<br />

smaller than hcutoff*maxdist the radius of curvature is taken as<br />

hcutoff*maxdist, where maxdist is the longest axis parallel distance in the<br />

geometry.<br />

hcutoffedg and hcutofffac are matrices with two rows where the first row<br />

contains edge indices and face indices respectively, and the second row contains<br />

corresponding values of hcutoff. If several faces are represented in one patch, the<br />

value of hcutofffac for the faces in the patch is set to the minimum value of the<br />

hcutofffac values for the corresponding faces.<br />

The property hgrad tells how fast the element size—measured as the length of the<br />

longest edge of the element—can grow from a region with small elements to a<br />

region with larger elements. If two elements lie one unit length apart, the difference<br />

in element size can be at most hgrad.<br />

hgradvtx, hgradedg, hgradfac, and hgradsub are matrices with two rows where<br />

the first row contains vertex indices, edge indices, face indices, and subdomain<br />

indices respectively, and the second row contains corresponding values of hgrad. If<br />

several faces are represented in one patch, the value of hgradfac for the faces in the<br />

patch is set to the minimum value of the hgradfac values for the corresponding<br />

faces.<br />

The hmax parameter controls the size of the elements in the mesh. meshinit creates<br />

a mesh where no element size exceeds hmax. The default hmax value is one fifteenth<br />

271

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

Saved successfully!

Ooh no, something went wrong!