Karamba3D v3
  • Welcome to Karamba3D
  • New in Karamba3D 3.1
  • See Scripting Guide
  • See Manual 2.2.0
  • 1 Introduction
    • 1.1 Installation
    • 1.2 Licenses
      • 1.2.1 Cloud Licenses
      • 1.2.2 Network Licenses
      • 1.2.3 Temporary Licenses
      • 1.2.4 Standalone Licenses
  • 2 Getting Started
    • 2 Getting Started
      • 2.1 Karamba3D Entities
      • 2.2 Setting up a Structural Analysis
        • 2.2.1 Define the Model Elements
        • 2.2.2 View the Model
        • 2.2.3 Add Supports
        • 2.2.4 Define Loads
        • 2.2.5 Choose an Algorithm
        • 2.2.6 Provide Cross Sections
        • 2.2.7 Specify Materials
        • 2.2.8 Retrieve Results
      • 2.3 The Karamba3D Menu
      • 2.4 User Settings
      • 2.5 Physical Units
      • 2.6 Asynchronous Execution of Karamba3D Components
      • 2.7 Quick Component Reference
  • 3 In Depth Component Reference
    • 3.0 Settings
      • 3.0.1 License
    • 3.1 Model
      • 3.1.1 Assemble Model
      • 3.1.2 Disassemble Model
      • 3.1.3: Modify Model
      • 3.1.4: Connected Parts
      • 3.1.5: Activate Element
      • 3.1.6 Create Linear Element
        • 3.1.6.1 Line to Beam
        • 3.1.6.2 Line to Truss
        • 3.1.6.3 Connectivity to Beam
        • 3.1.6.4: Index to Beam
      • 3.1.7 Create Surface Element
        • 3.1.7.1: Mesh to Shell
        • 3.1.7.2: Mesh to Membrane
      • 3.1.8: Modify Element
      • 3.1.9: Point-Mass
      • 3.1.10: Disassemble Element
      • 3.1.11: Make Element-Set
      • 3.1.12: Orientate Element
      • 3.1.13: Dispatch Elements
      • 3.1.14: Select Elements
      • 3.1.15: Support
    • 3.2: Load
      • 3.2.1: General Loads
      • 3.2.2: Beam Loads
      • 3.2.3: Disassemble Mesh Load
      • 3.2.4 Load-Case-Combinations
        • 3.2.5.1 Load-Case-Combinator
        • 3.2.5.2 Disassemble Load-Case-Combinaton
        • 3.2.5.3 Load-Case-Combination Settings
    • 3.3: Cross Section
      • 3.3.1: Beam Cross Sections
      • 3.3.2: Shell Cross Sections
      • 3.3.3: Spring Cross Sections
      • 3.3.4: Disassemble Cross Section
      • 3.3.5: Eccentricity on Beam and Cross Section
      • 3.3.6: Modify Cross Section
      • 3.3.7: Cross Section Range Selector
      • 3.3.8: Cross Section Selector
      • 3.3.9: Cross Section Matcher
      • 3.3.10: Generate Cross Section Table
      • 3.3.11: Read Cross Section Table from File
    • 3.4: Joint
      • 3.4.1: Beam-Joints
      • 3.4.2: Beam-Joint Agent
      • 3.4.3: Line-Joint
    • 3.5: Material
      • 3.5.1: Material Properties
      • 3.5.2: Material Selection
      • 3.5.3: Read Material Table from File
      • 3.5.4: Disassemble Material
    • 3.6: Algorithms
      • 3.6.1: Analyze
      • 3.6.2: AnalyzeThII
      • 3.6.3: Analyze Nonlinear WIP
      • 3.6.4: Large Deformation Analysis
      • 3.6.5: Buckling Modes
      • 3.6.6: Eigen Modes
      • 3.6.7: Natural Vibrations
      • 3.6.8: Optimize Cross Section
      • 3.6.9: BESO for Beams
      • 3.6.10: BESO for Shells
      • 3.6.11: Optimize Reinforcement
      • 3.6.12: Tension/Compression Eliminator
    • 3.7 Results
      • 3.7.1 General Results
        • 3.7.1.1 ModelView
        • 3.7.1.2 Result Selector
        • 3.7.1.3 Deformation-Energy
        • 3.7.1.4 Element Query
        • 3.7.1.5 Nodal Displacements
        • 3.7.1.6 Principal Strains Approximation
        • 3.7.1.7 Reaction Forces
        • 3.7.1.8 Utilization of Elements
        • 3.7.1.9 ReactionView
      • 3.7.2 Results on Beams
        • 3.7.2.1 BeamView
        • 3.7.2.2 Beam Displacements
        • 3.7.2.3 Beam Forces
        • 3.7.2.4 Node Forces
      • 3.7.3 Results on Shells
        • 3.7.3.1 ShellView
        • 3.7.3.2 Line Results on Shells
        • 3.7.3.3 Result Vectors on Shells
        • 3.7.3.4 Shell Forces
        • 3.7.3.5 Shell Sections
    • 3.8 Export
      • 3.8.1 Export Model to DStV
      • 3.8.2 Json/Bson Export and Import
      • 3.8.3 Export Model to SAF
      • 3.8.4 Export/Import Model to and from Speckle (WIP)
    • 3.9 Utilities
      • 3.9.1: Mesh Breps
      • 3.9.2: Closest Points
      • 3.9.3: Closest Points Multi-dimensional
      • 3.9.4: Cull Curves
      • 3.9.5: Detect Collisions
      • 3.9.6: Get Cells from Lines
      • 3.9.7: Line-Line Intersection
      • 3.9.8: Principal States Transformation
      • 3.9.9: Remove Duplicate Lines
      • 3.9.10: Remove Duplicate Points
      • 3.9.11: Simplify Model
      • 3.9.12: Element Felting
      • 3.9.13: Mapper
      • 3.9.14: Interpolate Shape
      • 3.9.15: Connecting Beams with Stitches
      • 3.9.16: User Iso-Lines and Stream-Lines
      • 3.9.17: Cross Section Properties
      • 3.9.18 Surface To Truss
      • 3.9.19 Head-Up Display Legend
    • 3.10 Parametric UI
      • 3.10.1: View-Components
      • 3.10.2: Rendered View
  • Troubleshooting
    • 4.1: Miscellaneous Questions and Problems
      • 4.1.0: FAQ
      • 4.1.1: Installation Issues
      • 4.1.2: Purchases
      • 4.1.3: Licensing
      • 4.1.4: Runtime Errors
      • 4.1.5: Definitions and Components
      • 4.1.6: Default Program Settings
    • 4.2: Support
  • Appendix
    • A.1: Release Notes
      • Work in Progress Versions
      • Older Versions
      • Version 2.2.0
      • Version 2.2.0 WIP
      • Version 1.3.3
      • Version 1.3.2 build 190919
      • Version 1.3.2 build 190731
      • Version 1.3.2 build 190709
      • Version 1.3.2
    • A.2: Background information
      • A.2.1: Basic Properties of Materials
      • A.2.2: Additional Information on Loads
      • A.2.3: Tips for Designing Statically Feasible Structures
      • A.2.4: Performance Optimization in Karamba3D
      • A.2.5: Natural Vibrations, Eigen Modes and Buckling
      • A.2.6: Approach Used for Cross Section Optimization
    • A.3: Workflow Examples
    • A.4: Bibliography
