Abstract

Direct usage of construction plans as input for structural analyses assumes the reference configuration to match the engineering drawings. However, the built construction is typically supposed to match the construction plans after its successful erection. In that state, the structure is usually already subjected to self-weight and maybe other loadings. Consequently, an analysis approach is necessary to find the unknown reference configuration for a given, desired deformed structural shape. The standard static problem needs to be reformulated with the reference coordinates being the unknown variables. This work describes the necessary steps for geometrically and materially nonlinear truss elements based on the variation of reference strategy (VaReS) and gives a highly detailed description of all resultant system derivatives. Arbitrary hyperelastic material laws can be applied of which this work introduces the St. Venant-Kirchhoff, the Neo-Hookean, and the Ogden law. Additionally, the self-weight load case is considered, increasing the problem’s nonlinearity. Finally, two- and three-dimensional structural problems are presented to show the solution capabilities, ranging from simple 3-bar systems to larger framework bridges. While all necessary vectors and matrices are discussed and presented in great detail, a publicly available GitHub repository makes the code freely accessible as Python code.

1. Introduction

Direct usage of construction plans as input for structural analyses assumes the reference configuration to match the engineering drawings. However, the built construction is typically supposed to match the construction plans after its successful erection. In that state, the structure is usually already subjected to self-weight and maybe other loadings. Consequently, an analysis approach is necessary to find the unknown reference configuration for a given, desired deformed structural shape.

In conventional structural analysis, a given configuration is typically loaded and subsequently simulated, resulting in deformations and stress states. Often, this analysis is unsuitable, and an “inverse” analysis must be performed. Especially for lightweight membrane or cable net constructions, the internal stress state is predefined, and a corresponding equilibrium shape is searched. Moreover, the desired deformed shape is given for specific structures, and an unknown reference configuration needs to be found. Standard structural analysis is not applicable in these cases, and other solution methods must be utilized. Overall, the finite element method (FEM) has proven to be one of the most effective approaches and will also be the basis for the presented method.

Several approaches have been developed to find an equilibrium shape for a given stress state (including external forces). Exploiting proven dynamic simulation strategies the dynamic relaxation approach [13] creates a dynamic problem, based on the underlying static problem. Similar to an explicit dynamic simulation, no stiffness matrices are necessary, and a simple node-based solution loop can be used to calculate the artificially damped structure until an equilibrium shape has been found.

Directly working with the static problem [46] has developed the force density method, whose first successful and practical application can be admired in Munich in the form of the roof of the Olympic Stadium [7]. This approach assembles nodal force equilibrium equations and keeps the ratio of internal force and element length constant, creating a linear system of equations out of a normally nonlinear system. Reference [8] proposes the SGC (statically geometrically coupled) method as an extension to the force density, considering geometrical specifications. The updated reference strategy (URS), developed by [9, 10], is a generalization of the force density method. It is derived from continuum mechanics of elastic bodies and closely follows the FEM approach, allowing its application to any structure. The URS is not restricted to one-dimensional structures compared to the force density method. Based on the URS, form-finding for hybrid structures is discussed in [11], and a description of the whole engineering design cycle is given in [12]. Further approaches are available, such as analyses based on graphic statics [1315] and constrained form-finding using automated differentiation [16].

In contrast to the discussed form-finding strategies, [17, 18] developed the variation of reference strategy (VaReS), inspired by [19]. It is further discussed in [20] and later applied to the concept of isogeometric B-Rep analysis (IBRA) in [21]. VaReS is typically employed to analyze suitable cutting patterns for prestressed membrane structures. It is based on a change of the system unknowns, called the “concept of inverse mechanics” by [17], originating from [22, 23]. A similar strategy is followed by [24] to analyze sheet metal forming. Here, the reference (undeformed configuration) represents the unknown variables instead of the structural displacements. While standard structural analyses typically result in the deformed spatial configuration with a known material configuration, the inverse analysis uses an initially given spatial (deformed) configuration to solve for a suitable unknown material (reference, undeformed) configuration. Figure 1 graphically explains this concept. The idea of “inverse engineering” was already discussed in [2527] and successfully applied to cutting pattern generations for isotropic materials in the linear and moderately nonlinear regime.

