Modal Geometry

From OROS Wiki
Jump to navigation Jump to search

Geometry modelling

Principle

To begin with the geometry modeling, we should know about three important concepts, i.e. coordinates, nodes and links. A geometry is made up of these three elements.

Coordinates

Global and local coordinates

There are two kinds of coordinate systems in Modal, i.e. the global coordinate system and local coordinate system. The global coordinate system which defines the global origin point and global X, Y, and Z axis, is a kind of Cartesian coordinate. The No. of global coordinate system is 0 in Modal. The local coordinate systems are all defined referring to the global coordinate. Three kinds of local coordinate systems are available now, i.e. the Cartesian coordinate, the cylindrical coordinate and the spherical coordinate. You can have only one global coordinate, but many local coordinates. All the coordinates in Modal are defined according to the right-hand rule.

Cartesian coordinate

To define a point in the Cartesian coordinate system, you need three translations x, y, and z as the following:

Modal Manual 31.png
Cylindrical coordinate

To define a point in the Cylindrical coordinate system, you need radius x, rotation y, and translation z, as the following:

Modal Manual 32.png
Spherical coordinate

To define a point in the Spherical coordinate system, you need radius x, rotation y, and rotation z, as the following:

Modal Manual 33.png

It’s easy to transform between these three coordinate systems.

Define a coordinate
Modal Manual 34.png

To define a local coordinate system, you should assign an ID No., select the coordinate type, and specify the position and direction of local coordinate frame. A local coordinate OLXLYLZL is always defined referring to the global coordinate OXYZ. In Modal, three points are employed to specify the coordinate frame, i.e. the original point P1, a point P2 on the XL aix, and another point P3 on the XLZL plane. For convenience, the point P3 is usually selected on the local ZL axis.

Modal Manual 35.png

As shown in the above picture: the local XL axis can be determined by P1 and P2; the plane XL-ZL can be determined by P1, P2, and P3, thus the ZL axis can also be obtained; the YL axis can then be determined according to the right-hand rule.

You can also define a local coordinate system by the origin point and three Euler angles.

Nodes

Define a node

A node must belong to a coordinate, either the global coordinate system or a local coordinate system. Besides the coordinate ID, you still need to specify its No. and x, y, z values.

Modal Manual 36.png
Directions of a node

In Modal, it’s very important that the directions of a node are defined in the local coordinate system.

In a local Cartesian coordinate, all the points have the same directions with local axis. These three directions accord with right-hand rule.

Cartesian.png


In a local cylindrical coordinate: the x direction vector start from the cross point O’ to node point P; the z direction is the same as local ZL axis; and the y direction is tangential to the circle. These three directions accord with right-hand rule.

Modal Manual 05.png

In a local spherical coordinate: the x direction vector start from the origin point to node point P; the y direction is tangential to the longitude circle; and the z direction is tangential to the latitude circle. These three directions accord with right-hand rule.

Spherical.png



Links

Two types of link are supported in Modal: lines and polygons.

A line is defined by two nodes. For instance, "3 5" defines a trace line between node 3 and node 5.

A polygon is defined by a sequence of nodes. You are allowed to define a polygon with arbitrary number of nodes, which should be arranged according to the clockwise or anticlockwise direction. For instance, "1 2 3 4 5 6" defines a hexagon.

Geometry in Modal software

To build a geometry model in the Modal software, you have three methods at least:

  • Use the integrated function for geometry modeling in Modal
  • Import geometry from UFF files;
  • Create geometry information in the Excel, and then copy and paste them to the "Config" view.

geometry modeling illustration

In this section, the process of creating an uneven spaced plate is introduced.

Modal Manual 37.png

The plate is 10 in width, and 114 in length, which is divided into 12 segments. The first 4 segments (A) and last four segments (C) are evenly distributed with an interval of 8, and the middle 4 segments (B) are evenly distributed with an interval of 12.5. To ensure the nodes numbered continuously, the following steps should be processed:

  • Segment A. The parameters should be set as below:
Modal Manual 38.png

The structure showed as below is got:

Modal Manual 39.png
  • Segment B. The origin point of segment B should be node 9. The value of Point on X-Axis and Point in XZ-Plane will be changed automatically.
Modal Manual 40.png

The structure showed as below is got:

Modal Manual 41.png
  • Segment C. The origin point of segment C should be node 19. The value of Point on X-Axis and Point in XZ-Plane will be changed automatically.
Modal Manual 42.png
Modal Manual 43.png
  • Note that there are some repeated nodes, for example, node 9 and node 11, node 10 and node 12. Remove all the repeated nodes by pressing the button of "validity check" Modal Manual 44.png.
Modal Manual 45.png
  • Note that the IDs of nodes are not continuous now. Renumber all the nodes in-order by pressing the buttonModal Manual 46.png. The task of modeling has been accomplished by now.
Modal Manual 47.png

Basic geometry library

