Material orientation aligned with vector/angle

Description

This tool is a supplementary companion to the "Material Orientation Field" tool.

You can define a vector by selecting two points, or define a vector by x,y,z , or enter an angle to define the material orientation on the 2d elements.

· In vector by two points method or x,y,z method, this tool projects the vector onto the 2d elements so that the material orientation aligns with the projected vector.

· In the angle method, the material orientation is defined by the angle value.

All methods will derive an angle for each 2d element so that the material orientation of this element aligns with the vector or the angle. If you want to align the material orientation with the projected X axis of a coordinate system tool or align the material orientation with a curve or edge, please use "Material Orientation Field" tool.

For example, the material orientation of the quad element is the material X axis. The theta angle is calculated between the material X axis and the line of G1 to G2, while G1 and G2 are the first and second nodes of the element.

A diagram of a geometry

Description automatically generated

Workflow

There are three methods in this tool in the current release.

1. Vector defined by two points.

A screenshot of a computer

Description automatically generated

1) In this method, you need to define inputs for three stages.

Stage

User Input

Stage 1

2d surface mesh, 2d sub mesh or 2d element

Stage 2

The starting point of the vector

Stage 3

The end point of the vector

2) Click “Preview vector” button to preview the vector in the viewport. If it is not desired, re-select two points to define a new vector.

3) Click “Clear vector” button to clear the vector in the viewport.

4) Click Apply button to create the material orientation field object. You can double click the object to check the material orientation glyph and angle for each element in the viewport to validate the material orientation.

In below picture, you can clearly see the angle value and the material orientation glyph for the selected element.

2. Vector defined by x,y,z

In this method, you need to provide a vector input to define the material orientation. Note that the format of the values should be three float values separated by comma. Click Apply button to create a material orientation field object. The material orientation will be aligned with the vector. You can double check the derived angle from this vector in the material orientation field object.

A screenshot of a computer

Description automatically generated

3. Theta angle in degrees

In this method, you enter an angle value in degrees to define the material angle for the selected mesh. The angle is measured between the material X axis and the line from G1 to G2 of the element. You can check the element coordinate system before entering the angle since the X axis of the element coordinate system is from G1 to G2.

A screenshot of a computer

Description automatically generated

No matter what method you use, the tool will finally create a material orientation field object. You can open the field to investigate the material orientation for each element and manually adjust the angle.