While a very short introduction to a two-dimensional truss element can be found in [17], this work takes up the “concept of inverse mechanics” to find unknown reference geometries for three-dimensional truss structures. With the help of the presented approach, the engineer can determine the necessary reference construction so that the desired final aim geometry is obtained for a given load state. To allow a wide range of application cases, the base equations are geometrically and materially nonlinear. Arbitrary nonlinear hyperelastic material laws can be used within this workflow, of which the St. Venant-Kirchhoff law, the Neo-Hookean law, and the Ogden law are introduced herein. Consequently, we add the effects of self-weight inclusion on the solution procedure and present various test cases to prove the effectiveness and simulation capabilities of the proposed approach. Particular focus is put on the extensively detailed presentation of all necessary derivatives and every step towards the final solution. Additionally, all system matrices, examples, and a simulation framework are made publicly accessible via a GitHub repository [28] as Python code.

The work is thematically structured as follows:(i)Section 2 introduces the general truss formulation, including material law and other assumptions. This section is necessary to later follow up with the detailed investigation of all its derivatives.Subsection 2.1 formulates the nonlinear truss formulation, presenting the internal element forces, based on nonlinear stress and strain measuresSubsection 2.2 discusses simplifications for linear strain and deformation regimes(ii)Section 3 subsequently formulates the global problem and the resulting system of equationsSubsection 3.1 discusses the standard global force equilibrium in the reference configuration.Subsection 3.2 afterwards derives the inverse problem, reformulating the force equilibrium from the previous subsection.(ii)Section 3 subsequently formulates the global problem and the resulting system of equationsSubsection 3.1 discusses the standard global force equilibrium in the reference configuration.Subsection 3.2 afterwards derives the inverse problem, reformulating the force equilibrium from the previous subsection.Subsection 3.1 discusses the standard global force equilibrium in the reference configuration.Subsection 3.2 afterwards derives the inverse problem, reformulating the force equilibrium from the previous subsection.(iii)Section 4 follows up with a variety of different test cases. Two- and three-dimensional truss structures are discussed. Investigations of convergence rates are included for selected examples.(iv)Section 5 concludes this work.

2. Truss Formulation

The truss element in this work is described by two nodes connected by a linear, straight line, as depicted in Figure 2. It carries only normal forces and keeps a constant cross section by neglecting the Poisson’s effect.

Each node has three translational degrees of freedom (dofs), which are assembled for every element in the displacement vector , respectively,

Additionally, we introduce the discrete reference nodal coordinates per element , as well as the discrete actual nodal coordinates per element ,

Using the reference coordinate differences , , , the reference length can be calculated as

The same operation holds for the calculation of the deformed element length

2.1. Large Deformations—Nonlinear Truss Formulation

Following the well-known FEM approach, the total virtual work is expressed by the virtual internal work and the virtual external work

This will result in a stiffness matrix and a force vector to solve the static problem. We will discuss the derivation of the global three-dimensional stiffness matrix in the following, leading to the global problem formulation. The virtual internal work is formulated by integrating over the reference volume as the product of the reference area and the reference length

To allow for the analysis of arbitrarily large deformations and correctly considering rigid body rotations, nonlinear strain and stress measurements are applied. While represents the 1D 2 Piola-Kirchhoff stress, the work-conjugated 1D Green-Lagrange strain is described by as follows:

Based on the chosen material law and its associated Helmholtz free-energy function , the 2 Piola-Kirchhoff stress and the respective material tangent modulus can be evaluated as follows: and are exemplarily given for three different hyperelastic material laws in the following. They can be plugged into the derivations of this work to analyze and simulate different deformation behaviors.(1)St. Venant-Kirchhoff (2)Neo-Hookean (3)Ogden are specific Ogden parameters and need to be chosen appropriately.

Specifically, the Ogden law is of major importance as it can be easily transformed into other constitutive laws, such as the St. Venant-Kirchhoff law and the Neo-Hookean law [29, 30]. Special attention needs to be paid when dealing with large compressive strains. As discussed in [29], the St. Venant-Kirchhoff law is not appropriate for this case anymore, and other material laws are recommended.

Finally, the internal element forces are derived from (7) [29] as follows:

