LayeredMaterial
Create a layered material dataset.
Syntax
model.result().dataset().create(<dtag>,"LayeredMaterial");
model.result().dataset(<dtag>).set(property, <value>);
model.result().dataset(<dtag>).setIndex(property, <value>, <index>);
model.result().dataset(<dtag>).selection(...);
Description
model.result().dataset().create(<dtag>,"LayeredMaterial") creates a layered material dataset.
Layered material datasets refer to another dataset and are used to create a volume or domain (3D) dataset corresponding to a layered shell physics defined using a surface or boundary (2D) geometry and a built-in extra dimension (1D) geometry. This dataset is used to plot or evaluate the quantities on a domain level or its lower dimensions.
The following properties are available:
none | dataset name
meshnodes | interfaces | layermidplanes
Refinement level (1–10) when evaluatein is set to meshnodes.
true | false
When evaluatein is set to meshnodes or layermidplanes, you can use the setIndex selection method to specify the layers to include with the property layerselection. Likewise, when evaluatein is set to interfaces, you can use the setIndex selection method to specify the layer interfaces to include with the property interfaceselection. See setIndex() for more information about that method.