Geometry modeling is realized in the "Config" view or 3D "Geometry" view by operating the relevant toolbar and right click menu. The location, shape, mesh and numbering of a 3D object can be totally specified by setting its local coordinate system, mesh type, first ID and properties. Several internal 3D objects are included in Modal, such as Line Segments, Line, Rectangle, Trapezia, Sector, Elliptic Sector, Cube, Elliptic Cylinder, Cone, and Sphere.

When bundling several 3D objects together, there may exist some repeated nodes, which will lead to some problems. It’s recommended to delete these repeated nodes. You can finish this task conveniently in Modal.

Local coordinate systems

Each new 3D object will be created with a new local coordinate, whose type depends on the different kinds of object. You should define the origin point and coordinate frame in the below interface.

The local coordinate is determined by three geometry point in Modal.

Modal Manual 48.png

The ID# will be specified automatically. Of course you can change it if necessary. You can type the three points manually, or select an existed node from the "Node" list. If a node is selected, its global coordinate value will be filled into the blanks automatically.

Note: On the icons for adding 3D objects in the toolbar, the light blue point indicates the origin of local coordinate system. For example, the iconModal Manual 49.png indicates that the origin of a rectangle object lies in its bottom left corner.

Moreover, there is hyperlink text of "Illustration" on the dialog of setting properties. Illustration graph of 3D object to be added will show when moving cursor on it.

Mesh type
Modal Manual 50.png

This option allows you to set the mesh type to frame or surface. If the surface type is selected, the meshed can be rendered. For a line object, only the frame type is optional.

st ID

This option allows you to set the first node ID of a new 3D object. Modal automatically assigns the 1st ID for the new object. It’s recommended to set this parameter equal or large than the default value for a primary user.

Of course, in some occasions, setting the 1st ID flexibly will greatly reduce the workload for an advanced user.

Properties
  • Line Segments
Modal Manual 51.png

Add line segments between two specified nodes. If "Only Nodes" is checked, then the links will not be added.

  • Line
Modal Manual 52.png

Only the length and number of segments are required for a line object. The line is along the X axis of local coordinate, and its local origin locates in the left fringe. The node IDs are increasing from its left to right. The new coordinate is of Cartesian type.

Modal Manual 53.png
  • Rectangle
Modal Manual 54.png

Length, width and their number of segments should be specified for a rectangle object. The local origin of a rectangle object locates in its bottom left corner. The node IDs are increasing from its left to right. The nodes are numbered from the origin, in the turn of from left to right and from bottom to top. The new coordinate is of Cartesian type.

Modal Manual 55.png
  • Trapezia
Modal Manual 56.png

Upper side length, nether left side length, nether right side length, height and their number of segments should be specified for a trapezia object. The local origin of a trapezia object is the intersection point of left height line and nether side, which is shown as the red point in the figure below. The nodes are numbered in the turn of from bottom to top and from left to right. The new coordinate is of Cartesian type.

Modal Manual 57.png

If the length of nether left side or nether right side is equal to zero, it’s a right-angle trapezia. If both of them are equal to zero, it’s a rectangle. If the length of upper side is equal to zero, it’s a triangle.

  • Sector
Modal Manual 58.png

The shape of a sector object is specified by the sector angle, inner radius and outer radius. To mesh the sector you should set the number of segments of sector angle and radius. The local origin of a sector object is right the circle center. The sector object is distributed symmetrically to the Y axis of local coordinate system. The nodes IDs are increasing from inner to outer in the anticlockwise direction. The new coordinate is of Cylindrical type.

Modal Manual 59.png

If the sector angle is equal to 360 degrees, it’s a hollow cirque. If the inner radius is equal to zero, it’s a solid sector. If the sector angle is equal to 360 degrees, and the inner radius is equal to zero, it’s a solid circle.

  • Elliptic Sector
Modal Manual 60.png

The shape of an elliptic sector object is specified by the sector angle, long radius and short radius. To mesh the elliptic sector you should set the number of segments of sector angle and radius. The local origin of a elliptic sector object is right the ellipse center. The nodes IDs are increasing from inner to outer in the anticlockwise direction. The new coordinate is of Cartesian type.

Modal Manual 61.png

If the sector angle is equal to 360 degrees, it’s an ellipse. If the long radius is equal to the short radius, it’s a circle sector, which is the same as the sector object introduced above. If the sector angle is equal to 360 degrees, and the long radius is equal to the short radius, it’s a solid circle too.

  • Cube
Modal Manual 62.png

Length, width, height and their number of segments should be specified for a cube object. The local origin of a cube object locates in the nether left corner of the front side, which is shown as the red point in the figure below. The nodes are numbered from the origin, and the IDs are increasing from nether to upper in the anticlockwise direction. The new coordinate is of Cartesian type.

Modal Manual 63.png

There is neither top side nor bottom side in this cuboid object. If necessary, you can bundle this object with two rectangle objects, and then remove the repeated nodes to get a cube with all six sides. If the length, width and height are all equal, it’s a cube.

  • Elliptic Cylinder