2.2. Small Deformations—Linear Truss Formulation

In many engineering applications, only small deformations and strains occur. For these application cases, a simplified element formulation can be applied, facilitating both the derivation as well as the implementation. The small deformations and strains allow the use of the linear elastic Hooke’s law to express the axial stress by the Young’s Modulus and the linear axial strain

Here, is the axial displacement field, and is the coordinate running along the local element axis in its reference configuration. The strains and deformations are thus restricted to be small.

2.2.1. Stiffness Matrix in 1D

We start the derivation in 1D which is here expressed for a one-dimensional truss element as shown in Figure 3. The two nodal dofs are sufficient to describe the local element displacement field.

The virtual internal work is again expressed by integrating over the reference volume as follows:

This is used in conjunction with linear shape functions to derive the local one-dimensional element stiffness matrix,

2.2.2. Rotation to 3D

To analyze a global three-dimensional problem, a third dof is introduced. As depicted in Figure 2, three dofs at each node describe the total elemental deformation capacities and are given in equation (1). The introduction of the three-dimensional dofs allows the expression of the one-dimensional local element stiffness matrix from equation (13) to the three-dimensional spaceas well as the transformation/rotation matrix as follows:

The direction vector is used to express the orientation of the truss in the three-dimensional space, see Figure 2. Combining the previously derived element matrices, can be expressed with respect to the global, three-dimensional dofs to obtain the global element stiffness matrix 23.

Finally, the internal forces for the linear truss formulation are formulated as follows:

3. Global Problem Formulation

3.1. Standard Static Force Equilibrium

First, the standard static force equilibrium in the reference configuration is expressed to proceed with the solution process of finding the unknown reference configuration. Then, following the FEM workflow, the global element stiffness matrices of all structural elements are assembled by their dof numbering. The dof-based assembly [31] is from here on described by the symbol, using a node or an element loop.

All stiffness matrices are assembled in the global system stiffness matrix , the internal element forces are assembled in the global internal force vector , and the external nodal forces are assembled in the global load vector . While is, in general, assumed to be constant, later in Section 3.2.3, the influence of additional self-weight is discussed. Other entities, such as the nodal discrete displacements and coordinates, are as well assembled.

Finally, we can express the global force equilibrium of the whole system in equation (19). With the reference configurationdescribing the system unknowns the expression turns out to be nonlinear, allowing us to express a force residualequation.

Note: For in a standard static analysisand thus the nodal displacements, would be the unknown vector. The standard problem assumes a given (known) reference configuration and solves the force equilibrium in (19) for the unknown displacements.

3.2. Inverse Problem

For the problem at hand, however, the unknown is the reference configuration , making it necessary to solve a system of nonlinear equations. Figure 4 demonstrates the inverse problem, depicting the known deformed configuration and the unknown reference configuration .

We propose to use a Newton–Raphson solution scheme, expressing (19) in the form of a truncated Taylor’s series, with being the current iteration number

The necessary derivative of the residual vector is introduced to be the system matrixwhich is as well assembled by individual element contributions

The following two Sections 3.2.1 and 3.2.2 discuss the necessary steps to formulate assembled in equation (22).

3.2.1. Large Deformations—Nonlinear Truss Formulation

With respect to the global force equilibrium in (19), the element residual contribution is formulated aswhich is derived in equation (10).

The element solution matrix is consequently derived by differentiating the element residual with respect to the unknown reference configuration .

(24) can be split into three parts and will be accordingly formulated for clarity in the following.

Part I

Part II

Part III

The preceding derivations allow the expression of the element solution matrix for arbitrary hyperelastic material laws. Depending on the chosen material law, the 2 Piola-Kirchhoff stress and the appropriate material tangent modulus need to be calculated. For a selected choice of suitable material models, Section 2.1 provides the necessary terms.

3.2.2. Small Deformations—Linear Truss Formulation

Following the internal force expression for small deformations in (17), the elemental residual is expressed as

Combining equations (1-3), the nodal dofs are expressed via the difference between the reference and the actual configuration in equation (31). This step is especially important as the reference configuration is unknown in this work, see Figure 4.

