Anda di halaman 1dari 5

KarambaA Toolkit for Parametric Structural Design

Clemens Preisinger, Dipl.-Ing., Dr., University of Applied Arts Vienna, Structural Design, Vienna, Austria;
Moritz Heimrath, Mag. Arch., Bollinger Grohmann Schneider ZT GmbH, Research and Development, Vienna, Austria.
Contact: info@karamba3d.com
DOI: 10.2749/101686614X13830790993483

Abstract symbolize operations. Figure 1 shows


a simple case where a GH definition
An increasing number of architectural design practices harness the power of is used to sum up four user-defined
parametric design tools. The aim of these tools is to facilitate and control com- numbers. Algorithms formulated in
plex building geometries. Parametric design programs such as Grasshopper such a way lack features of traditional
(GH) for Rhino or Generative Components popularized this approach by pro- programming languages such as loops.
viding easy-to-use visual programming environments that integrate with com- This makes them easier to learn and
puter-aided design (CAD) packages. A logical next step consists in connecting enables users to express geometric
parametric designs to applications that evaluate non-geometric aspects such as production rules without the need of
building physics or structural performance. This brings about new opportunities having to think in terms of a program-
of collaboration between architects and engineers in the early stages of build- ming language. When necessity arises
ing design. The ease of testing alternatives by tweaking a set of parameters also though, GH definitions can be supple-
opens the door for the application of generic optimization algorithms. Karamba is mented by custom scripts (devised
a finite element program geared towards interactive use in the parametric design in C# or Visual Basic) that provide a
environment GH. Being a GH plug-in, it seamlessly integrates with the diverse higher level of expressiveness.
habitat of other third party programs available for GH. These range from build-
ing physics applications to genetic optimization engines. In the authors company,
Karamba is used in early-stage design, form-finding, and structural optimization. Parametric Structural Design
White Noise, a mobile exhibition pavilion for the Salzburg Biennale, serves Currently, parametric design strate-
as a case study that shows how Karamba can be used to optimize the structural gies focus on the generation of geom-
performance of intricate building geometries. etriesprimarily in an architectural
Keywords: parametric design environment; structural; interactive; finite context. They allow the user to test a
elements; optimization; integrated planning process. large number of different but related
geometries without much effort. This is
most important in early design stages
where a complex network of contra-
Introduction drawing. One early approach consisted dicting architectural objectives needs
in recording the history of commands to be considered for finding the best
Digital tools have transformed the that lead to a given geometry. The solution.
process of architectural and struc- command history implicitly stores the
tural design tremendously since Presently, applications of paramet-
dependencies between the objects of
they superseded the drawing board ric tools in structural design remain
a drawing. It can be used to update
about 20 years ago. One feature that scarce. This is rooted in the traditional
elements (e.g. lines) when their par-
remained constant though, is the fact approach to building projects where
ent entities from which they derive
that designs tend to change signifi- architects hand over a frozen geom-
(e.g. points) change. This offers flex-
cantly from conception to completion. etry for further analysis to structural
ibility with respect to the input param-
Therefore, increased flexibility consti- engineers. Typical finite element (FE)
eters (e.g. point coordinates): A series
tutes the key feature that motivates programs are geared toward thor-
of commands can be automatically
the adoption of new design technolo- ough analysis of a given structure that
re-executed in a preset order to cre-
gies: Computer-aided design (CAD) does not change significantly in the
ate an altered version of the original
programs became popular because course of design. The current trend of
geometry.
they allowed to change a digital draw- increased complexity of architectural
ing with a few clicks of a mouse instead The next step in enhancing flexibility designs entails the need to incorporate
of having to use a razor blade on a of geometry creation consisted in mak- structural assessment early on. The
large sheet of paper. ing the history explicit and letting the ideal solution would be an automated
user control the order of commands. feedback loop between architectural
Later on, flexibility was further Current parametric design environ- design and structural response in real
enhanced by adding context informa- ments such as Generative Components time: An architect changes the param-
tion to the constituents of a digital (GC)1 or Grasshopper (GH)2 imple- eters of his or her design and receives
ment that idea. They provide the immediate response regarding the
user with a visual environment where impact on structural performance.
Peer-reviewed by international ex-
perts and accepted for publication
commands can be linked together to In later project stages, flexibility and
by SEI Editorial Board form a directed acyclic graph (Fig. 1): tolerance toward changes are no less
Data flows through the graph edges beneficial as in practice architectural
Paper received: July 15, 2013 (visualized as pipes) from left to right designs tend to change even after
Paper accepted: November 18, 2013 and gets processed at the vertices that being frozen.

Structural Engineering International 2/2014 Scientific Paper 217


and offer the same look and feel as
1 native components.
A 3

A+B
The structural design toolkit Karamba
R
B takes advantage of this feature of GH
and enlarges the range of GH entities
2
with objects symbolizing beams, shells,
A

A+B
R 10 materials, cross sections, supports,
B loads or whole structural models. The
software design of Karamba adheres
3 to the principle of object orientation.
A A+B This offers the advantage that there is
R
B a one-to-one correspondence between
7 objects visible in the GH user interface
4 and the internal objects used for calcu-
lation in Karamba. As a consequence,
Fig. 1: Grasshopper definitions form directed acyclic graphs: Data flows from left to right the user is given fine-grained control
through pipes; graph vertices represent operations such as addition of two numbers over all properties of the structural
model including the retrieval of results.
Structural models in Karamba behave
Many current FE packages allow been chosen for the software design
like normal GH objects: They can be
communication with other programs of the parametric FE toolkit named
fed into components for static analysis
via an application programming inter- Karamba.5
or results retrieval, copied or decom-
face (API). They can thus be remote
posed into their constituents. Karamba
controlled from custom written pro- Implementation is a self-contained FE solverit lives
grams. This possibility has been used of a Parametric Structural inside GH. Therefore, calculation data
in the past by researchers who linked Design Toolkit need not be passed between different
parametric design environments applications, which brings about a con-
and off-the-shelf FE programs.3,4 For the implementation of the para- siderable reduction of reaction time
Traditional FE-solvers come as mono- metric design toolkit Karamba, the as compared with using external FE
lithic stand-alone applications, which visual computing environment GH was engines.
are not optimized for integrated chosen. GH comes as a free plug-in for
use. Therefore, it takes considerable the three-dimensional (3D) modeler
time to pass structural data to such Rhinoceros and features a thriving Setup of a Parametric
programs, to analyze it and retrieve online community. GHs base function- Structural Model
results. In order to appear truly inter- ality can be extended via plug-ins
active, quick response is however of programs written in one of the dot net Figure 2 shows the main parts of a
utmost importance. This is the rea- languages. These plug-ins seamlessly model definition with Karamba: The
son why a different approach has integrate into the user interface of GH gray rectangles symbolize operations

Create Convert Assemble Analyze View

Define

Fig. 2: Definition of a structural model with Karamba

218 Scientific Paper Structural Engineering International 2/2014


that manipulate data that flows from
left to right. The focus of GH lies in
processing geometric entities and thus
offers objects that represent points,
lines, and meshes. They form the basis
for building a structural model (see
Fig. 2 create).
To be useful in a structural context
the geometric entities need to be
converted into structural elements.
Currently Karamba provides beams,
trusses, and shells. The component
LineToBeam from the Karamba
tools selection takes lines as input and
performs preliminary checks on them:
optionally removes duplicate lines (i.e.
lines that lie on top of each other)
and determines their connectivity.
Inaccurate geometry (e.g. lines whose Fig. 3: Rendering of the temporary pavilion White Noise from the architectural
competition entry
endpoints do not exactly meet) can be
dealt with by defining tolerances for
snapping together neighboring points. form-finding processes or optimization finished structure, a prestressed mem-
The output of the LineToBeam com- strategies. brane, shields visitors from wind and
ponent consists of structural elements rain. This surface may not be crossed
with default cross section and material Application to Real-World by structural members and thus deter-
properties. They can be given names Structures mined their starting points. In order to
for later reference, for example, when arrive at a structure of uniform visual
applying non-default materials or cross In the structural engineering office, density, the inner starting points of rods
sections later on. Karamba can be used at all stages of were positioned at uniform mutual
project development: from structural distance with a phase shift between
Other structural constituents such
assessment of architectural competi- neighboring layers (Fig. 4). The incli-
as supports, loads, and cross sections
tion entries to design development and nation of the aluminum rods should
get defined in a similar fashion (see
generation of construction documents. differ within a certain range, following
Fig. 2 define). The combined struc-
The project White Noise will be used global rules for aggregation and allow-
tural information supplied by the
to describe how Karamba fits into the ing for an individual behavior. The aim
user forms a model object, which can
structural design process. was to keep the visitors focus switch-
be subjected to structural calcula-
tion. Analysis options include static Figure 3 shows a rendering of the ing between single members and the
deflections, natural vibrations or cross structure from the architectural com- integrated whole. The aluminum rods
section optimization among others petition entry. The task was to design had to adhere to the condition that no
according to EC3. a temporary pavilion for the Salzburg two members of the same layer over-
Biennalean art festival in the city of lap. This constraint came from the side
In GH, data travels from left to right. of architectural design. Figure 4 shows
Salzburg that takes place every 2 years.
This means that models can be ana- how the members of neighboring lay-
The structure should be easy to assem-
lyzed multiple times under different ers (colored blue and red) are joined
ble, disassemble and transport on road.
aspects. The result data attach to the to each other: where two members
In plan view the pavilion measures
model and thus move together with it. cross they get connected via circular
12 m 20 m.
The properties of a structural model studs (symbolized in the drawing as
can be viewed at arbitrary states (see In order to fulfill the weight constraint, black circles). The structural perfor-
Fig. 2 view). Karamba uses the aluminum was chosen as the main con- mance of the pavilion thus depended
Rhino viewport to visualize model struction material. The structure had to heavily on the relative position of the
information. The available viewing be divided into several modules that fit aluminum rods.
options resemble those of standard into conventional low-loading trucks
FE programs: display of basic model and could later be joined on-site using Based on the given geometry of the
data in order to check model integrity prestressed bolt connections. inner hull and the constraints for-
or correctness of element properties, mulated above, a parametric model
It proved difficult to generate a viable was set up in GH. Twenty parameters
displaced model shapes, support reac-
load-bearing structure from the geo- controlled the orientation of the alu-
tions, element stresses and the like.
metric principles outlined in the ini- minum rods. The positions of the con-
An important feature of Karamba tial competition entry. Figure 4 takes a necting circular studs between them
models is that they can be decomposed closer look at one of the five main parts were determined using GHs geometric
into their components (e.g. FEs, sup- of the pavilion. Aluminum rods of uni- analysis capabilities.
ports, loads) and reassembled to form form length of 2 m were positioned on
different configurations. This allows parallel layers that have a mutual dis- For each of the five main parts, a static
incorporating the structural behavior tance of 0,2 m. A non-uniform rational model was created using Karamba.
(e.g. displacements) of a previously B-Splines (NURBS) surface defined Although different in shape, one basic
analyzed model into user-defined the interior of the pavilion wherein the setup for geometry and structural

Structural Engineering International 2/2014 Scientific Paper 219


several solvers freely available that can
handle such problems efficiently. For
the job at hand, a genetic algorithm
solver called Galapagos7 was used.
Genetic algorithm procedures8 work
along the principles of natural selec-
tion. They breed solutions from an ini-
tial, randomly generated population of
parameter sets. By evaluating a large
number of solutions with respect to
a fitness function, genetic algorithms
gradually converge to reasonably
good solutions even for very difficult
problems.
In the case of the White Noise pavilion,
three criteria were considered for driv-
ing the optimization process:
1. Largest displacement dmax in the
structure under exterior loadsto be
minimized to ensure serviceability.
2. Number of connections ncon
between the aluminum rodsto be
minimized in order to lower produc-
tion effort and cost.
Fig. 4: The load carrying structure consists of parallel layers of differently inclined
aluminum rods that connect to each other via circular studs
3. A global variation value vvar, which
measured the difference of inclina-
tion of neighboring membersto be
maximized for esthetic reasons.
In order to feed the genetic algorithm
solver with a single fitness function,
the three criteria were combined using
the following heuristic formula:

Fitness = vvar/(dmaxncon)

The numbers of fitness evaluations for


different sets of input parameters were
in the range of several ten thousands.
One optimization run took roughly 4 h
on a quad-core workstation.
Figure 6 shows the pavilion White Noise
after completion on the Mozart Platz in
Salzburg. A comparison with the initial
competition rendering in Fig. 3 proves
that the structure could be realized
Fig. 5: Calculated deflections at the beginning of the structural optimization procedure according to the architects design intent.

model proofed sufficient for all five prestressed membrane contributed Conclusions
main parts. As the geometry of the significantly to the stress in the ele-
Parametric visual design environments
inner hull constitutes just one more ments and connections.
provide a powerful, flexible tool for
input parameter, it simply had to be For each of the partial models, the 20 defining and handling complex geom-
switched from part to part with the rest free parameters had to be determined etries. They enable users to express
of the parametric definition remaining in such a way that neither usability their general idea about structural
unchanged. was impaired by large deflections nor shapes in an algorithmic way without
Figure 5 shows an axis model of stresses in the elements and connec- the need to resort to formal program-
the initial geometry (red) and the tions exceeded the allowable limit. ming languages. Owing to their depen-
deformed structure (yellow) with mag- There exists no continuously differen- dence on parameters, algorithmically
nified deflections. The green arrows tiable relationship between the inclina- defined geometries can be changed
at the base of the structure represent tion of the aluminum rods and overall easily: either interactively in order
supports against nodal translations. structural performance because the to study the architectural qualities of
Wind in horizontal direction proved number of connections changes in a alternatives or automatically in combi-
to be the governing load case in most stepwise fashion. Owing to the open nation with optimization engines. The
situations, but also the loads from the platform philosophy of GH, there are parametric structural design toolkit

220 Scientific Paper Structural Engineering International 2/2014


References
[1] Aish R. Introduction to Generative
Components, A parametric and associative
design system for architecture, building engi-
neering and digital fabrication. White paper,
http://www.bentley.com, 2005.
[2] McNeel R. Grasshopper. website http://grass-
hopper3d.com, 2013.
[3] Coenders J. Approximating complex shapes
with intelligent structures: embedded design intel-
ligence in systems for the early phases of design.
J. Int. Assoc. Shell Spatial Struct. 2006; 237244.
[4] Odysseas G. Interactive structural analysis &
form finding. IABSE-IASS Symposium 2011
Taller, Longer, Lighter, 2011.
[5] Preisinger C. Karamba parametric struc-
tural modeling, user manual for version 1.0.3.
http://karamba3d.com, 2013.
[6] Rutzinger S, Schinegger K, Hofmann A,
Heimrath M. Adaptive design of a music pavil-
ion. Adaptive Architecture Converence 35
Fig. 6: The temporary pavilion White Noise on the Mozart Platz in Salzburg (Photo:
March, 2011.
F. Hafele)
[7] Rutten D. Galapagos: on the logic and limi-
tations of generic solvers. Architectural Design
Karamba builds upon GH, which is design and optimization of the tem- Special issue: Computation Works: The Building
a parametric design environment for porary pavilion White Noise shows of Algorithmic Thought 2013; 83(2): 132135.
the 3D modeler Rhinoceros. Karamba how Karamba was used to generate an [8] Goldberg DE. Genetic Algorithms in Search,
can be used to give instant feedback efficient load-bearing structure while Optimization and Machine Learning, Addison-
about the structural performance of adhering to the original architectural Wesley Longman Publishing Co., Inc. Boston,
parametric geometries. The structural design intent. MA, USA 1998.

37th IABSE Symposium Madrid, September 3-5, 2014

Innovative Design Concepts


Sustainable Infrastructures
Major Projects and Innovative
Structures and Materials
Analysis
Forensic Structural Engineering
Construction
Operation, Maintenance, Monitoring,
Instrumentation
Organised by Education and Ethics
Cooperation and Development Projects
The Spanish Group of IABSE

www.iabse.org/madrid2014

Structural Engineering International 2/2014 Scientific Paper 221

Anda mungkin juga menyukai