Modal Manual 64.png

Long axis and short axis and height should be specified for an elliptic cylinder object. To mesh this object you should set the number of segments of circumference and height. The local origin of an elliptic cylinder object is right the ellipse center of bottom side. The nodes are numbered from the Y axis of local coordinate, and the IDs are increasing from bottom to top in the anticlockwise direction. If the cross section is an circle, the new coordinate is of Spherical type. If the cross section is an ellipse, the new coordinate is of Cartesian type.

Modal Manual 65.png

There is neither top side nor bottom side in this elliptic cylinder object. If necessary, you can bundle this object with two sector or elliptic sector objects, and then remove the repeated nodes to get a elliptic cylinder with top and bottom sides.

If the long axis is equal to the short axis, it’s a common cylinder.

  • Cone
Modal Manual 66.png

Upper radius, nether radius and height should be specified for frustum of a cone object. To mesh this object you should set the number of segments of circumference and height. The local origin of a cone object is right the circle center of bottom side. The nodes are numbered from the Y axis of local coordinate, and the IDs are increasing from bottom to top in the anticlockwise direction. The new coordinate is of Cylinder type.

Modal Manual 67.png

There is neither top side nor bottom side in this cone object. If necessary, you can bundle this object with two sector or elliptic sector objects, and then remove the repeated nodes to get a cone with top and bottom sides.

If the upper radius or nether radius axis is equal to zero, it’s a complete cone (not a frustum).

  • Sphere
Modal Manual 68.png

Radius and range of latitude angle should be specified for frustum of a sphere object. The range of a latitude angle is [-90,90] degree. Latitude angle of zero means the equator. Latitude angle of -90 degree means the south pole. Latitude of 90 means the north pole. To mesh this object you should set the number of segments of circumference and latitude angle. The nodes are numbered from the negative Y axis of south latitude plane in the local coordinate, and the IDs are increasing from south to north in the anticlockwise direction. The new coordinate is of Spherical type.

Modal Manual 69.png

If the latitude angle is greater than -90 degree and less than 90 degree, it’s the frustum of a sphere. There is neither top side nor bottom side in this cone object. If necessary, you can bundle this object with two sector or elliptic sector objects, and then remove the repeated nodes to get a complete frustum of sphere. If the latitude angle ranges from -90 degree to 90 degree, it’s a complete sphere. If the latitude angle ranges from zero to 90 degree, it’s a hemisphere.

Interactive geometry modelling

Modal also provides you with functions of interactive geometry modeling. You can add nodes, lines, polygons and 3D objects just by mouse clicking, and realize operations of translation, zoom, rotation, deletion, and so on. The functions are accessible by the Graphics Extra Toolbar.

The graphics extra toolbar is available only when geometry, mode shape or ODS animation are showed in the current main window. It is used to control the 3 dimension graphics and animations. This toolbar is the same as configuration extra toolbar, only different buttons are enabled, and its floating style is as below:

The functions of each button as follows:

Modal Manual 70.png: Show the interface for geometry modeling

Modal Manual 71.png: Delete the selected items

Modal Manual 72.png: Check all items, and remove the repeated nodes

Modal Manual 73.png: Renumber all the nodes in-order

Modal Manual 74.png: Undo the last action

Modal Manual 75.png: Redo the previous undone action

Modal Manual 76.png: Reset the layout to show the objects in window

Modal Manual 77.png: Show the grid plane or not. There is a dropdown menu below this button:

Modal Manual 78.png
: Show the grid plane or not
: Snap to grid point
: Call the dialog to set the parameters of grid plane
Modal Manual 79.png

Referring to the global coordinate or some local coordinate, the position of the grid plane can be set by changing the parameters in the dialog. With the grid plane, you’ll be convenient to edit the geometry, such as adding a node or moving a node. Note that the coordinate values displayed are all relative to the reference coordinate, and in the format of Cartesian, even if the reference coordinate is of cylinder or sphere type.

Modal Manual 80.png: Add line segments between two nodes. There is a dropdown menu below this button:

Modal Manual 81.png

: To select nodes by mouse. There is a dropdown menu below this button:

Modal Manual 82.png

Modal Manual 83.png: Show the default 3D view. There is a dropdown menu below this button:

Modal Manual 84.png

Modal Manual 85.png: Display the transparent surface of un-deformed structure. There is a dropdown menu below this button:

Modal Manual 86.png: Render animation surface (for polygon elements) of not

Modal Manual 87.png: Show the single view or quad view in the window

Modal Manual 88.png: Select mode No. from the list (for mode shape animation)

Modal Manual 89.png: Turn to next mode (for mode shape animation)

Modal Manual 90.png: Turn to previous mode (for mode shape animation)

Import geometry

You can import geometry information from UFF 15/82/2412 files and IGES files.

Modal Manual 91.gif

You can create geometry information in the Excel, and then copy and paste them to the "Config" view.

Modal Manual 92.png