The Solution Matrix : From (19), it can be seen that the derivative of the residual with respect to the unknown configuration results in a nonlinear problem. Following (22), the elemental solution matrix is in the following derived on element level. Applying the chain rule to the internal element residual in equation (30).

The new tensors are introduced for simplification and are described in the following. This notation allows a straightforward description of the remaining operations. will result in a 36 × 6 matrix, with the elemental nodal displacement vector moving from the very left top to the right bottom

At the same time, can be expressed with the help of the single respective derivative of the global element stiffness matrix, with respect to each unknown reference position in space, resulting in a 6 × 36 matrix

The individual derivative expressions in (34) are calculated by the chain rule applied to (16) including the derivatives of the transformation matrix and the local element stiffness matrix.

Derivatives of : The respective derivatives in (34) are discussed in the following, rearranging the global element stiffness matrix from (16) by merging the length terms

The matrices are obtained by multiplying the original matrices by the length , so that the length is separated as shown in (35), rendering a constant matrix .

Now, the derivative of with respect to an arbitrary reference coordinate can finally be expressed as follows:

First, the derivative of the length with respect to the reference coordinates can be written in the following form and will later be used again, when including self-weight

Additionally, the derivative of the transformation matrix , which has the length excluded, results in the following simple matrices:

3.2.3. Including Self-Weight

Additional terms need to be considered when including self-weight. As the self-weight depends on the reference element length, the unknown reference configuration influences the load case and adds new nonlinear terms to .

With the help of the mass density and a global gravity-direction vector , the additional nodal forces per element are expressed as follows:

Withbeing the spatial components of the normalized gravity direction vector and the gravitational acceleration. Additionally, to the previously derived element residual , the self-weight forces need to be includedadding a new term to the element solution matrix . The following equation describes the complete matrix, including all necessary derivatives

With the help of the length derivatives in equation (35), the new term is calculated as follows:

The additional terms to in (41) hold for both the linear and the nonlinear truss element.

3.2.4. Code Implementation

In order to generate lasting added value, all derivatives are made publicly available. They can be downloaded as Python code via a GitHub repository [28]. Jupyter Notebook files are included for a direct assessment of all derivatives, functions, and the proceeding examples.

4. Examples

Several examples are presented in the following chapter. We will employ the derived system matrices in two and three dimensions. While smaller examples serve as an introduction, more complex systems are analyzed to demonstrate the simulation capabilities. For selected examples, a discussion of the solution convergence is added. While we present the nodal solutions for small examples, the solutions for large examples are only visualized. Additionally, all chosen stiffness and force values are purely academic. Forces are given in Newton , distances and lengths in meter , areas in , and densities in . In the respective two-dimensional examples, the third direction, here the global z-axis, is fixed on all system nodes to prevent any movement in said direction.

This section includes the following examples:(i)Section 4.1 demonstrates a simple 2D 3-bar system. The nonlinear solution is compared to the linear formulation, and convergence rates are included.(ii)Section 4.2 discusses a 2D framework bridge. The nonlinear solution is compared to the linear formulation.(iii)Section 4.3 analyses a 3D 3-bar system. The nonlinear solution is compared to the linear formulation.(iv)Section 4.4 demonstrates a 3D frame. The nonlinear solution is compared to the linear formulation.(v)Section 4.5 discusses a 3D framework bridge.(vi)Section 4.6 shows a 3D 3-bar system, including self-weight. The nonlinear solution is compared to the linear formulation, and convergence rates are included.(vii)Section 4.7 discusses the influence of different material laws on a 3D system.(viii)Section 4.8 demonstrates a large structural setup with an increased number of degrees of freedom.

To verify the found reference configurations, a standard FEM analysis is performed on the found reference configuration. The results coincide with the desired final configuration and are visualized in most of the example discussions in this work. These standard FEM analyses have been performed with the code available in the GitHub repository [28] and verified with the open-source multiphysics software KRATOS [3234].

All examples are accessible via a GitHub repository [28]. The interested reader is invited to download the offered files, re-run the examples herein, and analyze new structures. A tutorial is included, describing the proper usage.

4.1. 2D 3-Bar System