Powered by GitBook
On this page
  • Input-plugs
  • 1. Model
  • 2. LCase
  • 3. Colors
  • 4. View
  • 5. defDir
  • Output-plugs
  • The “Display”-submenu
  • The “Render Settings”-submenu
  • The "Annotations"-submenu
  • The “Cross Section Colors”-submenu
  • The “Result Selection"-submenu
  1. 3 In Depth Component Reference
  2. 3.7 Results
  3. 3.7.1 General Results

3.7.1.1 ModelView

Previous3.7.1 General ResultsNext3.7.1.2 Result Selector

Last updated 3 months ago

The “ModelView”-component of the “Results” subsection controls the general display properties of the structural model (see fig. 3.7.1.1.1). More specific visual properties that relate to beam and shell elements can be defined with the “BeamView” and “ShellView”-component. The viewing options get stored in the model. Settings of view-components thus stick with the model and remain valid further down the data-stream until changed by another view-component.

When adding a “ModelView” to the definition it is sometimes a good idea to turn off the preview of all other components so that they do not interfere. Clicking on the black menu headings unfolds the “ModelView”-component and unveils widgets for tuning the model display. Each of these will be explained further below. The range and current value of the sliders may be set by double-clicking on their knob.

Input-plugs

The “ModelView”-component features five plugs on its left side:

1. Model

Expects the model to be displayed.

2. LCase

Selects the load-case to be displayed parametrically. The input is a string containing selection criteria separated by "/". For details see the section about the "Load-Case Selector"-component. By default, the results of all calculated load-cases are displayed. If "Load Case Combination" in the "Result Selection" submenu is set to anything other than "none," it overrides the selection via "LCase." The model's load-case-selection settings remain unchanged until a downstream ModelView component resets them.

3. Colors

Color plots for e.g., stresses use a color spectrum from blue to white to red by default. One can customize the color range by handing over a list of RGB-values to the “Colors”-plug. There have to be at least four colors given. The first color is used for values below, the last color for values above the current number range. The remaining colors get distributed over the number range (see fig. 3.7.1.1.2). The colors are centered on zero if zero is part of the number range. Otherwise, the colors spread evenly between lower and upper numerical limit. In case you want to change the coloring defaults, go to "Edit User Settings" in the Karamba3D menu under "Settings". There it is also possible to switch off the centering around zero by setting “center_color_range_on_zero” to false.

Alternatively, it is possible to select from a list of color-ranges via the component's context menu: right-click on the component, go to item "Colors" and select a color range.

4. View

This plug-in allows users to choose specific parts of a model to be displayed. By default, the input is an empty string, indicating that the entire model should be visible. When multiple inputs are provided, they are combined using an AND operation. The input plug-in supports various input types:

  • Strings: Identifier or indexes of elements to be displayed. Besides their names elements can be referred to via their index number. This allows to use the output "MaxUtilView" and "MaxDispView" of the "OptiCroSec"-component for diagnostic model views. As illustrated in Figure 3.7.1.1.1, regular expressions are also supported, starting with the character “&” and following C# regular expression conventions. Each model element identifier is compared against the string list, and any matching entry results in the element being displayed. For instance, the first example in Figure 3.7.1.1.1 limits visibility to element “A,” the second to element “B,” the third uses a regular expression to match elements “A” or “C,” and the fourth matches elements from “A” to “C.” A simplified regular expression ending with "$" can be used to select all elements whose names begin with the specified characters before the "$" sign.

  • Planes: Displays all elements and associated items located on a specified plane.

  • Straight Lines: Defines a vertical plane, controlling the visibility of elements, such as those aligned along a grid axis.

  • Plane Surfaces: Adds elements to the visible set if all their nodes lie entirely on the specified surface.

  • Volumes: Selects all elements completely enclosed within a defined solid brep.

This functionality enhances model visualization by offering flexible and precise control over element visibility. The example below shows the different options in action.

5. defDir

If the input is a vector, it defines the direction of the displacement component to be displayed, which is useful for viewing specific displacements, such as vertical ones. Alternatively, a plane can be provided to project the displacements onto it, allowing for the visualization of horizontal displacements, for example. By default, the resultant displacements are displayed.

Output-plugs

There are five output plugs on the "ModelView"-component:

“Model”

Is the model which was fed in on the left side with viewing options attached.

“DefMesh”

You can get the mesh of the shells and beam cross sections of the deformed model for further processing. It is a list of meshes with each item corresponding to one shell or beam.

“DefAxes"

Delivers the axes of the beams of the deformed structure as interpolated 3rd degree nurb-splines. Use the Length/Subdivision slider to set the number of interpolation points.

"DefModel”

When there are results available from a statical calculation, the translational nodal deflections are scaled and added to the node coordinates of the original model so that the "defModel"-output contains the deformed geometry.

"DefMax"

Maximum displacement of the displayed model parts in centimeter. The setting of the "defDir"-input is taken into account, the deformation scaling factor not.

The “Display”-submenu

