CompositeFaces
Form composite faces.
Syntax
model.component(<ctag>).geom(<tag>).create(<ftag>,"CompositeFaces");
model.component(<ctag>).geom(<tag>).feature(<ftag>).selection(property);
model.component(<ctag>).geom(<tag>).feature(<ftag>).set(property,<value>);
model.component(<ctag>).geom(<tag>).feature(<ftag>).getType(property);
Description
Use model.component(<ctag>).geom(<tag>).create(<ftag>,"CompositeFaces") to form composite faces.
Use model.component(<ctag>).geom(<tag>).feature(<ftag>).selection("input") to select the faces to concatenate. The default selection is empty.
The feature forms a composite face for each connected face component (of manifold type) of the selected faces by ignoring the edges between the faces. The output object is a virtual geometry.
The following properties are available:
Table 3-49: Valid Properties
on | off
on | off
Use ignorevtx to specify if the feature also removes the ignorable vertices on the boundary of each resulting composite face.
Use keepformesh to keep the input faces while meshing, to help you in constructing the mesh.
Example
A COMSOL Multiphysics standard cone has six faces. Using the following composite face operation, the result is a cone with three faces: top, bottom, and side.
Code for Use with Java
Model model = ModelUtil.create("Model");
model.component().create("comp1");
GeomSequence g = model.component("comp1").geom().create("geom1", 3);
g.create("cone1", "Cone");
g.run("fin");
g.create("cmf1", "CompositeFaces");
g.feature("cmf1").selection("input").set("fin", 1, 2, 5, 6);
g.run();
Code for Use with MATLAB
model = ModelUtil.create('Model');
model.component.create('comp1');
g = model.component('comp1').geom.create('geom1', 3);
g.create('cone1', 'Cone');
g.run('fin');
g.create('cmf1', 'CompositeFaces');
g.feature('cmf1').selection('input').set('fin', [1, 2, 5, 6]);
g.run;
See Also
CompositeDomains,  CompositeEdges, IgnoreEdges