The first two-dimensional system describes a 3-bar structure as visualized in Figure 5. The Young’s modulus is chosen to be, and the cross section is, while the force vector on the free middle note is . The St. Venant-Kirchhoff material law is used for the nonlinear truss formulation, and the standard, small deformation Hooke’s law is for the linear truss formulation.

In Figure 5, the gray line presents the known deformed configuration, while the solid black and blue lines are the results of the inverse analyses herein. The different resulting reference configurations for the linear and the nonlinear truss formulation can be observed. While the linear truss formulation calculates the force equilibrium in the reference configuration and is restricted to small deformations, the nonlinear truss formulation formulates its force equilibrium in the deformed configuration and can represent large deformations. Additionally, the dotted yellow line describes the result of a standard FEM analysis on the found, previously unknown reference configurations. It can be observed that the solution of the standard FEM analysis coincides with the given desired aim configuration of the inverse analysis.

The found reference configuration of the middle free node is given in the following Table 1.

Additionally, Figure 6 presents the convergence of the problem residual with respect to the Newton-Raphson iterations . The L − 2 norm is chosen to depict a convergence rate that is at least quadratic.

4.2. 2D Framework Bridge

A truss framework bridge is modeled using multiple structural elements in two dimensions. The structure in Figure 7 has a Young’s modulus , a cross section, and two vertical forces in y-direction of magnitude . The forces are intentionally chosen to be arbitrary and nonsymmetric to test the simulation capabilities. The St. Venant-Kirchhoff material law is used for the nonlinear truss formulation, and the standard, small deformation Hooke’s law is for the linear truss formulation. Figure 7 nicely shows the solution for the unknown reference configuration and the result of a proceeding standard FEM analysis. The found reference shapes deform nicely into the desired aim configuration. The difference between the linear and nonlinear truss formulation again can be observed. Figure 8 presents the course of the residual over iterations steps . The gradient for demonstrates the correct implementation.

4.3. 3D 3-Bar System

To begin with 3D systems, a 3-bar structure is investigated. The structure has a Young’s modulus , a cross section, and a force vector of is applied to the free node. The St. Venant-Kirchhoff material law is used for the nonlinear truss formulation, and the standard, small deformation Hooke’s law is for the linear truss formulation. Solutions for the unknown reference configuration are visualized in Figure 9 and given in Tables 2 and 3.

The found reference configuration of the middle free node is given in the following.

Again, Figure 10 presents the convergence for both the linear and the nonlinear truss elements.

4.4. 3D Frame

Figure 11 depicts the next three-dimensional setup. The frame is supposed to deflect to a regular rectangular shape, as demonstrated by the gray dotted lines. The system uses a Young’s modulus and a cross section, and the nodal force vector is . The St. Venant-Kirchhoff material law is used for the nonlinear truss formulation, and the standard, small deformation Hooke’s law is for the linear truss formulation.

The respective convergence rates are given in Figure 12.

4.5. 3D Framework Bridge

Subsequently, we present the example of a 3D framework bridge structure, as shown in Figure 13. While a single force loads the structure nonsymmetric with , the system’s Young’s modulus is , and the elements are assigned a cross section. The St. Venant-Kirchhoff material law is used for the nonlinear truss formulation, and the standard, small deformation Hooke’s law is for the linear truss formulation. As the three dimensionality makes a proper visualization difficult, the found reference configuration is compared to the desired aim configuration in multiple spatial projections. Figure 13 depicts a three-dimensional side view.

Figures 14 and 15 show a projection in the plane for different levels of z. The vertical point load of −800 N in y-direction is visualized in Figure 15.

In the following Figures 16 and 17, the projection on the plane is shown for different levels.

The convergence rate for the 3D bridge system is visualized in Figure 18. While the linear truss formulation needs several iterations to reach , it thereafter shows proper convergence.

4.6. Self-Weight

In the following, the inclusion of the self-weight is discussed with respect to the problem solving procedure. The same 3-bar system as in Section 4.3 is used with, , , and . The St. Venant-Kirchhoff material law is used for the nonlinear truss formulation, and the standard, small deformation Hooke’s law is for the linear truss formulation. The theoretical background and the respective symbols are discussed in Section 3.2.3. Figure 19 visualizes the problem setup and the found, initially unknown reference configuration in the following.