The “Display Scales”-submenu contains check boxes and sliders to enable/disable and scale displacements, reaction forces at supports, load-symbols, support-symbols, local coordinate systems and symbols for joints at the endpoints of elements (see fig. 3.7.1.1.3). The displacement scale influences the display and the output at the "defMesh"-, "defAxes"- and "defModel"-plug. It has no effect on stresses, strains, etc. The colors of the local coordinate axes red, green, blue symbolize the local X-, Y-, and Z-axis.

The “Render Settings”-submenu

The slider entitled “Length/Segment[m]” lets one control the distance at which beam results (displacements, forces, moments, etc.) are plotted (see 3.6.7). It also sets the number of control points that are used for the “defAxes”-output and for displaying. In case of very large models or when the unit for geometry input is wrong, the default length per segment setting may lead to very long rendering times. To avoid this the karamba.ini variable "MaxEvaluationPointsInModel" limits the overall number of evaluation points to 30000 by default.

In some cases, the color display of results gets distorted by the presence of stress concentrations or utilization peeks. They make much of the structure look unstrained with some small patches of color where the peeks are. The “Upper Result Threshold”- and “Lower Result Threshold”-sliders let you eliminate these extreme values. In case of the “Upper Result Threshold”-slider a value of x% sets the upper boundary value of the color range in such a way that x% of the actual value range is below. For the lower threshold it is vice versa. Values in the model beyond the given thresholds are given special colors to make them easily recognizable.

By default, the result threshold values given above refer to the value range in percent. Sometimes it turns out to be practical to prescribe absolute values as thresholds (e.g., the yield stress of a material). The radio button group “Result Threshold as” can be used to switch between relative and absolute thresholds.

Limiting the value range of utilization values can be confusing: If the result thresholds are given in percent, then setting the lower threshold to zero and the upper to 100 displays the full range of utilization values. If the result thresholds are given as absolute values, then a lower threshold of −100 and an upper threshold of 100 limit the color range to the areas where the material resistance is sufficient.

The "Annotations"-submenu

The "Annotations"-submenu lets one display model related text information on the canvas (see fig. 3.7.1.1.4). Use the "Text Height Factor" to scale the display test. This controls also the character size of output further downstream (e.g., numbers on cross section force diagrams). For a more fine-grained control of the text output see the comments in the "karamba.ini"-file.

The “Annotations” menu contains checkboxes for adding visual information to parts of the model as follows:

"Node tags"

attaches node-indexes to nodes

"Element tags"

attaches element-indexes to elements

"Element Ids"

displays the element identifiers

"Elements"

if enabled the “defAxes” output-plug emits the axis of the deformed elements as lines and shows them on the Rhino-canvas.

"CroSec names"

displays the name of the cross-section of each element

"Material names"

displays the name of the material of each element

"Eccentricities"

visualizes beam eccentricities as blue lines at the end-points if active.

"Load values"

adds the numerical values of loads or point masses to the corresponding symbols

"NII"

prints the value of second order theory normal forces NIIN^{II}NII for all elements where it is not equal to zero. For the meaning of NIIN^{II}NII see section 3.6.2

The “Cross Section Colors”-submenu

Here one can enable the display of element-, cross section- and material-colors. See sections 3.1.6, 3.3.1 or 3.4.1 for how to set them. In order to to visualize the colors enable "Cross section" under "Render Settings" of the "BeamView"- or "ShellView"-component.

The “Result Selection"-submenu

This submenu exists for convenience. It offers the same functionality like the "Result Selection"-submenu of the "Result Selector"-component (see section 3.7.1.2). When the load case combination selection is set to "none" the selection via the input-plug "LCase" controls the display. Otherwise the settings in the "Result Selection" submenu override the choice provided at the input-plug.

32KB
ModelViewComponent.gh
73KB
ModelView_Shells_And_Beams_Visibility_Options.gh
Grasshopper definition which shows variants for defining model visibilities.
40KB
ModelViewCustomColors.gh
42KB
ModelView_CustomColorRange.gh
27KB
ModelView_MultipleModels.gh
44KB
ModelView_SelectiveView.gh
Fig. 3.7.1.1.1: Partial view of a model
Fig. 3.7.1.1.2: Color plot of strains with custom color range
Fig. 3.7.1.1.3: Local axes of cantilever composed of two beams, reaction force and moment at support
Fig. 3.7.1.1.4: Via the Annotations-submenu additional model information can be displayed.