STKO
STKO
STKO
USER MANUAL
STKO
0
STKO Contents
Chapters
INTRODUCTION ......................................................................................................................................... 4
1.3. Create, Edit and Save Pre and Post Processor Documents ............................................................ 12
STKO
1
2.7.1. BeamSolidCoupling ...................................................................................................................... 94
2.7.2. ForcefromReaction ...................................................................................................................... 94
2.7.3. DistributedLK ................................................................................................................................ 98
STKO
2
4.1. How to interact with Python ............................................................................................................. 158
STKO
3
INTRODUCTION
Scientific Toolkit for Opensees (STKO) User Manual comprises all essential and practical
information for the customer to use this software. This manual contains a description of
functions and capabilities from preprocessing till postprocessing phase, including procedures
for meshing, analysis and also an introduction to customization. The format of the manual
may be updated for latest STKO version.
What is STKO?
STKO is a cutting-edge complex data visualization tool for Opensees. By using STKO a user can
create a Tool Command Language (TCL) input file for Opensees and after processing read the
output file and data through its graphic interface. Here are presented the adopted HDF5
database library, the structure of the proposed file format, the Python-based scripting
interface for manipulation and customization of results and also the implementation of the
new recorder class in OpenSees.
webpage: www.asdeasoft.net/stko
STKO
4
1. Get Started - STKO User Interface
STKO user-friendly interface enables users to easily understand how to manage models with
easy and full control. The program includes two modules: the Pre Processor module and the
Post Processor one.
STKO
5
Figure 2. Pre Processor Toolbar
(2) Main Toolbar. This Toolbar organizes and displays tools by task.
(3) Work Tree. The Work Tree contains all the hierarchical information about the models.
In the Pre Processor Work Tree user can move previously created items to list them in the
correct order even if they were created later. The up and down arrows allows user to move
them along the work tree.
STKO
6
SCROLL ARROWS
Figure 7. Before the moving of a previously created item Figure 8. After the moving of the item
(4) Terminal Window. This Window contains two text editors. The first one shows the
software commands output while in action. The second one is the Input bar, which provides a
fast way to enter commands; coordinates and values directly using the keyboard. Input bar
also has an auto compilation feature (Figure 12)
(5) Editor Window. This window shows all features related to the object selected in post-
processor module: information, surface color map, color map, visualization.
STKO
7
Figure 12. Editor window
(6) Quick access Toolbar. This toolbar gives the possibility to set views, grid, zoom, show
vertices, edges and surfaces.
Grid Osnap Select/Unselect elements
Perspective
(7) Render window. This window shows the model and its features.
STKO
8
1.1.1. Keyboard & Mouse Commands
Mouse Wheel Hold down: it pans the view in the space.
Scroll Up: scrolling the mouse wheel up will zoom the object in.
Scroll Down: scrolling the mouse wheel down will zoom the object out.
Right-Click: the right mouse button click enables user to repeat a previous command.
Mouse Wheel + [Ctrl]: Holding the mouse wheel + Ctrl down and moving the mouse will
rotate the view around the object.
STKO
9
1.1.2. Gesture Commands
STKO enables users to use touch screen commands (or gestures) if the computer has this feature.
Fingers may use any of these tricks:
Move: Place two fingers on the screen and then move them to move the view around the
object.
Zoom in & Zoom out: simply use two fingers and pinch them inwards (to zoom out)
or pinch them outwards (to zoom in).
Tap: The equivalent of a mouse Click. It enables users to select single objects on the
interface.
Ctrl+Tap: The equivalent of a mouse Click + Ctrl. It is used to unselect single objects on the
interface. To unselect multiple objects, use one finger to double tap and drag from right to
left holding the Ctrl Key down.
Crossing Selection: To imitate the mouse’s selection, simply use one finger to double tap
and drag from right to left to select all objects that are crossed by the selection rectangle.
Window Selection: To imitate the mouse’s selection, simply use one finger to double tap
and drag from left to right to select all objects that are entirely enclosed in the selection
rectangle.
Rotate to turn: Hold down one finger on screen and rotate it in a circular motion either
clockwise or counterclockwise.
STKO
10
1.2. Handling Selection
User can easily select more than an element of the geometry by using some Quick access
toolbar commands above the render window.
Otherwise, geometries can be quickly selected in the Work Tree where all the model’s
geometries are listed under the item Geometry. By clicking on the item, a subgroup of
entities will appear under geometry in order to select not only the whole geometry but also
each element that made it up.
Subgroup of “Lines”
Subgroup of “Lines”
Subgroup of “Interaction”
Figure 16. Work Tree
Obviously, some commands (such as Loft, CAD commands, etc…) do not permit a multiple
selection. For this reason meanwhile using them the selection command in the Quick Access
Toolbar will be turned off.
STKO
11
1.3. Create, Edit and Save Pre and Post Processor Documents
To Create a New document or Open an existing one, user can choose the corresponding
commands in pre-processor interface:
To save the current document select from the main Toolbar: Home > Save. Click Save as to
save the current document to a new location use. If the current document has never been
saved before, Save command will automatically call the Save as command to name file for
the first time. The file extension is .scd (STKO CAE Document).
The post-processor interface stores data such as: loaded output databases, plots, charts
ex.… The file extension is .sped (STKO Post-Processing Document). Like in pre-processor
interface select from the Toolbar: Home > Save to save the current document. Use Save as to
save the current document to a new location. If the current document has never been saved
before, Save command will automatically call the Save as command to name the file for the
first time.
The program let load more than a single Database in Post-Processor Section and more than
one between Plots and Plot Groups, charts and its data. Whenever user would open a saved
post-processor document, it will include .mpco files with Plot Groups and Charts created by
user without losing data.
STKO
12
Figure 19. Post-Processor Work Tree of a Structure
User can choose between different kind of Plots (Deformed Shape, Surface plot, Volume plot,
Beam/Shell Fiber plot, Gauss Point Plot). With right-click on Plot Groups > New Plot Group >
right click on New Plot Group and choose which Plot needs to be shown. Select on Plot and
see all data i.e.: Information, Data, Color Map and Visualization can be set on the Editor Panel.
STKO
13
Figure 20. Example of Surface color map
To Delete a New Plot Group or a single Plot click with the right mouse button on the
corresponding item and select Delete Plot (or Plot Group). (see § 3-3.2 Post processing
module)
STKO
14
2. Preprocessing Module
By using pre processing module a user can create input file for OpenSees, starting from CAD
modeling until algorithms definition, in order to create a Tool Command Language (TCL) file
with all information required by OpenSees to solve it.
Solver
OpenSees
STKO
15
2.1. Geometry
In STKO, the definition of Geometry is divided into eight sections: Exchange, Edit, Sets, Points,
Curves, Surface, Solids and Boolean. Those are both arranged in the geometry drop-down
menu and in the main Toolbar, like every STKO features.
Before starting, it is better to highlight the possibility for the user to specify the design plane.
By clicking on view cubes from the Quick Access Toolbar user can choose on which view he
wants to operate (above, bottom, front, back, left and right side). Each view can be seen
alternatively in parallel and perspective projection. In a parallel view, all the grid lines are
parallel to each other, and identical objects look the same size, regardless of where they are in
space. In a perspective view, grid lines converge to a vanishing point. This provides the
illusion of depth in the viewport. Perspective projection makes objects farther away look
smaller. Click on axonometric cube to have an axonometric projection.
STKO
16
Workplane
STKO give the user the possibility to specify the construction plane.
Workplane 3 points
By the Workplane 3 points command user can set the origin and orientation of
the construction plane. Click on Document > Workplane 3 points. In addition,
user can manually specify new workplane 3 points or type x y and z (optional)
coordinates after the origin.
Workplane parallel
By the Workplane Parallel command user can set the origin and orientation of the
construction plane. Click on Document > Workplane Parallel and offset the Work
Plane along using plane. Through this command the user can set the work plan and
change the Cartesian references, in order be able to work in different points of the work area.
After creating workplanes user can save each created plan, choose and controls them directly
from the Work tree where are listed and select one of them whenever needed.
Workplane Offset: 30
STKO
17
2.1.1. Geometry – Exchange
The commands present in Exchange section are a subset of the Geometry category. Each
one allows the user to import or export geometries from one or to other files.
Import
After enabling the command select the file path from the interactive menu. The supported
files extensions are IGES Files (*.iges, *.igs), STEP Files (*.stp *.step), BREP Files (*.brep
*.rle). A window of Regenerate Model will appear:
STKO
18
Terminal bar shows all geometries that user selects:
Export
After enabling the command select the file path from the interactive menu. The supported
files’ extensions are IGES Files (*.iges, *.igs), STEP Files (*.stp *.step), BREP Files (*.brep
*.rle).
STKO
19
2.1.2. Geometry – Edit
The commands present in Edit section are a Geometry category subset. Each one allows the
user to make a specific changement to the geometries. To perform transformation user must
select one or more geometries through Left-Click and then Right-Click to enable selection.
Press [Esc] on keyboard or select it through Right-Click to abort a command while in use.
Note: All commands can be alternatively realized by typing their name in the Terminal input
bar, which also has an auto compilation module,and following the instruction given.
STKO
20
Delete
2. Select geometries.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
3. End.
Press the [Enter] on the keyboard or the Right-Click to terminate the function of the
command.
Query Geometry
Figure 32. Query properties window_Selection part Figure 33.Query properties window_Properties part
STKO
21
An editing window will appear. In selection part (Fig. 32) user can select geometries to query
by hierarchy, by mass property or by location. Once defined the geometry to query user can
know its properties like length; area; volume; face-edge-solid center of mass or coordinates
to points. (Fig.33).
2. Select geometry.
User can choose geometry selecting it dircetli with mouse or by the selection window. After
confirmation, the selected geometries will turn red.
3. Select properties.
After selecting geometries user can switch to properties window and know length, area,
volume and some other informations.
3. End.
Press the [Esc] on the keyboard or the Right-Click to terminate the function of the command.
Move
This command moves geometries in another position in space. The action is completed only
by two points (the first and the second point of translation). The user can specify through
mouse or keyboard the first and second point of the distance, defining the translating line,
to move the objects.The Terminal Input accepts to enter the X Y Z coordinates, i.e.: (100 -100
0) and eventually the distance value, i.e.: (100.5) after the first point (he Z coordinate is
optional, by default it is set to 0).
2. Select geometry.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
Click anywhere in work plane or on a point belonging to the geometry or type coordinate
X Y Z to assign a reference point.
STKO
22
4. Specify the second point.
Click in work plane or type coordinate X Y Z or type the distance value to define the
move.
6. End.
Press the [Esc] on the keyboard or the Right-Click to terminate the function of the
command.
Copy
This command copies geometries in another position in space preserving their features. The
action is completed only by two points (the first and the end point of translation). The user
can specify through mouse or keyboard the first and second point of the distance, defining
the translating line, to copy the objects. The Terminal Input accepts to enter the X Y Z
coordinates, i.e.: (100 -100 0) and eventually the distance value, i.e.: (100.5) after the first
point. The Z coordinate is optional, by default it is set to 0. After generating the first copy, the
command remains active in order to create other copies of the same geometry. The action
ends by pressing [Enter] on keyboard or with a Right-Click.
2. Select geometry.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
Click in work plane or type coordinate X Y Z or type the distance value to define the
position of the copy.
STKO
23
In case you want to generate more copies of geometry, continue to click in work plane or
type coordinate X Y Z or type the distance value to define the position of the copy.
6. End.
Press the [Esc] on the keyboard or the Right-Click to terminate the function of the
command.
Rotate
The command rotates or alternatively generates a rotate copy of the selected geometries. It
works around a point as center of rotation in a plane 2D, of an angle in relation to a normal
axis of the plane. The action is completed by three points. The user can specify through
mouse or keyboard the first point, defining the center of rotation; the second point, as a
temporary reference line and the third point, as reference to define the value of the
rotation angle. The textual dialogue interface of the Terminal defines the rotation the
geometries. The Terminal accepts to enter the X Y Z coordinates, i.e.: 100 -100 0, for the three
points after selection. The Z coordinate is optional, by default it is set to 0. Eventually, the
Terminal accepts the distance value, i.e.: 50, to build the reference line and the angle value,
i.e.: 90, to define the rotation angle after the insertion of the second point.
After generating the first copy of rotation, the command remains active in order to insert new
copies. The action ends by pressing the [Enter] key or through the Left-Click. At the end of
the command the starting geometry, remain selected. The user can decide to delete or leave
the object.
After clicking Rotate a setting window will appear. User has to choose
between Transform the selected object or create a transformed Copy of it.
2. Select geometry.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
Click anywhere in work plane or on a point belonging to the geometry or type coordinate
X Y Z to assign a reference point for the center of rotation.
STKO
24
4. Specify the second point, temporary reference line.
Click in work plane or type coordinate X Y Z or type the distance value to define a
temporary reference line.
Click in work plane or type coordinate X Y Z or type the angle value to define the rotation
angle.
In case you want to generate more rotated copies of geometry, continue to click in work
plane or type coordinate X Y Z or type the incremental angle value to define the
position of the rotated copy.
7. End.
The action ends by pressing the [Enter] key or through the Left-Click.
Figure 34. Rotating operation_part one Figure 35. Rotating operation_part two
Scale
The command changes geometries size in relation to one, two or three dimensions. To
activate the action, choose the command from the Toolbar or Menu and select the geometries.
After activation, a menu is displayed for choosing the type of scale (1D, 2D, 3D – Uniform
scale). The Scale1D command changes the size of selected objects in one direction, the
Scale2D changes the size in two directions and Scale3D changes the size of selected objects
uniformly in the x, y, and z directions
STKO
25
2. Select the type of scale.
3. Select geometry.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
Click anywhere in work plane or on a point belonging to the geometry or type coordinate
X Y Z to assign a reference base point for the scale.
Type the value of scale factor to create a new scaled object and press [Enter] and the
command is done. In case the on-screen graphic reference is preferred follow the next
passeges instead of the step (5).
Click in work plane or type coordinate X Y Z to define the value scale factor.
STKO
26
Mirror
The command reflects or alternatively generates a specular copy of the selected geometries.
The transformation obtained is an axial symmetry of the selected geometry. To activate the
action, choose the command from the Toolbar or Menu and select the geometries. The action
is completed by two points, the first and second point to define the temporary line as axis
of symmetry. User can specify through mouse or keyboard the first and second point
defining a line that identifies the axis of symmetry to copy and to mirror the objects. The
Terminal accepts to enter the X Y Z coordinates, i.e.: 100 -100 0 and eventually the distance
value, i.e.: 100.5, after the first point to define the temporary line used as axis of symmetry.
The Z coordinate is optional, by default it is set to 0. At the end of the command the starting
geometry remain selected. The user can decide to delete or leave the object in work plane.
After clicking Rotate a setting window will appear. User has to choose
between Transform the selected object or create a transformed Copy of it.
2. Select geometry.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
Click anywhere in work plane or on a point belonging to the geometry or type coordinate
X Y Z to assign a first reference point.
Click in work plane or type coordinate X Y Z or type the distance value to define the line
to construct the axis of symmetry.
STKO
27
Figure 37. Mirror command activation Figure 38.Mirror command in action
Explode
The command identifies the subclasses of the object splitting it in its component objects. A
complex object can be divided into simpler parts by applying it. For example, a parallelepiped
can be splitted into its made up basic geometries like vertices, edges, faces. To activate the
action, choose the command from the Toolbar or Menu and select the geometries.
The user can select through mouse one or more geometry and Right-Click to enable the
action of the command explode.
2. Select geometry.
Click on any point belonging to the geometries to enable selection. After confirmation, the
selected geometries will turn red.
3. Explode.
Press the [Enter] key or the Right-Click to confirm the command. After confirming, the
geometry will be exploded.
The subdivided geometry remains editable. Press the [Esc ] key to preserve the geometries
in work plane or select via mouse the geometries onwhich to apply new actions.
STKO
28
Make Compound
The command realizes a compound of the selected geometries. Making compound of curve,
surface or a solid creates a "composite" geometry made up by different items which preserve
their own geometrical features. i.e. this command provides to join different geometries
without changing their properies and their subclasses. For example, two distinct solid
parallelepipeds, after the selection and application of the command, will result in a single
compound object having the subclasses present in the two starting solids grouped and not
divided. To activate the action, choose the command from the Toolbar or Menu and select the
geometries.
The user can select the geometries to wich to apply the function of compound and finalize
the command by pressing the Right Mouse Button.
2. Select geometries.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
3. End.
Once selected the desired number of geometries press the [Enter] on the keyboard or
Right-Click to terminate the command. The geometries will be composed after confirming.
Make Compound:
13 vertex
24 edges
8 faces
1 solid
STKO
29
Make Wire
The command creates a unique geometrical entity from two or more curves i.e . a polyline.
The procedure to follow to build the wire from the selected edges is intuitive. To activate the
action, choose the command from the Toolbar or Menu and select the geometries.
The user can select the geometries on which apply the Make Wire function and finalize the
command by Right-Click.
2. Select geometries.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
3. End.
Once selected the desired number of geometries press the [Enter] on the keyboard or
Right-Click to terminate the command. A polyline will be composed after confirming.
Line 2
Line 1
Polyline
STKO
30
Sew Faces
The user can select the geometries to wich to apply the function of Sew Face and finalize
the command by Right-Click, after selection parameters.
After enabling the command an interactive menu is show on the screen with the
parameters. Define the sewing tolerance, by default the value is set to 1e-06. Select
whether to enable: cut free edges and allow no manifold.
3. Select geometries.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
4. End.
Once selected the desired number of geometries press the [Enter] on the keyboard or
Right-Click to terminate the command. After confirmation, the geometries are sewing.
Sweep
The command creates a geometry starting from a profile curve moving along a rail in order
to create an object. The starting curve - profile shape - defines the surface cross-section and
the rail - spine shape - defines the trajectory of the sweep. In this way different categories of
STKO
31
geometries can be obtained. In reference to a generic line track, vertices generate edges;
edges generate faces; a face generate solid; wire generate shell and shell generate compound
solid. A solid and a compound solid can not be extruded. Choose the command from the
Toolbar or Menu and select the geometries to activate the action. The textual dialogue
interface of the Terminal specifies ways to sweep the geometries. The user can select, for first,
the geometry class of interest, as profile shape to sweep and for second the reference
geometry, as spine shape.
Click on any point belonging to the geometry or on a subclass (vertice, edge, face, wire and
shell) to sweep. After click selection, the geometry turns red. Right-Click to enable the
function.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
4. End.
STKO
32
Extract
3. Select the geometry to extract. Click on any point belonging to the geometry or on a
subclass (vertice, edge, face, wire and shell) to extract. After click selection, the geometry turns
red. Right-Click to enable the function.
4. End.
Press [Enter] on the keyboard or Right-Click to terminate the command. After confirmation,
the command ends generating a new geometry.
Extrude
Click on any point belonging to the geometry or on a subclass (vertice, edge, face) to
extrude. After click selection, the geometry turns red. Right-Click to enable the function.
Click in work plane or type coordinate X Y Z or type the distance value to define the
height extrusion of the geometry in input.
4. End.
STKO
33
Defeaturing
This command involves removing one or more faces from the surface and a consequent
repair of it, replacing the removed part with itsapproximation or approximation of faces
connected to it. An example may be the replacement of a beveled angle with a sharp angle or
the removal of a hole with consequent modification of the face in order to plug the hole.
Click on any point belonging to the geometry or on a subclass (vertice, edge, face) to
defeature. After click selection, the geometry turns red. Right-Click to enable the function.
The geometry will restore its initial state like the e.g:
3. End.
STKO
34
Repair fix
This command fixes model geometries problems like for instance face with missing steam
edge, wrong orientation, self-intersecting wire or lacking edge. Repair fix adapts shapes so as
to make them as appropriate for use in STKO. The user can set: the value of fix tolerance, by
default set to 1e-06 and which elements to fix like global, faces, solids and some other items.
Press the Right Mouse Button to confirm the command. Terminal bar shows all repaired
geometries:
3 End.
STKO
35
Reverse
This command displays the normal-direction of a geometry or surface and let you invert it.
User can see geometries normal-direction arrows by activating the command Show/Hide local
axis on the Quick Access Toolbar. Surface normals are represented by arrows perpendicular
to the surface, and the u- and v-directions are indicated by arrows pointing along the surface.
Closed surfaces always have the surface normals pointing to the exterior. Obviously this
operation is not available for solids.
Click on any point belonging to the geometry or on a subclass (vertice, edge, face) to
extrude. After click selection, the geometry turns red. Right-Click to enable the function.
3. End
Figure 46. Surface with z-axis down Figure 47. Surface with z-axis reversed up
STKO
36
2.1.3. Geometry – Sets
Geometry Sets
Click on any point belonging to the geometry or on a subclass (vertice, edge, face) to add to
the selection. After click selection, the geometry turns red. Right-Click to confirm and to
name the selection set.
Right-Click on the selection set from the Work Tree > Add to selection set > click on
geometries to add. Right-Click to confirm the selection.
Right-Click to the selection set from the Work Tree > Remove from selection set > click on
geometries to remove.
STKO
37
2.1.4. Geometry – Points
Point
2. Specify point.
3. End.
STKO
38
2.1.5. Geometry – Curves
The commands present in Curves section are a Geometry category subset. Every command
allows to generate a specific geometric shape in the plane. To generate the desired shape
select in Toolbar the relative command and follow the indications shown in the textual
dialogue interface of the Terminal for the insertion of the construction steps.
Lines
Click anywhere in work plane or type coordinate X Y Z to assign the first point of line.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure of segment to assign the second point of line.
STKO
39
In case you want to generate a polyline continue to click in work plane or type coordinate
X Y Z or type the scalar value of segment to define the position of point.
5. End.
Once entered the desired number of points (Vertices) and lines (Edges) of geometry to
terminate the function of the command press the [Enter] key or Right-click.
Spline
The command creates a spline in the space. To activate the action, choose the command from
the Toolbar or Menu and select the geometries. The user can set the construction of the spline
through external to the line control points or through internal to the line points, and
specify the value of degree included in the range 1÷100, by default set to value 3 as
interpolating cubic spline.The textual dialogue interface of the Terminal defines the
procedure to generate the geometries. The Terminal accepts to enter the X Y Z coordinates,
i.e.: 100 -100 0, for the construction points after selection and eventually the distance value,
i.e.: 100.5, after the previous point. The Z coordinate is optional, by default it is set to 0.
After enabling the command an interactive menu is show on the screen with the
construction criteria. Select the desired methods:
Click in work plane or type coordinate X Y Z or type the distance value to define the
construct point to buid the spline.
4. End.
STKO
40
Rectangle
Click anywhere in work plane or type coordinate X Y Z to assign the first point of
rectangle.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure of segment for the first and second side of rectangle.
Circle
Click anywhere in work plane or type coordinate X Y Z to assign the first point as center of
the circle.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure of segment to assign the radius of the circle.
Ellipse
STKO
41
2. Specify the first point, center of the axes of the ellipse.
Click anywhere in work plane or type coordinate X Y Z to assign the first point as center of
the conic section identified by the intersection of the major and minor axis of the ellipse.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure of segment to define the first semiaxis, major or minor, of ellipse.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure of segment to define the second semiaxis of ellipse.
Arc of Ellipse
Click anywhere in work plane or type coordinate X Y Z to assign the first point as center of
the conic section identified by the intersection of the major and minor axis of the ellipse.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure of segment to define the first semiaxis, major or minor, of ellipse.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure of segment to define the second semiaxis of ellipse.
Click on any point belonging to the ellipse or type coordinate X Y Z of third point or
entering the value of counterclockwise angle generated between the first semiaxis (center
and second point) and the segment identified among the center and the third point.
STKO
42
2.1.6. Geometry – Surfaces
Planar
2. Select geometry.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
3 End.
STKO
43
Loft
3. Select geometry.
Click on any point belonging to the geometries and Right-Click to enable selection. After
confirmation, the selected geometries will turn red.
4. End.
Face 3/4
Click anywhere in work plane or type coordinate X Y Z or to assign the first point.
STKO
44
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value to
assign the second point to define the first side of the polygon.
Click anywhere in work plane or type coordinate X Y Z to assign the third point to define
the second side of the polygon.
Click anywhere in work plane or type coordinate X Y Z to assign the fourth point to define
the third side of the polygon. The polygon will be closed automatically and a face will be
generated from the figure.
To create a surface from curves, choose the command Geometry > Loft from Toolbar.
Specify Loft Algorithm: Ruled for broken surfaces or Smoothed (with the choice of three
approximations: chordlenght, centripetal, isoparametric). Select Ruled by interactive menu.
Select the first Wire/Vertex and then all next entities (wire, edge or vertex). Enter to finalize
the command.
Figure 55. Start from two polyline as cross-sections. Figure 56.Loft between the cross-sections.
Figure 57. Then close with a Planar surface. Figure 58. Example of loft algorithm completed.
STKO
45
2.1.7. Geometry – Solids
Sphere
Click anywhere in work plane or type coordinate X Y Z to assign the first point to define
the center of the sphere.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value to
define the radius of the sphere. Assigning the second point, the command will end and
generate a sphere in space.
STKO
46
Parallelepiped
Click anywhere in work plane or type coordinate X Y Z to assign the first point as first
corner of parallelepiped.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure to assign the second point, as second corner, to define the first side of the polygon
rectangle.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure to assign the third point to define the second side of the polygon rectangle.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure to assign the fourth point to define the height of the parallelepiped.
Cylinder
Click anywhere in work plane or type coordinate X Y Z to assign the first point as center of
circle to the base of geometry.
3. Specify the second point, cylinder radius and the third point, cylinder height.
Click anywhere in work plane or type coordinate X Y Z or entering the scalar value of
measure to assign the second point to define the radius of circle and the height of cylinder.
STKO
47
2.1.8. Geometry – Boolean
Merge
Click on any point belonging to the geometry. After click selection, the geometry turns red.
Right-Click to enable the function.
3. End.
Press [Enter] on the keyboard or Right-Click to terminate the command. After confirmation,
the closed geometry will be transformed into a face.
STKO
48
Union
Click on any point belonging to the geometry. After click selection, the geometry turns red.
Right-Click to enable the function.
3. End.
Press [Enter] on the keyboard or Right-Click to terminate the command. After confirmation,
the closed geometry will be transformed into a face.
Subtract
Click on any point belonging to the starting geometry, defined as master. The command
allows you to select simultaneously multiple geometries. . After, the selected geometries
will turn red. To assign the selected geometry press the [Enter] key or Right-Click to enable
selection.
Click on any point belonging to the second geometry, defined as slave. The command
allows you to select simultaneously multiple geometries. . After, the selected geometries
will turn red. Press [Enter] on the keyboard or Right-Click to terminate the command to
assign the selected geometry. After confirmation, the union between the geometries will be
returned.
STKO
49
Intersection
Click on any point belonging to the starting geometry, defined as master. The command
allows you to select simultaneously multiple geometries. . After, the selected geometries
will turn red. To assign the selected geometry press the [Enter] key or Right-Click to enable
selection.
Click on any point belonging to the second geometry, defined as slave. The command
allows you to select simultaneously multiple geometries. . After, the selected geometries
will turn red. Press [Enter] on the keyboard or Right-Click to terminate the command to
assign the selected geometry. After confirmation, the union between the geometries will be
returned.
STKO
50
2.2. Defining and Assigning Local Axes
Local coordinates system is defined such that the local x-axis will correspond to the tangent of
a curve. Both other axes (y-axis and z-axis) will be defined perpendicular to this local x-axis.
For first, this command enables to sections to be aligned to beam-elements (Figure 53). In
STKO Local Axes command translates as Geometric Transformation command of OpenSees
x
z z tangent
y
y
Secondly, defining and assigning Local Axes is also used to apply loads to the local
coordinates system of a surface like the example below:
And finally, STKO allows to export data in Post-Processor and to visualize results according to
global and local axes previously assigned.
STKO
51
Figure 66. Local Axes toolbar.
Select Geometry > Local Axes > Quadratic Local Axes or right-
click on Local Axes > Add from the Work Tree. Assign a name to
the new local axes and choose the type to assign.
STKO
52
Click on OK to confirm the Editor. Specify the first point (origin) or type x, y, z coordinates.
Then, specify the second point (the X-axis) or type x, y, z coordinates. Follow the same steps
for the third point (X-Y plane).
To assign the New Local Axes to a surface, edge or solid, right-click on the new local Axes >
Assign > select the geometry > right-click to confirm.
Otherwise, click on the New Local axes and drag it on the geometry from the Work Tree. On
the contrary, drag the item and hold CTRL button to unassign the new local axes.
To Edit the quadratic local axes, right-click on the New Local Axes > Edit and the Editor panel
will appear. Now, it is possibile to assign a load to the geometry in order to direct it according
to the new local axes.
STKO
53
Figure 69. Local axes editor
Click on OK to confirm the Editor. Specify the first point or type x, y, z coordinates. The first
point will be the origin around all the vectors rotate. Then, specify the second point (the X-
axis) or type x, y, z coordinates. Same way for the third point (X-Y plane).
Figure 70. Visualization of cylindrical local axes to the edge of the surface
Figure 71. Visualization of cylindrical local axes to the center of the surface
STKO
54
To assign the New Local Axes to a surface, edge or solid, right-click on the new local Axes >
Assign > select the geometry > right-click to confirm.
Otherwise, click on the New Local axes and drag it on the geometry from the Work Tree. On
the contrary, drag the item and then hold CTRL button to unassign the new local axes.
To Edit the cylindrical local axes, right-click on the New Local Axes > Edit and the Editor panel
will appear.
Now, it is possibile to assign a load to the geometry in order to direct it according to the new
local axes.
Click on OK to confirm the Editor. Specify the first point or type x, y, z coordinates. The first
point will be the origin around all the vectors rotate. Then, specify the second point (the X-
axis) or type x, y, z coordinates. Same way for the third point (X-Y plane).
To assign the New Local Axes to a surface, edge or solid, right-click on the new local Axes >
Assign > select the geometry > right-click to confirm.
Otherwise, click on the New Local axes and drag it on the geometry from the Work Tree. On
the contrary, drag the item and then hold CTRL button to unassign the new local axes.
Figure 72.Visualization of spherical local axes Figure 73.Visualization of spherical local axes
STKO
55
2.3. Interaction Modeling
Interaction Modeling defines the links between nodes or with elements in order to simulate
the relationship that occurres between elements like beam-column, beam-beam, general
structural constraints ect.
Opensees supports three types of Interaction: Node-to-Node links, Node to Element Links,
General Links.
Choose the command Interaction > New from the main Toolbar or Right-Click on
Interaction > Add from the Work Tree.
A new window (Interaction Editor) will appear to rename, edit and specify the Interaction type:
Select the default Interaction Type: Node-to-Node links. Click on OK to confirm the
Interaction Editor. The output bar will guide the user to first select the Master Element.
Therefore Right-Click to confirm the first choice and to select the Slave Element. After that,
STKO
56
user can see: the new Interaction between nodes as showed below.
For Node-to-Node links, we refer to OpenSees website where the example ZeroLength
Element explains this Interaction Type.
For more info visit the webpage:
http://opensees.berkeley.edu/wiki/index.php/ZeroLength_Element
If user wants to work with General Links between elements as - for example, a surface and a
line:
Choose the Interaction command > New from Toolbar or right click on Interaction > Add
from the Work Tree.
A new window (Interaction Editor) will appear to rename, edit and specify the Interaction type
In this case, choose General Link. OK to confirm the settings.
First, select the Master Geometry and then the Slave Geometries. Right-Click to confirm the
choice. Something like the example below will appear:
STKO
57
Slave Geometry (edge)
For General Link we refer to OpenSees website where the example ZeroLenghtContactNTS2D
explains this Interaction Type.
If user wants to work with Node to Element links between elements as - for example, a
surface and a line:
Choose the command Geometry-Interaction > New Interaction from Toolbar or right-click
on Interaction > Add from the Work Tree.
A new window (Interaction Editor) will appear to rename, edit and specify the Interaction type.
In this case, choose Node to Element links. OK to confirm the settings.
STKO
58
First, select the Master Geometry and then the Slave Geometries. Right-click to confirm the
choice. It will appear something like the example below:
Trying to mesh the surface with structured quadratic mesh, this is the result of interaction:
STKO
59
For Node to Element links, we refer to OpenSees website where the example
BeamContact3D explains this Interaction Type.
Interaction Type:
Node-to-Node
Slave geometries (faces)
links
Master Geometry
(line)
NOTE: EqualDOF, rigidLink and rigidDiaphragm can be only applied to the Interaction.
NOTE: Interaction will also influence the meshing and partition phase. For more information
about Meshing, please consult § 2.8Meshing . For more information about Partition, please
consult § 2.8.8 Partition
STKO
60
2.4. Defining and Assigning Physical Properties
To define and assign Physical Properties to the model, choose Property from the Toolbar:
2.4.1. Materials
Choose the command Property > New physical property from the Toolbar, otherwise
directly right-click on Physical properties > Add from the Work Tree Panel.
1
2
3
.
4
Choose a Name to attribute to Opensees Material (1) and customize its aspect through the
command Edit shader (2) to enter the Visual Material Editor:
STKO
61
Figure 83. Visual Material Editor
Choose Diffuse and Specular color and give Shininess and Trasparency to the new
material. Also, choose Edge and Point color with different width and size. Mesh edge color
and Mesh edge color reduction is customizable too. Click on Ok to confirm Visual Material
Editor.
Click on Model (3) to choose the physical property model and select materials > uniaxial or
nD Opensees materials.
Once selected the “Type”, user can type a Value to Attributes and read the description of
each Attribute with an external link connected to Opensees website.
STKO
62
(4)
link
To quickly select an Attribute, click on Filter (4) and type the first letter of the attribute to
choose.
Otherwise directly select Physical properties > materials from the Work Tree Panel and
choose the item.
To Edit, Delete or Clone the created material click on Property and select the corresponding
STKO
63
command from the Toolbar.
Otherwise directly select Physical properties > materials, right click on the item and choose
the command from the Work Tree Panel.
Figure 87. Remove, Clone, Edit and Assign a Material from the Work Tree
-By Right-click on the item in the work tree and selecting assign from drop-down menu;
-By Drag and drope from the work tree till the desired geometry.
NOTE: Once the material has been assigned to the geometry this will turn in the set material
colour.
STKO
64
without material
with material
As seen before, a Physical Property Editor will appear. Type a name, graphically edit Material
and choose Model. With this command is possible to select different Materials or Sections.
Select, for instance, New Physical Property > Model > materials > uniaxial > Steel and
Reinforcing Steel Materials > Steel04
STKO
65
Right click on the
Check Box
feature and one
click out the string
to see the feature
below
Description
link
Click on Ok to confirm the Material. It will appear in the Work Tree under the corresponding
item.
Select, for instance, New Physical Property > Model > materials > uniaxial > Concrete
Materials > ConfinedConcrete1. This command is used to construct an uniaxial material
object of confine concrete
STKO
66
Checkbox
Click OK to confirm the new material. It will appear in the Work Tree under the corresponding
item.Same process if needs to select an Other nD Materials like FaFourSteelPCPlaneStress.
This command is used to construct a Prestressed Concrete Plane Stress material object.
STKO
67
Empty Drop-down Drop-down menu with
menu. Need to specify a the previosly defined
Material which is Material
previosly defined
Material to specify:
ConcreteL01,
ConcreteZ01
Figure 91. Physical Property Editor of Figure 92. Physical Property Editor of
FAFourSteelPCPlaneStress FAFourSteelPCPlaneStress
Click on Ok to confirm the new Material. It will appear in the Work Tree under the
corresponding item.
Materials > Parallel. This command is used to construct a parallel material object made up
of an arbitrary number of previously constructed UniaxialMaterial objects.
http://opensees.berkeley.edu/wiki/index.php/Parallel_Material
A new Dialog will appear for specify Attributes, Values of Factors and Materials:
STKO
68
Type numbers
of vectors
1. Click on -factors
After defining the Quantity Vector, the Physical Property Editor will update the new input:
STKO
69
Click on Ok to confirm the new Material. It will appear in the Work Tree under the
corresponding item.
Once define all Materials, the user can modify the physical property even if it has already
been assigned to geometry.
2.4.2. Cross-Sections
2.4.2.1. Elastic Beam Cross-Sections
To create an Elastic Beam Cross-Section, click on Property > New physical property from the
Toolbar, otherwise directly right-click on Physical properties > Add from the Work Tree
Panel.
Then the physical property Model can be choosen from the new interface. Click on Sections
from the drop-drown menu and select, for instance, Elastic as shown below.
An informative table relating to Elastic Section will appear. Click on three-point button
(Undefined) under the Section row. Then a BeamCrossSection Editor will open for selecting
the section type from the Database (1), the section preset with the sizes from Section (2) and
the Unit (3) to assign to the elastic section. All the available sections may be customized by
users in terms of size, otherwise used with the standard available sizes.
STKO
70
(1)
(2)
(3)
Chart of values
Preview of Section
customized by user
Click OK to confirm the settings. The new section will appear in Physical Properties > Cross
Section > Elastic Beam Cross Sections from the Work Tree. Now it is ready to be assign to
the model.
The new Elastic Section can be modified at all time. Click on Edit Physical property from the
Toolbar and select the item from the list or click on Physical Property > sections > right click
on the item and choose Edit.
Then the physical property Model can be choosen from the new interface. Click on sections
from the drop-drown menu and select, for instance, Fiber as shown below.
STKO
71
Figure 98. Physical Property editor of a Fiber
An informative table relating to Fiber Section will appear. Click on three-point button under
the Fiber section row. Like in STKO pre and post interface, a Terminal (3) contains two text
editors: the first is what the software is generating after an user’s input, the second is the
Input bar in which elements like, for example, coordinates of points can be written.
Render Window
(3) Terminal
Example: user has to assign three different types of Materials: concrete cover, concrete
core, rebars and, for instance, a Fiber Reinforced Polymers (FRP).
Select the Rectangle command from the Quick Access Toolbar to draw a Beam Section that
will be the concrete cover (outer rectangle).
STKO
72
The Terminal bar specifies ways to design rectangle: manually (specify the first and second
corner) or type x y and z (optional) coordinates, i.e.: 10 10 0, after the first corner.
User can also specify rectangular width and height after the first corner.
A second inner rectangle will be drawn in order to apply the second material: the concrete
core.
Outer rectangle
Inner rectangle
Create an outer and inner surface to make the Material Assignment successful.
Select Face from planar curves command from the Quick Access Toolbar to create
surfaces.
Select the outer wire and then the inner wire > right click of the mouse to confirm the outer
surface. The same will be for the inner surface just selecting the inner rectangle.
After creating two surfaces, click on Make Surface Fiber from the Quick Access Toolbar and
select the outer surface to create a surface fiber. Automatically will appear a Dialog in
which user can rename the surface fibers, insert a Mesh Size and assign a Material (in
our case, concrete cover for the outer surface and concrete core for the inner surface).
STKO
73
Outer surface
Inner Surface
Figure 101. Inner and outer surfaces Figure 102. Assigment of Mesh Size and Material
To add rebar Material, draw another inner rectangle and select the Make Punctual
Fibers command. Automatically a Dialog in which rename the Rebars will show up.
Insert Rebar data where specify the diameter, the number of rebars on each segment or the
spacing of rebars. Assign the Material and click on Ok to confirm.
STKO
74
Rebars
s
To create a FRP Material, draw a line to simulate it and select the Linear Fibers
command from the Quick Access Toolbar.
Figure 106. Dialog to size mesh, thickness and material Figure 107. Detail of the linear fiber mesh
Click Ok to confirm the Section Fiber and confirm the Physical Property Editor.
The new section will appear in Physical Properties > sections and select the item from the
Work Tree. Now it is ready to be assign to the model.
To remove, clone, edit and assign the Fiber Section click on Edit Physical property from the
Toolbar and select the item from the list or click on Physical Property > sections > right click
on the item and choose the command.
STKO
75
2.4.3. Special Purpose for Physical Properties
In STKO is not allowed to assign more physical properties to an element because a property
assignment overwrites the previous one. It is generally a valid assumption for finite element
field. For this reason, STKO enables user to create a Special Purpose that is a “container” in
which more physical properties coexist. After creating more physical properties or element
properties such as sections, materials ect. It is possible to create a special purpose like a
BeamSection property in which insert previously-defined sections. Furthermore, user can
create different Special Purposes to attribute to different geometries (e.g. beams and
columns).
After creating sections (for example IPE100 and IPE120) it is now possible to create two
Special Purposes from Property > New physical property from the Toolbar, otherwise
directly right click on Physical properties > special_purpose > Add from the Work Tree
Panel.
Figure 108.Special Purpose for Physical Properties (IPE100 and IPE120 of BeamSectionProperty)
STKO
76
Special
Purpose 2
Special Purpose 1
A particular example is the HingedBeam Special Purpose to create a “special purpose into a
special purpose”. Create uniaxial materials such as Steel and Reinforcing-Steel Materials
(Steel01). After that, create zeroLength special purposes to insert into the HingedBeam:
Select New Physical Property > special_purpose > zero-Length Material >
zeroLengthMaterial from the Toolbar or right click on special_purpose > Add from the Work
Tree.
Previously-defined
uniaxialMaterials
STKO
77
Beam
Physical
property
Insert
previously-
defined
zeroLength
Click on Ok to confirm the settings. Select the element and assign the new Special Purpose:
HingedBeam
STKO
78
OpenSees
Figure 112.Scheme of the element relationship that occurred between OpenSees and STKO
OpenSees
Figure 113. Schemeof the element relationship that occurred between OpenSees and STKO
NOTE: After creating a Special Purpose for Physical Properties, STKO allows to generate
Regions before launching the Analysis (see § 2.9.1.2.1 Regions).
STKO
79
Figure 114. Element Property Editor
A new interface with the same Physical Property layout will appear, as shown above. Select
the finite element that will define the geometry and assign values to the table.
Click OK to confirm the settings. The new element will appear in Element Properties ->
beam_column_element (in this case) from the Work Tree. After defining a physical property
like materials, sections and special_purpose, it is ready to be assigned to the model.
It is possible to modify the new element at all time. Click on Edit Element property from the
Toolbar and select the item from the list or click on Element Properties >
beam_column_element > right click on the item and choose Edit.
STKO
80
NOTE: Do not forget to mesh the geometry to definitively assign Element properties. Click on
Mesh > Build mesh from the Toolbar.
Example: Draw a Frame Structure, define and assign physical properties and finite elements.
Choose the command Property > New physical property from the Toolbar, otherwise
directly right-click on Physical properties > Add from the Work Tree Panel. Select, for
example, an uniaxial material and edit shader for define the aspect of geometry:
STKO
81
Figure 117. Example of creation of Unaxial Material
Assign the new Physical property to geometries with the aid of selection boxes in the Quick-
Access menu:
Once geometries have the new physical property, it will notice a difference in colors:
STKO
82
Figure 118. Example of assignment of uniaxial material to the columns
Now add a New element property to assign to geometries. Choose one of available finite
element and confirm it.
Then click on Assign element property to attribute the new element to the geometry,
otherwise directly select Element properties > right click on the element > Assign.
STKO
83
The model is ready to be meshed and exported. Select Mesh > Global seed > Choose the
“Type” and “Division” and then select Build Mesh
Figure 121. Scheme of a beam Figure 122. Scheme of a beam with extra nodes
To create Element Property, click on Property > New element property from the Toolbar,
otherwise directly right-click on Element Property > Add from the Work Tree Panel.
Then choose the element property Model from the new interface (i.e. a zerolength element)
and repeat the process for other elements:
STKO
84
Figure 123. New element property - zeroLength
After creating n elements it is now possible to create a Special Purpose from Property > New
element property from the Toolbar, otherwise directly right click on Element properties >
special_purpose > Add from the Work Tree Panel.
STKO
85
Insert the Beam or Column
Element
Insert zeroLength
previously created
After inserting zeroLength_i and zeroLength_j, click on OK to confirm the settings. Assign the
new Special Purpose to the Beam or Column.
STKO
86
2.6. Defining and Assigning New Definition
Choose the command Property > New Definition from the Toolbar, otherwise
directly right click on Definition > Add from the Work Tree.
A new interface with the same Physical Property
and Element Property layout will appear, as
shown above. User can choose between
different frictionModel like Coulomb,
VelDepMultiLinear ex. In this section user can
also attribute timeSeries and choose between
Linear, constant, Path (as shown in the example
below). Definitions are general objects that are
not assigned to the geometries or to the
Figure 126. Definition Editor interactions. For this reason, the Definitions do
not allow the command “Assign”.
Choose frictionModel or timeSeries and assign values to the table like in this example
(Multi-Linear Velocity Dependent Friction) from the frictionModel:
Every group that belongs to each definition model contains a link to OpenSees website
(http://opensees.berkeley.edu/wiki/index.php/Main_Page). It is the description of each item.
STKO
87
2.7. Defining and Assigning Boundary Conditions and Loads
From Preprocessing interface, choose the command Condition > New Condition
from the Toolbar. Here user can add a new Boundary Condition to assign to geometry.
1
2
3
Choose a Name to attribute to the Boundary Condition (1) and customize its aspect through
the command Edit shader (2) to enter the Visual Material Editor:
Choose Diffuse and Specular color and give Shininess and Trasparency to the condition.
Also, choose Edge and Point color with different width and size. Mesh edge color and Mesh
edge color reduction is customizable too.
STKO
88
To assign Constraints to the model:
STKO
89
To select Loads to the model:
In case of loads, after selecting loads from the drop-
down menu user has to choose between:
eleLoad_beam
uniform
STKO
90
Choose the command Condition > New Condition from Toolbar.
Type a Name to attribute to the Boundary Condition and customize its aspect through the
command Edit shader to enter the Visual Material Editor. Click on Model and Select >
Loads > Force > NodeForce:
Positive Force
Negative Force
To Edit, Delete or Clone the new condition click on Condition and select the corresponding
Figure 133. New, Delete, Clone, Edit condition from Condition section of the main Toolbar
Otherwise directly select Condition > Loads > right-click on the item and choose the
command from the Work Tree Panel.
STKO
91
In spite of different available applications,
Opensees only processes nodal forces. For this
reason, STKO displays these Forces on nodes by
means of lumping.
The Lumping is the transposition of a uniform distributed load in nodal loads. To better
understand this “transposition”, see the following example:
Stressed area
of nodes
Figure 134. Uniform distributed load over a meshed surface Figure 135. Example of Lumping
Before we saw a ForceForce example on a 3D solid, with constant mode, a local axis
orientation and a 3D force vector.
User can also choose a function mode of every Force type from the Condition Editor:
STKO
92
Figure 136. Example of EdgeForce with function mode over a Beam
STKO
93
Figure 138. Example of VolumeForce with function mode over a Solid 3D
2.7.1. BeamSolidCoupling
BeamSolidCoupling is a constraint element that unifies a solid element (ndm= 3; ndf= 6) with a
beam element (ndm= 3; ndf= 3) through Interactions (§2.5 Interaction Modeling). These
interactions will create two mp constraints: EqualDOF and a RigidLink. The equalDOF links
the solid nodes to an “extra nodes” and the RigidLink connects the “extra nodes” to the beam
node. The beam node is the master node of the Rigidlink and its slave nodes are the “extra
nodes”. Also, “extra nodes” are master nodes of the equalDOF and its slave nodes are the
solid nodes. To better understand the beamSolidCoupling command, see the sketch below:
2.7.2. ForcefromReaction
STKO enables user to set more Analysis steps. Once concluded the first Analysis, it is possible
to read all resultant forces on nodes and apply them like Force. It means that a reaction may
STKO
94
be converted in Force (ForcefromReaction command). The following example shows two
Analysis steps:
EdgeForce
(right edge)
Fix
constraint
(left edge)
Fix constraint
(base)
Figure 139. First Analysis Step
Analysis Step 1:
After defining Constant timeSeries (1) from
Definitions. Attribute Physical properties (2)
(material elastic_isotropic, plate_fiber ecc.) and
(1) Element properties (3) (ShellMITC4). Then
assign constraints to the shell: fix constraint
(2)
(4) to the base and fix constraint to the left
(3) edge of the shell. In addition, assign an
EdgeForce (5) to the right.
(4) Therefore define a Recorder (6) checking all the
(5) nodal results to display after. Before creating a
(6) new Analysis step, do not forget to set Patterns
(7) (7), two for constraints and one for load. Setting
the first sp constraint (fix constraint on the
(8)
base) in the first constraintPattern and the
second sp constraint (fix constraint on the left
edge) in the second constraintPattern. Then
creating a third Pattern for the load and
inserting the edgeForce in load and the
timeSeries previously defined in tsTag. Finally
setting the first Static Analysis Step (8)
specifying the number of analysis steps to
perform (in this case numIncr= 1).
STKO
95
Analysis Step 2:
Now defining a new fix constraint to apply to the
right edge of the shell instead of the the force.
Then creating a new Force: ForcefromReaction
(9).
Choose the command New condition from the
main Toolbar > Model > Load >
ForcefromReaction and set the Dimension (2D
or 3D). Assign the Force to the left edge of the
shell.
Necessarily using the removePattern (10) to
(9)
remove Load Pattern and spContraint Pattern
(only the fix constraint of the left edge)
previously created. Once removing previously
Patterns, creating new Patterns: one for the
(10) ForcefromReaction (LoadPattern) and one for
(11) the fix constraint (spConstraint Pattern).
Applying the LoadPattern to the left edge and
the spConstraint Pattern to the right edge,
keeping the fix constraint to the base.
Finally setting the second Static Analysis step
(11), specifying the number of analysis steps to
perform (numIncr ≠0 − in this case numIncr=
1−).
Fix constraint
(right edge)
ForcefromReaction
(left edge)
Fix constraint
(base)
STKO
96
Launching the Analysis in Opensees so that STKO will generate a file .mpco to import in STKO
Post-Processor. Moving to STKO Post Processor interface and open the new Database (.spd):
Moving from MODEL STAGE 1 and MODEL STAGE 2 is possible to see the corresponding
results.
STKO
97
2.7.3. DistributedLK
Choose the new condition command > Constraints > mp > edgeDistributedLK or
faceDistributedLK from the main Toolbar.
It enables user to insert two materials (Axial material (default), and a Tangential material). This
command respectively generates: “extra” nodes and uniaxial material (Viscosous) applied to
the ZeroLength:
1. “Extra” nodes:
ndm = ndf
ndm ≠ ndf
Figure 142. equalDOF+fix
STKO
98
Figure 143. Condition editor of a DistributedLK2D
Material x
Material y
Select the edge and assign the mp constraint. Click on OK to confirm the settings.
After that, add a new load. Condition > New condition > Model > Loads > Force >
FaceForce. Set parameters and assign it to the element. Now create the Timeseries from
Definitions (for example a Trig Timeseries) setting the period, the starting time and the
ending time.
Finally define a Recorder checking the nodal results that want to display after. Before creating
a new Analysis step, do not forget to set Patterns, one for the constraint and one for the load.
Set the first mp constraint (fot the edgeDistributedLK) in the first constraintPattern and then
the loadPattern in which inserting the Timeseries and the FaceForce previously defined.
After that, it is possible to set the Analysis Step specifying the analysis Type (for example
Transient) and all the parameters.
STKO
99
2.8. Meshing the Geometrical Model
Meshing a Geometrical Model is the most fundamental step in the 3D development process.
STKO supports many “Mesh Modeling” techniques, from the structured curve, surface and
solid mesh to the unstructured one. In this module, the user will learn the parts of a mesh
and how to build 2D and 3D mesh models through Global and Local Mesh Controls.
Linear Type (2 or 3 nodes) is composed of two nodes at each extremity of the line (Figure
126). The quadratic form (Figure 127) has an additional node in the middle of the line.
STKO
100
Figure 146. Linear Type with 2 nodes Figure 147. Linear Type with 3 nodes
Triangle Type is composed of 3 nodes located at the three geometric corners of the triangle
(Figure 128). Triangle Type (6 nodes on Figure 129) has three additional nodes located at the
middles of the three edges.
Figure 148. Triangle Type with 3 nodes Figure 149. Triangle Type with 6 nodes
Quadrilateral Type is composed of 4 nodes located at the four geometric corners of the
quadrangle (Figure 130). In addition, the Quadrilateral Type with 8 and 9 nodes respectively
has four mid-edge nodes (Figure 131), and a mid-face node (Figure 132).
Figure 150. Quadrilateral Type with Figure 151. Quadrilateral Type with Figure 152. Quadrilateral Type with
4 nodes 8 nodes 9 nodes
Edge Nodes: N1, N2, N3, N4 Mid Nodes: N5, N6, N7, N8 Mid-Face Node: N9
Tetrahedral Type is composed of four nodes located at the four geometric corners of the
tetrahedron (Figure 133). Tetrahedral Type also has six additional nodes at the middle of each
of the six edges (Figure 134).
STKO
101
Figure 153. Tetrahedral Type with 4 nodes Figure 154. Tetrahedral Type with 10 nodes
Corner Nodes: N1, N2, N3, N4 Mid Nodes: N5, N6, N7, N8, N9, N10
Hexahedral Type (Serendipity) is composed of eight nodes located at the eight geometric
corners of the hexahedron (Figure 135). In addition, Hexahedral Type with 20 nodes has a
node at the middle of each of twelve edges (Figure 136). Hexahedral Type with 27 nodes adds
a node at the middle of each of the six faces, and one at the cell center (Figure 137).
Figure 155. Hexahedral Type with 8 nodes Figure 156. Hexahedral Type with 20 Figure 157. Hexahedral Type with 27
nodes nodes
Corner Nodes: N1, N2, N3, N4,
N5, N6, N7, N8 Mid Nodes: N9, N10, N11, N12, Mid-face nodes: N21, N22, N23,
N13, N14, N15, N16, N17, N18, N24, N25, N26, N27
N19, N20
Figure 158. Global and Local Mesh Control in Mesh section of the main toolbar
First, Import Geometry from the Toolbar and move to Mesh command.
STKO
102
Figure 159. The work Tree shows all solids of the model.
Before defining the mesh controls, connect all solids through the Merge command. So click in
Geometry > Boolean > Merge and select all geometries to join. A folder of the [n] merged
geometries will appear in the Work Tree.
Global Seed, Edge Seed and Remove Seed from Mesh section work to set
dimensions of finite elements. Global Seed command enables user to make global
adjustment in the meshing phase and it includes a uniform, biased and dual
biased distribution by size and divisions.
STKO
103
Figure 162. Example of Global seed with uniform type by divisions
Figure 164. Example of Global seed with dual biased type by size
STKO
104
To confirm the Global Seed command, click on Done. After that, select Mesh Controls to
define the element of selection (Edges, Faces and Solids), the Algorithm (Unstructured or
Structured), the Topology (Tri/Tetra and Quad/Hexa for Faces/Volume) and the Order of the
Mesh (Linear, Quadratic and Quadratic/Serenditipy). Color Mode will confirm the user’s choice
with different colors for each mesh control.
After defining Global seed and the Mesh Controls, select Build mesh command.
The geometrical 3D model will automatically mesh according to the user’s input.
To change the Global edge seed with a bigger or lower size, click on Global seed, set the new
size and click on Build Mesh.
Figure 168.Example of global edge setting. Figure 169. Example of global edge setting.
STKO
106
Figure 170. Model with wide edge seeds Figure 171. Model with tight edge seeds
NOTE: To make a Structured Mesh, be careful that the imported 3D model is only composed
by solid geometries like cubes (or geometry with six faces) and four edges in the case of
surfaces. If not, the imported model will be meshed by Unstructured Mesh.
STKO TIPS
As mentioned above, in Structured Mesh user can create a triangular or quadratic mesh but
there are some restrictions on the "seed" that the user defines. STKO automatically generates
a warning to inform the user that the number of nodes of a surface edge has been altered
without varying the logarithm (the type of Seed attributed to it: uniform by size, uniform by
division, biased by size etc.) in order to successfully obtain a structured mesh:
STKO
107
Edge Seed > Uniform by size = 10
Figure 175. Changing of number of mesh in order to have a "structured" mesh compatibility
STKO
108
Figure 176. Example of Unstructural Mesh
STKO TIPS
In Unstructured Mesh STKO generates a warning if the user sets up a hexagon unstructured
mesh. Therefore, it will convert the user input into a tetrahedric mesh to successfully obtain
the unstructured mesh.
STKO
109
2.8.3. Curve Meshing
After creating curve shapes in STKO, user can set the Edge Seed though the
command from the Toolbar.
User can choose the type of Edge seed to attribute to the curve:
Select the edge > Assign > Done if the Type Divisions is right for the edge.
Click on Mesh Control from the Toolbar to set the Selection in Edges. Select the curve >
Assign > Done and/or directly click on Build Mesh.
Figure 179. Quad Unstructured Mesh of a Surface Figure 180. Tria Unstructured Mesh of a Surface
STKO
110
2.8.5. Structured Surface Meshing
STKO can generate a structured quadrilater and triangular surface mesh for any 4-sided
surface. In addition, the mesh spacing can be easily specified or automatically computed by
Mesh Control command:
Figure 181. Quad Structural Mesh of a Surface Figure 182. Tria Structural Mesh of a Surface
STKO
111
2.8.7. Structured Solid Meshing
On the other hand, a mesh is said to be structured if its topology is regular, i.e. has a well-
known pattern (such as cubes with regular spacing dx, dy, dz between nodes) thus it is easy to
proceed to a "rational" numbering of the nodes. These "meshes" are usually simple
geometries.
Figure 184. Quad/Hex Structural Mesh of a solid Figure 185. Tria/Tetra Structural Mesh of a solid.
2.8.8. Partition
For parallel computations, STKO provides facilities to partition the mesh. Click on
Mesh from the Toolbar and select the Partition command.
A Partition Mesh window in order to set the Number of partitions will appear:
Preview Confirm
STKO
112
Select Partition to preview the model whose visualization will change according to the
number of partitions.
A list of partitions appears like a summary of nodes and elements per partition. Click on Done
to confirm the Partition Mesh.
Even if the visualization will not appear colourful, the Partition has been successful. Partition
mesh window confirms it: click on the Partition command for the second time and will find the
same inputed number of partitions.
To delete the previously inputed number of partitions, press on CTRL+Z (apple+Z for Mac)
from the keyboard.
To change the previously inputed number of partitions, click on Partition and just change the
number of Partitions > Done to confirm.
STKO
113
Figure 188. Process 0 with all relative nodes Figure 189. Process 1 with all relative nodes
STKO
114
2.9. Analysis
2.9.1. Defining Analysis Steps
2.9.1.1. Patterns
In order to launch the Analysis, it is important to define Patterns and Recorders before.
Figure 191. Analysis steps in the main menu Figure 192. Analysis steps in the work tree
To define Patterns, right-click on Analysis steps > Add from the Work Tree panel, or
Analysis > New from the main Toolbar.
Choose the AnalysisStep Editor from Model > Patterns > AddPattern and select, for instance,
loadPattern:
MultiSupport, UniformExcitation,
patternConstraints, patternPlain
This command is used to remove
a load pattern or SpConstraints
STKO
115
The loadpattern is complementary to the
previous settings:
Another important pattern type is the constraintPattern. After defining contraints, STKO
allows to create Pattern which contains command to generate sp contraints and mp
constraints as follows:
STKO
116
Figure 195. Creation of constraintPattern
Figure 196. constraintPattern with sp and mp constraints
2.9.1.2. Misc_commands
Misc_commands is a step of analysis that includes several commands. One of them is the
Region.
2.9.1.2.1. Region
The Region is used to label a group of nodes and elements. This command is also used to
assign rayleigh damping parameters to the nodes and elements in this region. The region is
specified by either elements or nodes, not both. If elements are defined, the region includes
these elements and the all connected nodes.
To create a Region right click on Analysis Steps > Add> Model >Misc_commands from the
Work Tree Panel, or Analysis > New from the main Toolbar:
STKO
117
1
2
Insert previously-
created Geometry Set
1. Selection Set: To create a Selection Set, simply choose Selection sets from the Work Tree
Panel > Add and select the geometry or groups of geometries to add.
2. include_auto_generated_elements:
Click on OK to confirm the settings. The creation of Region is not a mandatory step of
Analysis. It is at the discretion of the user.
2.9.1.3. Custom Commands
CustomCommands is another important command that belongs to Misc_Commands. It
enables user to create costum scripts in case of missing commands or simply to customize
some STKO features. To create a customCommands right click on Misc_commands > Add
under the item Analysis steps from the Work Tree Panel, as follows:
STKO
118
Insert your scriptTCL
It is important to remember that the location where user creates an analysis step is that one
where user is recording each steps. Follow this example to better understand this “concept”:
STKO
119
FIX
2
equalDOF
STKO
120
3
3
After that, user can add a second scriptTCL and create another Analysis (VariableTransient)
following the previous steps.
STKO
121
Figure 203. Creation of a VariableTransient Analysis
2.9.2. Recorders
Now, select Analysis steps > right-click to Add > Model > select Recorders > MPCORecorder
from the drop-down menus. A list of nodal results and element results will appear in the
Analysis Step Editor:
STKO
122
Click on the three-point button to
specify the path and the name of
MPCORecorder (*)
NOTE (*): It’s strictly important to name the MPCORecorder, otherwise it won't be recognized
by STKO in writing moment, so anything won't be recorded.
NOTE (**): Users have to specify if they are nodal results (-N) or element results (-E).
Click on OK to confirm the settings. After that, user can define the last step: the Analyses.
2.9.3. Analysis
STKO proposes three valid Analysis types:
Choose Analysis steps > right-click on Analyses > Add. An Analysis Step Editor will appear:
STKO
123
Figure 205. Creation of Analysis Command from the
Analysis Step Editor
Node
control
STKO let user to control the analysis according to a precise element or group of elements
which can be collected in a Selection Set (see § 2.1.3 geometry set) and picked by a drop-
drown menu in the Integrator part of the analysis.
Unlike Opensees, Variable Transient is not a third analysis object but shall be subject to the
Transient Analysis Type:
STKO
124
Insert number of Insert number of
analysis steps ≠ 0 analysis steps ≠ 0
Like in Opensees, the analysis-definition part allows the user to define the different linear and
nonlinear available analysis tools. For each analysis, the following items need to be defined,
more effectively in this order:
STKO
125
- Integrator Command
(http://opensees.berkeley.edu/wiki/index.php/Integrator_Command );
- Analyze Command
(http://opensees.berkeley.edu/wiki/index.php/Analyze_Command ).
STKO enables user to easily understand each items and subitems thanks to Opensees links
that explain what they are.
In addition, Opensees uses Eigen Command for perform the analysis and generate eigen
values (http://opensees.berkeley.edu/wiki/index.php/Eigen_Command ).
Select Analysis steps > right click on Analyses > Add. The Analysis Step Editor will appear.
After setting the Analysis, select OK to confirm it. The new Analysis will appear from the
Work Tree.
STKO
126
NOTE: Remember to respect the order of the Analysis steps. If not, the scroll arrows
enables user to move items in the correct order to successfully launch the Analysis.
2.9.4. Solver
2.9.4.1. Kits
Once defined the analysis steps, user can start the solving part of the analysis.
User can select Kits from the main Toolbar. A Solver setting window will appear. In this
window user can Find or Import a solver . Clicking on Find solver STKO automatically
identifies the available solvers and lists them in the auto-detected area. The Auto-detected
solver may be: Opensees, Opensees Mp and Opensees Sp.
Since the moment Opensees is an open source progam user can also costumize it on its own.
STKO gives the possibility to user to use the Opensees Costumized version by clicking on
Import solver and the selected version will be listed in the manual area of the window.
STKO
127
Figure 214.Solver setting window
The generated ticle (.tcl) files are non other that the description of the model in order to be
solved by Opensees. They are shered indeed in: main.tcl; definitions.tcl; materials.tcl;
sections.tcl; nodes.tcl; elements.tcl.
STKO
128
Figure 215. Script of main.tlc
2. definitions.tcl: it describes Timeseries and friction model with all the parameters
previously defined. In this case there are three timeSeries: a constant, a linear and a
path timeSeries in which user can insert coordinates:
4. sections.tcl: it shows all sections used in the model (in this case Elastic section):
STKO
129
5. nodes.tcl: it contains only the geometric nodes of the model. It does not show “extra
nodes” of STKO. Together with geometric nodes, nodes.tcl can also contains –mass,
like in the following example:
Figure 220. Script of node.tcl with previously defined nodes and mass
6. elements.tcl: it includes all element properties, including extra nodes for ZeroLength.
NOTE: the extra nodes like ZeroLength appear in element property if they are
genereted by elements or in Analysis_step if they are generated by Conditions or
Analysis. In general, nodes are wroten where they are created.
STKO
130
Figure 221. Script of all element properties
7. analysis_step: it can be considered a box in which it contains: constraints (in this case
fix constraint and equalDOF); Patterns (for loads, constraints and UniformExcitation);
misc_commands (region) and the last required step is the analysis command. This
structure may be repeated all times for another Analyses, like in the example below:
STKO
131
1st Analysis Step
NOTE: the 2nd Analysis uses the same recorder of the first.
Figure 222. All Analysis steps
NOTE: For a Parallel Analysis, it is important to set Parallel RMC on the number bar together with Mumps
system.
STKO
132
2.9.4.3. Run analysis
Once selected the solver, user can choose to write just an input file or run
directly the analysis. To run the analysis clik on Run analysis > in the main
toolbar. After clicking Run Analysis, STKO will automatically connect to
Opensees that will generate 7 files in ticle (.tcl), an .mpco.cdata file and an
.mpco file. The ticle (.tcl) files as already said are the description of the model
in order to be solved by Opensees. They are shered indeed in: main.tcl; definitions.tcl;
materials.tcl; sections.tcl; nodes.tcl; elements.tcl. The .mpco.cdata file is a file strictly
related to STKO and its interface, as it translates the graphical properties of the model
elaborated in the part of the pre processor and makes them visible also in the post-processor
section. In other words the .mpco data contains the whole, not required from Opensees,
graphical information to visualize the model to solve it. The .mpco file however is the in which
there is the solution of the model. This one will be loaded in the post processor session to
read the analysis output.
The analysis toolbar has also another part with two drop down menues:
In the frist one are listed all the possible solvers to be used between OpenSees, OpenSeesMp
and OpenSeesSp.
Otherwise choosing OpenSeesMp the number of implied processor will be stated according
to the number of partition (Refer to § 2.8.8 Partition).
Choosing OpenSeesSp as a solver will activate the number processor drop down menu, in
qhich user can set the number processor to imply in the analysis.
STKO
133
3. Postprocessing Module
With the Postprocessing Module, user can visualize results of analises though OpenSees
Databases. Results will be postprocessed by STKO Postprocessing Module through plots,
graphics, etc. with the following subchapters will gradually analyse the process.
From the Work Tree panel user can see the imported Database:
To close Database, choose Document > Close DB from the Toolbar, or right-click on
the Database from the Work Tree panel. Select Close Database:
STKO
134
To reload the Database, choose Document > Reload DB from the Toolbar or right-click on the
Database from the Work Tree panel. Select Reload Database.
To deleta plot group choose the command Plot > Delete plot group from Toolbar
Or right-click on Plot Groups from the WorkTree panel. Select Delete Plot Groups.
STKO
135
All customizable information about Deformed Shape will appear from the Editor panel:
To Add new Plots to analyse, right-click on New Plot Group and choose the new Plot.
STKO
136
3.2.3. Surface Color Map Plot
To create a Surface Color Map Plot, right-click on New Plot Group from the Work
Tree panel and Select Surface Color Map or choose the command Plot > Surface
Plot from the Toolbar
All customizable information about Surface Color Map Plot will appear from the Editor
panel:
To Delete Plot, right-click on Surface Color Map Plot > Delete Plot. To Add new Plots to
analyse, right-click on New Plot Group and choose the new Plot.
STKO
137
Figure 230. Creation of a Volume Color Map
All customizable information about Volume Color Map Plot will appear from the Editor
panel:
To Delete Plot, right-click on Volume Color Map Plot > Delete Plot.
To Add new Plots, right-click on New Plot Group and choose the new Plot.
STKO
138
3.2.5. Vector Plot
To create a Vector Plot, right-click on New Plot Group from the Work Tree panel and
Select Vector Plot or choose the command Plot > Vector Plot from the Toolbar.
All customizable information about Vector Plot will appear from the Editor panel.
All customizable information about Gauss Point Plot will appear from the Editor panel:
STKO
139
Figure 234. Editor of the Gauss Point Plot
To Add new Plots, right-click on New Plot Group and choose the new Plot.
All customizable information about Fiber Color Plot will appear from the Editor panel:
STKO
140
Figure 236. Editor of the Fiber Color Map
STEEL
STKO
141
CONCRETE COVER
CONCRETE CORE
To Add new Plots, right-click on New Plot Group and choose the new Plot.
STKO
142
3.2.8. Animation
After defining Plots, STKO allows to record in a video the time steps of a post processor
model. Click on New Plot Group from the work tree and the Editor panel will activate the
Animation function:
.
- Set the Start and the End of the time steps
Also, user can choose if record the video with or without write info (Model stage Id, Plot
group id, Steps Id, Time), as follows:
STKO
143
Figure 240. Video without information Figure 241. Video with information
STKO
144
The following example shows three types of geometries in Post-Processor: a Solid, a Shell and
a Beam element:
It is important to highlight how each geometry is associated to a result - e.i. E2 section force
(Surfaces):
STKO
145
ELEMENT VISUALIZATION Varying the results (E1, E2, E3, E4, E9, ect.)
Shell will only change the color map of
geometries which are interested to the
Fiber Plot
result.
Beam/Column
Fiber Plot
Solid
Face Plot
STKO
146
2D 3D
SOLID 2D SOLID 3D
Results in Global System (ex. material.stress) Results in Global System (ex. material.stress)
BEAM SHELL
Results in Local System (ex. section.force; Results in Element Local (ex. section.force;
section.fiber.stress) section.fiber.stress)
BEAM
Results in Local System (ex. section.force;
section.fiber.stress)
To uniform the visualization of results, STKO visualizes the components of vector and tensor
results in the Local System. In particular:
Element OpenSees
STKO
147
The example below shows this important feature: two plates with same dimensions and same
reference system (global axes (x-y)) but with different element properties: a shell and a 3D
solid.
SHELL
3D ELEMENT with a vertical Pressure
Rotating the plates by 30°, the global axes remain unchanged in their initial configuration (x-
y):
30° rotation
STKO
148
Even if elements are the same, user will find different results between non-rotated plates and
the rotated ones because the coordinate system is different because of the rotation. After
launching the Analysis, STKO Post-Processor will show these differences.
STKO
149
On the other hand, results will be the same only if local axes will be orientated according to
the element orientation like in the following example:
Local Axes
Global Axes
After launching the Analysis, STKO Post-Processor will show that there are not differences in
results:
STKO
150
3.3. Extracting Chart Data
Chart Data is another command that can be extracted and reloaded together with Database
and Plot Groups.
Right-click on Chart Data > Extract Chart Data.
STKO
151
2
After choosing the result to extract, click on Next and Select the locations (nodes) for chart
data extraction. User can see the list of selected entities in the table:
STKO
152
1
Chart Data on Work Tree also shows a list of plot data. Selecting one of nodes, user can see a
table with time step and Uy.
Chart graphically displays plot data that can be exported by user: click on Export Chart in
Editor Panel and choose the available format: PDF, SVG, Postscript Documents and Images.
Select > On element gauss points from Chart Data Extraction Wizard > Next:
STKO
153
Select Gauss points on the model and data results to show. Click on Next to assign a name to
the Chart Data > Finish.
A new Chart is ready and visible in the Editor Panel and in the Work Tree:
STKO
154
Chart graphically displays plot data that can be exported by user: click on Export Chart in
Editor Panel and choose the available format: PDF, SVG, Postscript Documents and Images.
Select > On element sub-gauss points (fibers) from Chart Data Extraction Wizard > Next:
Select fibers on the model and data results to show. Click on Next to assign a name to the
Chart Data > Finish:
A new Chart is ready and visible in the Editor Panel and in the Work Tree:
STKO
155
Chart graphically displays plot data that can be exported by user: click on Export Chart in
Editor Panel and choose the available format: PDF, SVG, Postscript Documents, and Images.
STKO
156
STKO
157
4. Python Interface
….COMING SOON!
STKO
158
5. General Examples
Select Property > New Definition and then Model > timeSeries > Linear from the drop-
down menus:
STKO
159
Select OK to confirm the settings.
Then assign a New Physical Property. Select Property > New Physical Property > Model
from the Toolbar and choose sections > Elastic from the drop-drown menus:
STKO
160
Define the type of 2D section with the Beam Section Editor window:
Define the type of 2D section with the Beam Section Editor window:
STKO
161
Click on OK to confirm the settings. Assign the Beam Section to the entire model.
NOTE: It is necessary to define a Special Purpose if the model contains elements with more
physical properties. (See §3.8.3 Special Purpose for Physical Properties)
After that select Property > New element property > beam_column_element >
dispBeamColumn from the Toolbar:
NOTE: It is necessary to define a Special Purpose if the model contains elements with more
element properties. (See §2.5.1 Special Purpose for Element Properties)
To define constaints select Condition > New Condition from the Toolbar; click on Model and
choose Contraints > sp > fix from the drop-down menus:
STKO
162
Select the nodes on the base of the portal and then click on OK to confirm the settings.
To apply a constant load to the beam, create a load from Condition > New condition and
select Model > Loads > eleLoad > eleLoad_beamUniform from the drop-down menus:
STKO
163
Select the top edge of the portal before confirming the settings:
After creating the model, define mesh size along the edge. Select Mesh > Global seed from
the Toolbar and set the global edge seed. The model is ready to be meshed:
STKO
164
Once completed the model,define the analysis:
The first Analysis step is the Recorder. Right click on Analysis Step > Add from the Work
Tree. Choose Recorders > MPCORecorder from the drop-down menus.
Righ click on Analysis steps > Add from the Work Tree:
STKO
165
The pattern plain is complementary to the
previous settings:
After setting, all the parameters need to analyse. Click on OK to confirm them.
STKO
166
The last step is to add an Analysis. Right click on Analysis Step > Add from the Work Tree.
Choose Analyses > Analyses Command from the drop-down menus and set all the
attributes from the Analysis Step Editor:
All the Analyses steps are completed and ready to be exported in ticol files (.tcl).
Click on run analysis and automatically the software connects to Opensees that will analyse all
the inputs from STKO and will generate a .mpco file to be analysed in STKO Post Processor:
STKO
167
STKO
168
5.2. Fiber Portal Frame
Draw a simple model of a 2D Portal on X-Y plan like in the example below:
To create Physical Properties, choose Property > New Physical Property and select an
uniaxial material (i.e. Concrete01):
STKO
169
Type values to attribute to the Concrete
Core. Each attribute has a link to
Opensees website and a short
description of them.
Click on OK to confirm the setting.
Do the same process for the Cover Concrete always choosing, for instance, an uniaxial
concrete material: Concrete 01. Set all parameters and confirm them.
It is also important to define a third material, Steel01 from the Steel and Reinforcing-Steel
Materials:
After defining Materials click on Property > New physical property from the Toolbar to
create a Fiber Beam Cross-Section otherwise directly right click on Physical properties >
Add from the Work Tree Panel. Then the physical property Model can be choosen from the
new interface. Click on sections from the drop-drown menu and select Fiber:
STKO
170
Draw a rectangular column (for example 600x380 mm) in the Beam Fiber Section Editor.
Follow all the steps previously shown §3.8.2.2. Fiber Beam Cross-Sections. Therefore, assign
Concrete Core, Cover Concrete and Rebar to the section:
STKO
171
Select the interaction type and the sectionTag to
attribute. Click OK to confirm the setting. Assign it to
the model after selecting the geometry.
Then assign another New Physical Property. Select Property > New Physical Property >
Model from the Toolbar and choose sections > Elastic from the drop-drown menus:
Define the type of 3D section with the Beam Section Editor window:
STKO
172
Click on OK to confirm the settings.It is now necessary to create new element properties.
Choose Property > New element property > Model and select forceBeamColumn from
beam_column_elements:
Assign ForceBeamColumn and the Fiber Section to the beam. Same process for the new
element elasticBeamColumn:
STKO
173
It will assign to the columns together with Elastic Section:
Fiber Section +
ForceBeamColumn
Elastic Section +
elasticBeamColumn
STKO
174
After that, create a constraint to apply to the base (fix constraint). Choose Condition > New
Condition from the main Toolbar.
Before confirm the Condition Editor, select the nodes to the base and click on OK to assign
the setting.
Then add a force to the nodes of the beam (NodeForce) from Condition > New Condition.
Select Model > Loads > Force > NodeForce from the drop-down menus.
STKO
175
Before confirm the Condition Editor, select the nodes of the beam and click on OK to assign
the setting.
STKO
176
Select Property > New Definition and then Model > timeSeries > Linear from the drop-
down menus.
After defining new physical and element properties, loads and constraints, now create
Patterns that compose the Analysis steps. Righ-click on Analysis steps > Add from the Work
Tree:
Then define mesh size along the edge. Select Mesh > Global seed from the Toolbar and set
the global edge seed with the type and size. The model is ready to be meshed:
STKO
177
The pattern plain (like other
patterns: MultipleSupport,
UniformExcitation,
patternContraint,
patternPlain) depends on
previous settings:
sp = insert displacement on
single point.
After setting all the parameters need to be analysed. Click on OK to confirm them.
STKO
178
The second Analysis step is the Recorder. Right-click on Analysis Step > Add from the Work
Tree. Choose Recorders > MPCORecorder from the drop-down menus.
STKO
179
Insert from 1 to n number
of analysis steps to perform
All the Analyses steps are completed and ready to be exported in ticol files (.tcl).
Click on run analysis and automatically the software connects to Opensees that will analyse all
the inputs from STKO and will generate a .mpco file to be analysed in STKO Post Processor.
STKO
180
5.3. Shear Frame
Draw a simple model of a 2D Portal on X-Y plan and create an Interaction “Node to Node
link” like in the example below:
To create an Interaction select Geometry-Interaction > New interaction > choose Node to
Node links. Click on OK to confirm the Interaction and then select master geometries for the
interaction (node 1 and node 2 in this case). The geometrical model is now complete and
ready to be meshed.
After that, select Condition > New Condition > Contraints > sp > fix from the main Toolbar
and set the Condition editor with the following settings:
Select the node to the base and then click on OK to confirm the settings.
Now create another New Condition > Contraints > mp > equalDOF and set the Condition
editor with the following settings:
STKO
181
Select the Interaction and assign the equalDOF to the brace.
Create the last Condition selecting New Condition > Mass > EdgeMass and set the Condition
editor with the following settings:
After that, define the Physical Property of the model: select Property > New Physical
Property > sections > Elastic and set the Physical Property editor with the following settings:
STKO
182
Create a Beam Section_I infinitely large:
Select OK to confirm the settings and assign the Elastic Section to the Portal
Add another Physical Property for the brace. Select Property > New Physical Property >
materials > uniaxial > Other Uniaxial Materials > ViscousDamper and set the Physical
Property Editor like following:
STKO
183
Click on OK to confirm the settings. After creating a ViscousDamper, it is important to define a
Special Purpose with the following settings:
STKO
184
Click on OK to confirm the setting and then assign the special purpose to the interaction with
the support of the Quick access Toolbar:
TO ONLY SELECT:
vertexes edges faces solids all interaction
NOTE: To check that all the physical properties are successfully assign to the element of the
model, do not forget to set the Shader that is on the Editor:
Doing this, it is possibile to see the correct physical property assignment thanks to the
selection Color by that is in the Property from the main Toolbar.
After that, it is necessary to define New Element Properties. Select Property > New
element property > beam_column_element > elasticBeamColumn:
STKO
185
Click on OK to confirm the Physical Element Property Editor and assign it to the Portal.
Also, define a link_element from Property > New element property > link_element >
twoNodeLink:
Before defining the Analysis step, needs to define a Time Series. Select Property > New
Definition > timeSeries > Path:
STKO
186
Check the box to activate -factor
After the definition of all the steps as seen before, create Patterns that compose the Analysis
steps. Righ-click on Analysis steps > Add and choose Pattern Constraint:
STKO
187
Insert fix constraint
previously defined
Insert equalDOF
STKO
188
Click on OK to confirm the settings. It is now necessary to add a Recorder selecting Analysis
steps > Add from the Work Tree and set the Analysis Step editor with the following settings:
STKO
189
Click on OK to confirm the settings.
Now the analysis is ready to be launched and exported in ticol files (.tcl).
Click on run analysis and automatically the software connects to Opensees that will analyse all
the inputs from STKO and will generate a .mpco file to be analysed in STKO Post Processor.
Move to Post Processor interface to load the new database. Select Open DB from the main
Toolbar or right-click to Databases > Add. Select the file .mpco previously created.
STKO
190
Even if the DB is correctly open, it is
necessary to create a New Plot Group
to see the model in post processor
Right-click on Plot Groups > New Plot Group from the work tree panel, otherwise directly
select Plot > New plot group from the main Toolbar and choose the Plot to analyse
(Deformed Shape, Surface Color Map, Volume Color Map, Beam/Shell Fiber Color Map
and Gauss Point Plot):
Set the type of Deformation (Displacement) the Deformation scale (default 1 but in this
case 20.00) and the Time step previously defined in pre-processor:
STKO
191
To add new Plots, right-click on New Plot Group and select the new Plot:
STKO
192
Advanced Modeling Examples
Bridge Modeling
STKO
193
Figure 252.Example of column modeling
Figure 253.DistributedLK3D
STKO
194
Figure 255.Post-processor analysis
STKO
195
Residencial tower modeling
STKO
196
Figure 261.Meshing model
STKO
197