After solving for the unknown reference configuration, the following discrete nodal position is found. Table 4 presents the result for the linear truss formulation, while Table 5 relates to the nonlinear formulation.

While the inclusion of the self-weight leads to additional forces, it influences the setup of the solution matrix , too. The necessary changes to are discussed in Section 3.2.3, especially in equation (39). While, in some cases, it is also possible to find a solution for the self-weight problem employing the original matrix from equations (27) or (32), a lower convergence rate is expected. This behavior is visualized in Figure 20, where the same problem is solved twice. Ones, using the original matrix from equation (30) for linear trusses and equation (29) for nonlinear trusses (here named “incomplete,” due to its lack of necessary terms) and again with the complete matrix from equation (41). The latter equation includes all derivatives of the new residual vector, containing the self-weight loads dependent on the unknown reference configuration. The large differences in convergence rates can be seen in Figure 20, proving the correct derivation and implementation of the necessary additional derivative terms.

4.7. Different Hyperelastic Material Laws

To discuss the influence of the three different hyperelastic material laws introduced in Section 2.1, a 2D truss system is investigated, as depicted in Figure 21. The Young’s modulus is always , and the cross section is. While the St. Venant-Kirchhoff law and the Neo-Hookean law do not need further material parameters, is assigned to the Ogden law. Only the nonlinear truss formulation can be applied in conjunction with the nonlinear hyperelastic material laws. Figure 21 shows the different reference configurations for each of the material law. All three cases yield the desired aim configuration when simulated with a standard FEM analysis.

Figure 22 visualizes the convergence rate for each of the simulations. At least quadratic convergence is observed for all three cases.

The solution for the unknown reference configuration yields the following y-coordinate for the middle node, given in Table 6.

4.8. TUM Logo—Large Number of Degrees of Freedom

Finally, to conclude, we present an example with a larger number of dofs. The logo of the Technical University of Munich (TUM) is taken as an inspiration for the following example. As depicted in Figure 23, the whole structure is discretized with nonlinear truss elements, using the St. Venant-Kirchhoff material law. The Young’s modulus is chosen to be , and the cross section of each truss is. Supports are introduced on the left lower side as shown in Figure 23, and the right lower side is loaded with a y-load of on 11 nodes. As all displacements in the global z-direction are fixed, the total number of 3241 nodes yields dofs.

Figure 24 finally visualizes the found reference configuration and the desired aim configuration, which coincides with the deformed reference structure, obtained by a standard FEM analysis on the found reference configuration.

5. Conclusion

In contrast to standard static analyses of structures, searching for a suitable reference geometry is not as straightforward. A reformulation of the structural force equilibrium equation is necessary. We are changing the unknowns from the structural displacements to the unknown reference configuration. This change of unknowns yields a different solution matrix, compared to the stiffness matrix of standard static analyses. Including load cases, which depend on the reference configuration (such as self-weight), adds additional nonlinear terms to the problem statement. This work presents the described problem reformulation in terms of unknowns for geometrically nonlinear truss elements combined with nonlinear hyperelastic material laws. Additionally, simplifications to linear truss formulations are given, offering a wide range of detailed derivations. To solve the newly obtained nonlinear system of equations, we propose the gradient-based Newton-Raphson solution scheme. Consequently, the preceding sections discuss and present arising system derivatives in great detail. Every part of each necessary solution matrix is derived and consequently given. Additionally, we published everything in a freely accessible GitHub repository [28]. While all system matrices are available, each presented example is added to the repository and thus freely available.

The derivation and implementation are checked by various two- and three-dimensional test cases, ranging from small systems to larger, more complex structures. The solution scheme herein, including all system matrices, can now be used to analyze workshop geometries for truss structures.

Abbreviations

FEM:Finite element method
Dof:Degree of freedom
VaReS:Variation of reference strategy
IBRA:Isogeometric B-Rep analysis
URS:Updated reference strategy
SGC:Statically geometrically coupled. Bold letters indicate vectors and tensors.

Data Availability

All matrices and presented examples are available in a GitHub repository: https://github.com/KlausBSautter/Find_Reference_Truss_3D.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Authors’ Contributions

All authors prepared the manuscript. All authors read and approved the final manuscript.