Logical Expression
Use a Logical Expression node () to split geometric entities of an imported mesh by creating at least one new geometric entity for the elements that fulfill the specified logical expression.
To add a Logical Expression node, right-click a 2D or 3D mesh node (that has an imported mesh) and select Logical Expression from the Partitions menu. Then use the sections below to specify the geometric entities to split, the expression, and the split condition.
Geometric Entity Selection
Define the geometric entities that you want to split. You choose the geometric entity level from the Geometric entity level list:
Choose Entire geometry to split all geometric entities according to the specified cylinder.
Choose Domain, Boundary, or Edge to specify the domains, boundaries, or edges, respectively, that you want to split. Use All domains, All boundaries, or All edges to select all entities of the specified dimension.
Expression
Enter a logical expression using x, y, or z (3D only), Unary, Binary, and List Operators and Their Precedence Rules, and Mathematical and Numerical Constants. For instance, the expression (x*x+y*y)<1 defines a ball split in 2D and an infinite cylinder split in 3D.You can also use the Boolean variables istri, isquad, istet, ispyr, isprism, or ishex in the expression in order to partition the mesh according to the respective element type (triangular, quadrilateral, tetrahedral, pyramid, prism, or hexahedral, respectively). For instance, the expression istet makes a separate domain for each connected set of tetrahedra, while the expression ispyr || ishex makes a separate domain for each connected set of elements containing pyramids or hexahedra.
Condition
Use the Include element if expression is fulfilled for list to select the condition for which the logical expression is fulfilled for an element. Choose All vertices to make an element satisfy the expression if it is true for all element vertices, or choose Some vertex if it is true for at least one element vertex.