FreeTet
Create a free tetrahedral mesh.
Syntax
model.component(<ctag>).mesh(<tag>).create(<ftag>,"FreeTet");
model.component(<ctag>).mesh(<tag>).feature(<ftag>).selection();
model.component(<ctag>).mesh(<tag>).feature(<ftag>).set(property,<value>);
model.component(<ctag>).mesh(<tag>).feature(<ftag>).getType(property);
model.component(<ctag>).mesh(<tag>).feature(<ftag>).create(<ftag1>,ftype);
Description
Use model.component(<ctag>).mesh(<tag>).create(<ftag>,"FreeTet") to create an unstructured tetrahedral mesh.
Use model.component(<ctag>).mesh(<tag>).feature(<ftag>).selection() to specify the domain selection. If you do not specify any selection the feature creates a mesh on the remaining geometric entities.
Use model.component(<ctag>).mesh(<tag>).feature(<ftag>).create(<ftag1>,ftype) to add Size or Distribution attribute features.
The following properties are available:
auto | del | dellegacy52
basic | medium | high
on | off
on | off
on | off
on | off
The mesher does not stop if it encounters an error. Instead, it continues to mesh remaining entities. Before finishing, all errors are collected and reported as feature problems. You can use the output to visually examine the partial mesh; this can help you understand what the problems are and how they can be fixed.
The method property determines the Delaunay tessellation algorithm to use. The default is auto, which makes the FreeTet mesh generator determine the best algorithm for each domain. The del1 Delaunay algorithm is the Delaunay algorithm used in earlier COMSOL versions. The del2 Delaunay algorithm is an alternative version of the algorithm, which under some conditions can modify the boundary mesh to simplify the meshing.
The properties xscale, yscale, and zscale specify scalar factors in each axis direction that the geometry is scaled by before meshing. The resulting mesh is then scaled back to fit the original geometry. The values of other properties correspond to the scaled geometry. By default, no scaling is done.
The following attribute features are used:
Scales Size and Distribution.
See Also
Distribution, FreeTri, Size