scieee AI-readable full text Open interactive document viewer

Scalable BIM based open workflow for structural analysis of masonry building aggregates

Leonardi, Maria Laura; Granja, José Luís Duarte; Oliveira, Daniel V.; Azenha, Miguel

Abstract

Masonry building aggregates are complex historical structures comprising interconnected buildings. The safety of each building depends not only on its structural integrity but also on the interactions with neighbouring structures and their collective performance. The structural assessment of such complex constructions can benefit from BIM methodology. The latter eases modelling complicated solid geometries and assigning mechanical properties information essential for developing a reliable finite element model. Thus far, BIM to finite element analysis procedures applied to historic constructions have remained laborious, semi-automatic, and based on proprietary software. This paper introduces an open-source automated solid finite element analysis method using OpenBIM data (IFC). The tool implemented automatically creates tetrahedron mesh and assigns mechanical properties, self-weights, and fixities at the structure's base. The methodology is applied to an actual masonry building aggregate to validate its capability of working with complex geometries and scalability.

Full text

Computers and Structures 297 (2024) 107321 Available online 27 February 2024 0045-7949/© 2024 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/). Scalable BIM based open workflow for structural analysis of masonry building aggregates Maria Laura Leonardi * , Jos´ e Granja , Daniel V. Oliveira , Miguel Azenha University of Minho, ISISE, ARISE, Department of Civil Engineering, Guimar˜ aes, Portugal ARTICLE INFO Keywords: Built heritage HBIM Finite Element Method (FEM) Historic centres Seismic analysis OpenSees Interoperability OpenBIM ABSTRACT Masonry building aggregates are complex historical structures comprising interconnected buildings. The safety of each building depends not only on its structural integrity but also on the interactions with neighbouring structures and their collective performance. The structural assessment of such complex constructions can benefit from BIM methodology. The latter eases modelling complicated solid geometries and assigning mechanical properties information essential for developing a reliable finite element model. Thus far, BIM to finite element analysis procedures applied to historic constructions have remained laborious, semi-automatic, and based on proprietary software. This paper introduces an open-source automated solid finite element analysis method using OpenBIM data (IFC). The tool implemented automatically creates tetrahedron mesh and assigns mechanical properties, self-weights, and fixities at the structure’s base. The methodology is applied to an actual masonry building aggregate to validate its capability of working with complex geometries and scalability. 1. Introduction Masonry aggregates are unique historical unreinforced masonry structures that consist of assemblies of buildings, mainly residential, whose structural behavior is unitary. The presence of these constructions creates a recurring pattern within the landscape and significantly influences the morphology of historic centres [1,2]. Although their cultural value is currently universally recognized, their state of preservation is often poor and somehow unsuitable for a contemporary lifestyle [3,4]. A significant concern is the high vulnerability of masonry aggregates to natural hazards, particularly earthquakes [5]. After analysing postseismic scenarios, the scientific community has delineated two distinct seismic mechanisms exhibited by unreinforced masonry buildings and by extension, masonry building aggregates: out-of-plane and in-plane. In out-of-plane mechanisms, portions of masonry walls (or entire walls) rotate perpendicularly to their plane, leading to the collapse of significant parts of the building. Conversely, in in-plane mechanisms, cracks are formed in the plane of walls. Out-of-plane mechanisms occur even during mild earthquakes, mainly when the structure exhibits deficient connections between adjacent walls or between walls and floors. On the contrary, in-plane mechanisms occur during stronger earthquakes and depend mainly on the masonry’s shear resistance [1]. The current guidelines offer simplified methods to assess the seismic behaviour of masonry building aggregates, with a primary emphasis on out-of-plane ‘local’ failure, while neglecting their overall performance [6,7]. In addition to the mechanisms typical of masonry buildings in general, aggregates introduce specific mechanisms, such as beatings of the floor of a building to the adjacent one. Based on these considerations, the existing guidelines facilitate the identification of vulnerable areas within the aggregate, enabling timely consolidation interventions in critical locations. The most challenging aspect to achieve at present is the determination of the “aggregate effect,” which represents the variation in local responses arising from the composite nature of the construction. However, the proper assessment of this effect necessitates the utilization of global models [8]. The use of global models is considered as the most detailed level of analysis applicable for this type of construction, as defined in the guidelines, where it is stated that local analyses applied to small portions of the aggregate, without adequate modelling or with an approximate modelling of the interaction with adjacent building bodies, generally assume a conventional meaning and in some cases are even impracticable due to the uncertainty in the estimation of the variables to be adopted [7]. Structural engineering includes two ways of performing seismic analysis using global models: static and dynamic. Dynamic analyses * Corresponding author. E-mail address: [email protected] (M.L. Leonardi). Contents lists available at ScienceDirect Computers and Structures journal homepage: www.elsevier.com/locate/compstruc https://doi.org/10.1016/j.compstruc.2024.107321 Received 6 September 2023; Accepted 13 February 2024 Computers and Structures 297 (2024) 107321 2 enable a more representative simulation of the seismic behaviour of buildings, as they simulate the structure’s dynamic response when a dynamic load is applied. Another option is to perform static analyses by applying horizontal loads simulating an earthquake and verifying the building’s global capacity to withstand the horizontal load. The first procedure evaluates the building’s dynamic response to a specific seismic load. In contrast, the second method estimates the overall structural capacity under horizontal loads [9,10]. As per the Italian Building Code [11], which serves as a primary international reference for evaluating the structural behavior of unreinforced masonry structures, the utilization of global models is permissible only when there exists a satisfactory level of understanding regarding the assessed structure. This is because the reliability of global models strictly depends on the reliability of the input data [11]. For this reason, the structural model is the final step in a complex process involving experts from different fields. To identify the most appropriate modelling assumptions, historical analysis, in-situ surveys, inspections, and building monitoring must be carried out [12]. This process currently requires considerable time and economic resources. If this is already a major problem for individual buildings, it is even more so for complex structures such as masonry aggregates. For this reason, an optimal system for data and process management is required. Aside from the need for deep knowledge of the building, when it comes to historical constructions, global analysis presents significant computational costs, mainly due to the material and geometrical nonlinearity of traditional masonry structures. Furthermore, a thorough knowledge of the building is necessary to obtain reliable results. In order to decrease the computational costs, simplified models have been defined, such as the equivalent frame method [13]. However, the use of solid finite element models is recognised as more representative of masonry’s structural behaviour. Indeed, in the case of the equivalent frame, the structure is studied by considering pre-defined in-plane failure modes, neglecting possible out-of-plane collapses of the masonry. On the other hand, finite element analysis relies on the principles of continuum mechanics and mathematical modelling to simulate and understand the behaviour of structures under various conditions, and, even if not explicitly, it catches both in-plane and out-of-plane failure modes. Finally, masonry is a heterogeneous material consisting of units (bricks or stones) bound by joints (dry or with mortar) [14,15]. This feature can be included in the structural model in two different ways. Either the units and joints are modelled explicitly (micro modelling), or homogenised mechanical parameters represent the unit-joints ensemble (macro modelling). Various studies have made it possible to obtain these parameters, and the mechanical characteristics of various types of masonry are present in the Italian standards [11,16,17]. In the literature, both static and dynamic analyses have been found applied to masonry aggregates. Most of the contributions are done using the equivalent frame method, and just a few employ the finite element analysis. Examples of equivalent frame modelling are found in [19–21] and are intended to calibrate large-scale methods such as the ’vulnerability index’. The vulnerability index is still one of the most widely used methods for a fast large scale seismic assessment of masonry aggregates. Although it does not numerically evaluate the aggregate’s behaviour to seismic excitations, it aids in identifying the most vulnerable units within a whole aggregate. References to this method are available in [22] and [23], as well as in [24], where potential integration into BIM/GIS methodologies is discussed. In other contributions, equivalent frame models have been calibrated for analysing a single aggregate unit, creating boundary conditions that can represent the presence of adjacent units [25,26]. However, these applications consider only simple one-line aggregates and neglect material nonlinearity. Finally, in [27], the equivalent frame is compared with solid finite element models. In this scenario, it is affirmed that finite element analyses prove more suitable since they can effectively account for both in-plane and out-of-plane mechanisms, rendering them more reliable. Moreover, the equivalent frame involves breaking down masonry into regular panels, aligning with the simulated failure modes. This task can become complex (or even impossible) in masonry aggregates due to geometric irregularities. Finally, another application of finite elements to masonry aggregates is found in [28], where an entire aggregate was modelled, even if only walls were modelled (neglecting the presence of the floors) due to modeling complexity and computational costs. In the Architecture, Engineering and Construction (AEC) industry, the information management processes changed dramatically with the advent of Building Information Modeling (BIM). This methodology has been already applied to historical construction, referred to by the acronym of HBIM, which stands for Historic BIM [29]. Several HBIM uses have been proposed in the literature, validating the convenience of applying this method to historical construction [30,31]. Applications of interest to this field include damage mapping [32,33], health monitoring [34], and structural simulations [35–37]. In addition, the possibility of integrating energy analysis and different disciplines has been already stated [38,39], as well as the possibility of establishing a connection between the HBIM model and additional information stored as different datatypes [40]. Integrating various aspects of rehabilitation, including energy efficiency and structural restoration, is crucial in historical constructions, given that masonry walls serve dual purposes as both structural elements and envelope components. Moreover, ongoing studies are dedicated to enhancing the modelling process itself through the integration of advanced surveying systems, notably laser scanning [41,42]. Advanced acquisition systems offer the advantage of capturing complex geometry that can exert a significant influence on the structural response of historical buildings. As a result, workflows have been proposed to suitably derive the structural model from point cloud data [43–46]. Conversely, other contributions use the capabilities of BIM to associate the modelled geometries with parameters, including those of mechanical properties. These frameworks propose using the point cloud to model the building in BIM and then transition to finite element models [35,47,37], or to use the initial point cloud to create two distinct models: a BIM model and a more simplified structural model, without direct interoperability between BIM and structural model [48,36]. The primary challenge associated with the above-mentioned frameworks is their labour-intensive nature, as they are not fully automated processes, due to the absence of plug-ins to allow conversion from solid BIM representation to solid finite element meshing. These processes lack scalability and moreover rely on specific proprietary software. Consequently, those seeking to employ a particular methodology are required to obtain licenses, which can incur additional costs. In contrast, vendor-neutral processes allow the benefits of BIM processes to be extended by making them more accessible. The current terminology for this approach is openBIM [49], which relies on the Industry Foundation Classes (IFC) [50] format as the basis for exchanging data in the openBIM framework. IFC is an open and neutral data format standard designed for the exchange and sharing of information within the building and infrastructure industries [51]. Extending the openBIM approach to historical constructions presents a relevant challenge since IFC has not been structured adequately to describe such building typology. The suggestion to incorporate additional classes into the IFC schema has been made to improve its compatibility with the structural analysis of historical buildings [52,53]. Unfortunately, these classes are not currently acknowledged by either BIM or structural analysis software, rendering them unusable for this purpose. This paper proposes an original openHBIM method for the global analysis of masonry aggregates, with the scope of facilitate the use of solid finite element modeling (with macro modeling of the material). In line with what has been said up to now, it is assumed that the integration of the HBIM methodology in the structural analysis of masonry aggregates can lead to better data management, integration with all phases of the structural analysis itself and with any other disciplines involved in M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 3 the rehabilitation project. The proposed approach involves employing a code developed by the authors to export the IFC model to the ’OpenSees’ finite element calculation framework [54]. The code generates a mesh of tetrahedron elements and directly retrieves the mechanical properties from the parameters contained in the HBIM model. This methodology enables users to create their calculation models in any BIM software, export them to IFC, and conduct static and dynamic analyses. The model information is inputted into the BIM environment, adhering to the ’Level Of Information Need’ specified by the authors [55]. Moreover, the OpenSees calculation framework is an open framework, ensuring the methodology’s complete independence from proprietary software. The finite element model underwent testing through gravity and eigenvalue analysis, using an aggregate with complex geometries as a case study. The model holds the potential for both static and dynamic nonlinear analyses, due to the model content and mesh refinement. However, nonlinear analysis would add extra complexity that would deviate from the main purpose of this paper, which is to present the developed algorithm in detail. Nevertheless, performing nonlinear analysis is definitely a next step of research for harvesting the true potential of this tool. The article is organized as follows. Section 2 provides a comprehensive overview of the proposed methodology. Section 3 demonstrates the application of the methodology through a case study. Section 4 showcases the results obtained from the application. Section 5 presents the conclusions drawn from the study. 2. Scope and methodology 2.1. Masonry aggregates Masonry aggregates are the traditional housing constructions in many European centres. These were raised using masonry made of local stone/brick for the vertical elements and timber slabs and roofs. These structures exhibit diverse plan and elevation configurations, influenced by factors like historical changes, site morphology, and construction periods. These configurations can range from irregular layouts that follow the terrain’s morphology to more regular grid patterns. Various historical stages, such as the Middle Ages, Renaissance, Baroque, and 19th century, have contributed to the evolution of these aggregates. For example, Renaissance and Baroque periods saw the growth of aggregates with more regular plans, while the 19th century brought disruptive changes due to the creation of large roads [56–58]. Additionally, the introduction of new construction techniques like reinforced concrete led to the replacement of original roofs, introducing new vulnerabilities [1]. In contrast to monumental constructions, traditional residential buildings were not always built with the same level of attention to detail. This resulted in poor-quality wall cross-sections, especially in certain locations. Moreover, the successive construction phases introduced complexities in the configuration, including uneven floors, misaligned openings, and inadequate connections between cross walls. Structurally, these building compounds are particularly vulnerable to out-of-plane failure mechanisms, as the connections between orthogonal walls and between horizontal and vertical elements are not always adequate [59]. 2.2. Proposed approach The purpose of this contribution is to provide a systematic method for the comprehensive analysis of masonry aggregates. The integration with the HBIM methodology is included to increase the feasibility of a quick and cost-effective creation of complex models. Based on the construction characteristics of masonry aggregates, it is decided to employ solid FEM, bringing the potential of capturing other failure modes, aside from the prescribed ones. The accessibility of the methodology is guaranteed by proposing a methodology that does not rely on proprietary software. Aligned with an openBIM approach, it was decided to choose to use the IFC schema as our input model. In Section 3, the case study is modeled using Revit software (version 23.0.11.19) and then exported to IFC using the software’s built-in IFC interpreter [60]. Any BIM modelling software can generate an IFC model based on the requirements outlined in this article (Section 2.3). Interoperability between IFC and FEM was accomplished by Fig. 1. General workflow for the methodology. The workflow number refers to the detailed description of the algorithm in section 2.5. M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 4 developing a Python code, which was made available online for users and developers [61]. The proposed process starts from the BIM model and enables static and dynamic analysis in OpenSees. Due to the complexity of the geometry usually characterizing masonry aggregates, it is decided to use tetrahedra elements. The mechanical characteristics of the materials are associated with the elements directly in the BIM model and are read along with the geometry by the computational solver. Since OpenSees does not have an official open graphical interface, the results are displayed using the open FEM meshing software Gmsh [62–64]. Fig. 1 illustrates the overall workflow of the proposed methodology. By utilizing the Python code developed with its requisite dependencies, a seamless transition from an IFC model to the outcomes of the structural analysis can be achieved automatically. The ’IfcOpenShell’ and ’OpenCascade’ libraries enable access to the geometries and mechanical properties of the IFC model, respectively. The geometries undergo meshing using the Gmsh Python API, while the resulting mesh and mechanical properties are integrated into OpenSees for conducting the analyses. Finally, the analysis results are presented in the Gmsh GUI for visualization. 2.3. Modelling requirements The modeling requirements were established in accordance with the ’Level Of Information Need’ schema outlined in EN17412-1. According to this standard, for each design stage, it is essential to define geometric requirements, alphanumerical information (non-graphical data associated with the geometry), and documentation, if applicable. Refer to [55] for a detailed description of this schema. In the definition of the modelling requirements, BIM is leveraged as a collaborative platform for integrating diverse disciplines, enabling the creation of a federate multidisciplinary model from which generating Fig. 2. Federate multidisciplinary model compared to the discipline structural analysis model. Fig. 3. Common typologies of construction elements in masonry aggregates. M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 5 multiple exports into IFC format tailored to specific disciplines. As can be seen from Fig. 2, the passage from an architectural model to a structural model consists of only exporting the structural elements and neglecting the non-structural ones. In this case, the use of solid FEM modelling allows for the creation of an analytical model that is more straightforward without needing adjustments when switching from solid to oneor two-dimensional elements. This approach will not hinder the use of the complete model for other purposes. The objects of the structural breakdown were defined after a typological study based on the work of Giuffre [65], as follows: (1) structural wall, (2) partition, (3) foundation, (4) floor, (5) roof, and (6) openings (windows and doors). The following “IfcBuildingElement” are required to represent the different objects previously mentioned: “IfcWall” for Structural Walls and Partitions, “IfcFooting” for the foundations, “IfcBeam” for the main beams and secondary beams of roofs and floors, “IfcSlab” for the planking on top of the beams or reinforced concrete slabs, “IfcDoor” and “IfcWindow” for the openings. Each IFC object belongs to a specific “IfcBuildingElementType”. Fig. 3 shows common typologies of structural elements in masonry aggregates. Coherently with the type of modelling chosen (macro modelling), it is not necessary to geometrically model units and mortar. Therefore, walls are to be modelled as continuous prisms, to which different mechanical property values are assigned, corresponding to different wall types. The floors, usually in timber, should be modelled as a set of rafters topped by a timber plank that redistributes the weights (as shown in Fig. 2), and if present, the main beam as shown in Fig. 3 (Type B). Similarly, for wooden roofs, modeling the joists is also critical. For one pitch roof, the direction of the joists can be the same of the slope (Fig. 2) or perpendicular to it (Fig. 3, Roof B1). More complex roofs are characterized by two layers of joists perpendicular to each other (Fig. 3, Roof B2), or by the presence of two pitches and one main beam (Fig. 3, Roof C). When present, it is fundamental to model concrete roofs, since those are often recent additions which often cause local mechanisms in the aggregate. As show in Fig. 3 (Roof D), these can be modelled as simple slabs. Vertical partition elements, while not having a main structural function, contribute to the overall behaviour of the structure. These can be brick walls as in Fig. 2 or timber post/lintel structures (Fig. 3, Table 1 Detail of the elements in the breakdown. Elements Detail Structural Wall Continuous object of thickness equal to the resistant section of the masonry. The basic shape is a parallelepiped, which is modified by the presence of beams entering the wall thickness and stone lintels. Opening It consists of a void representing a hole in the wall and a solid representative of the lintel. Foundations Continuous object slightly thicker than the wall above. Floor Discontinuous object consisting of rectangular-section beams topped by two slabs representing respectively planking and tiling. Roof Discontinuous object consisting of rectangular-section beams topped by two slabs representing respectively planking and roof covering layer. Partition Continuous or discontinuous object (based on the type). Fig. 4. Association of the material properties to the elements in IFC. The material properties define the IfcMaterial, which can be associated with an Element or an ElementType. M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 6 Partitions B). Doors and windows can present different variations, but only the difference between arches and lintels has been considered at this stage. Finally, information about the foundations is difficult to encounter, but foundations can be assumed as a downward continuation of the walls, with a thicker cross-section. Regarding geometric requirements, ’Details’ and ’Dimensionality’ are established for each object, which are the relevant criteria for this application. All objects have 3D dimensionality, while the detail is established in Table 1. This is aligned with the choice of solid modeling and allows interoperability with different BIM uses. Regarding ’alphanumerical information,’ this application requires mechanical characterization of structural materials and connection types between timber and walls. The following paragraphs, and Fig. 4 explain the IFC schema and how these properties are assigned to elements in the model. The IFC schema is structured hierarchically and organized into classes that define various entities. Within this schema, ’IfcBuildingElement’ is a subclass of ’IfcObjectDefinition’ and a superclass to entities such as IfcWall, IfcSlab, IfcRoof, IfcBeam, IfcFooting, IfcWindow, and IfcDoor — classes utilized by the authors to model structural elements. On the other hand, ’IfcMaterial’ is a subclass of ’IfcMaterialDefinition’, and it is employed, in this application, for modelling structural materials. Mechanical properties of materials and pertinent characteristics of structural elements, like wall-timber connections, are represented as ’IfcProperties,’ a subclass of ’IfcPropertyDefinition.’ These properties are organized into groups called ’IfcPropertySets,’ another subclass of ’IfcPropertyDefinition.’ Each ’IfcProperty’ is associated with an ’IfcBuildingElement’ or an ’IfcMaterial’ via the class ’IfcRelDefinesByProperty,’ a subclass of ’IfcRelationship.’ Specifically, mechanical pro perties are ’IfcProperties’ associated with their respective ’IfcMaterial’. The type of wall-to-beam connections, on the other hand, is modelled with a parameter that is associated with the beams. The IFC schema inherently offers various ’IfcPropertySets’ containing ’IfcProperties’ for diverse applications. In this context, two ’IfcPropertySets’—’IfcMaterialCommon’ and ’IfcMaterialMechanical’—co ntain specific mechanical properties. ’IfcMaterialCommon’ includes the property ’MassDensity,’ while ’IfcMaterialMechanical’ encompasses ’YoungModulus,’ ’ShearModulus,’ and ’PoissonRatio.’ In Finite Element Method (FEM) modelling, ’ShearModulus’ and ’PoissonRatio’ are often correlated. The BIM modeller can choose either, depending on available data, such as in situ tests on masonry. When modelling features beyond the basic IFC schema, one can introduce new ’IfcPropertySets’ with customized ’IfcProperties.’ For instance, for the scope of the project, the authors introduced ’Pset_MaterialHistoricMasonry,’ accommodating parameters outlined in the NTC [11] not covered by the IfcPropertySets. Similarly, a new ’IfcPropertySet’ called ’IfcConnection’ was defined for structural information, describing connections between walls and beams. Within this property set, the ’Connection’ property can assume values like ’null,’ ’unstrengthen,’ or ’perfect.’ Based on this property associated with beams, the decision to export the beam is determined respectively, if the connection is ’null’ or ’perfect.’ For intermediate situations (unstrengthen), efforts are underway to automate, in this IFC to FEA framework, the implementation of nonlinear springs associated with this non-perfect connection (see [66] for detailed information). Finally, the association of an ’IfcBuildingElement’ with an ’IfcMaterial’ can occur in two distinct ways: through ’IfcBuildingElementType’ or directly through ’IfcBuildingElement’ itself. The former is applicable when identical walls, for example, are modelled using a wall type (’IfcBuildingElementType’) to which various instances (’IfcBuildingElement’) are linked. In the latter case, a unique wall with a specific material not belonging to any ’IfcBuildingElementType’ is represented. In both scenarios, the ’IfcMaterial’ is associated with either the ’IfcBuildingElement’ or the ’IfcBuildingElementType’ through the relation ’IfcRelAssociatedMaterial,’ a subclass of ’IfcRelationship.’ Moreover, depending on the object type, the material is associated with the object in either ’layers’ or ’profiles.’ For instance, a wall may have several layers with different materials, while a beam may feature one or more resistant sections. In addition to defining modeling requirements, exchange requirements are also established to determine the most suitable Model View Definition. Currently, there are two options available: ’Reference View’ and ’Design Transfer View.’ The former is mainly intended to validate the model’s accuracy, particularly for identifying and resolving geometrical conflicts between the elements (known as clash detection). Conversely, the latter is specifically designed for sharing useful data across different domains (for example: sharing the geometry from the architectural to the structural model). This holds significant importance, as the selection of one Model View Definition over another influences the way geometries are depicted within the IFC format. All structural elements are represented in 3D. In IFC, the ’IfcShapeRepresentation’ class attributes a geometry representation to an ’IfcBuildingElement’, and it is inherited from ’IfcProduct’. The IFC Fig. 5. Types of representation used for masonry aggregate walls available in different MVD. M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 7 standard presents a range of Representation Types, and not all of them are adequate for the scope of this research. For instance, a solid can be represented through tessellation, but this representation only creates the illusion of a solid, as it is just a surface. On the contrary, actual solids representations are the following: (1) SweptSolid. It is created by moving a two-dimensional shape, known as a profile, along a specified path in space. Tapered sweeps are referred to as AdvancedSweptSolid. (2) CSG (Constructive Solid Geometry). A solid is created from a Boolean operation between primitive solids. (3) Clipping. A solid is created by removing portions of an initial solid from a clipping region. (4) BRep. A solid is created as a collection of faces, edges, and vertices, which are used to define the boundaries and topology of the object. (5) Advanced BRep. A BRep supporting NURBS. In the context of masonry aggregates, exporting a model using the ’Reference View’ reveals that the complex geometries lead to the creation of a Tessellation. Conversely, the ’Design Transfer’ approach offers a broader range of options and ensures the export of solid geometry Fig. 6. Algorithm retrieving alphanumerical information. M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 8 (Fig. 5). This observation provides additional justification for designating the Design Transfer View as a necessary exchange requirement. 2.4. Developed algorithm The interoperability framework has been developed leveraging the capabilities of the following libraries: (a) IfcOpenShell (IfcOpenShell [67], (b) PythonOCC [68], (c) Gmsh [64], (d) Gmsh2OpenSees [63], and (e) OpenSeesPy [69]. Fig. 6 to Fig. 10 show the details of the code and can be traced back to the generic workflow in Fig. 1. The first algorithm can be divided into three parts, indicated on the left side of Fig. 6: 1) Input; 2) Material collection; 3) Material data collection. (1) The ‘Input’ consists of a for loop which retrieves all the IfcElements (beams, floors, walls, opening, and slabs) present in the IFC model (Fig. 6a). (2) The ‘Material collection’ consists of retrieving the material linked to the element collected. If the material is associated with the element (instance), it is directly linked through a “Relating material” (Fig. 6 – c). Alternatively, if the material is associated with the element type, the element is linked through a different association: the Relating type (Fig. 6 - b). The developed algorithm can obtain the “Relating material” in both cases. An element or element type can have many ‘Relating material’ to different ‘IfcMaterial’. In particular, based on the construction element, a ‘relating material’ can be either a ‘material layer set’ or a ‘material profile set’ (see also Fig. 4). For example, in the case of a wall, it can be composed of one or many material layers. Conversely, a beam can have one or more material profiles. The developed algorithm investigates whether the material is stored in layers or profiles. Based on this, it retrieves the relevant IfcClasses: IfcMaterialLayer (Fig. 6 – d) or IfcMaterialProfile (Fig. 6 – e). Finaly, collects the corresponding IfcMaterial. (3) The ‘Material data Collection’ retrieves the mechanical properties associated to the materials and stores them into a Python ‘dictionary’. A dictionary in Python is a collection of key-value pairs, allowing efficient retrieval and storage of data. In this dictionary, the first key is the name of the material, which is an attribute of the class ‘IfcMaterial’ (Fig. 6 – f). As shown in Fig. 4, each mechanical property needed for the analysis shall be stored in IFC as a ‘Property’ in a ‘Property Set’. The algorithm uses a for loop to access each property in the correspondent Property Set (Fig. 6 – g) and extract the name and the value of the property, which saves them as ’key’ and ’value’ in the dictionary, respectively. The ‘Output’ of this algorithm consists essentially of this python dictionary. As seen in the example (Fig. 6 – l), for each object (a structural material) there are several properties (MaterialName, YoungModulus, PoissonRation, MassDensity) to which it is associated a value (Masonry4, 400, 0.2, 2100). The second algorithm (Fig. 8) converts the IFC file to a STEP file, allowing interoperability between IFC and the meshing generator. Even though the IFC to STEP conversion process can be automated through the utilization of the Python module ’IfcConvert’ (IfcOpenShell [67], a tailored function was developed to keep track of the materials associated with the shapes, preserving the alphanumeric information from the passage from the IFC to the STEP file. The second algorithm is organized in two parts, as follows: 1) Input, 2) Create Manifold Solid BRep. (1) The input collects all IfcElements and with a ‘for’ loop (Fig. 8 – a) for each individual IfcElement their object type names (Relating type) (Fig. 8 – b) are compared with each material name in the previously generated dictionary (Fig. 8 – c). If the object type name contains a material name, it is assigned as a variable in Python, referred to as ‘label’. (2) In part 2 of the algorithm, the geometry of each IFC element is obtained in B-Rep format, using the ’Open Cascade’ geometry Fig. 7. Conversion of compound of faces into a solid. M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 9 kernel (Fig. 8 – d). To carry out a solid analysis, volumes must be as ‘TopoDS Solid’, converted in STEP as ‘manifold solid B-Rep’. It has been noted that when complex solids are modelled in IFC as IfcAdvancedBRep, this causes them to break into individual faces during STEP conversion. In that case, the shape is represented as a compound of faces (named TopoDS Compound). To guarantee preserving a solid representation of the objects, the developed algorithm checks when this happens, and generates the solid from the envelope of compound faces (Fig. 8 – e). This conversion process consists of three steps (Fig. 7): identification of children entities, sewing and solid generation. The first step is identifying the geometric entities which are in the TopoDS Compound, which are recognized by Open Cascade as the ‘children’ of the TopoDS Compound. Then, these shapes are joined together using the sewing function, in such a way that Open Cascade kernel recognizes them as a unique coherent shape. Finally, from this shape is generated a solid, of which the sewed shape is the envelope. The solids are associated to the ‘label’ generated in the initial phase of the algorithm, ensuring the preservation of material-related geometry (Fig. 8 – f). Finally, this solid geometry is stored in a STEP file, maintaining the label information associated with the geometry (Fig. 8 – g). The third algorithm (Fig. 9) is structured into four parts: 1) Input, 2) Physical Groups, and 3) Boundary Conditions. (1) In the ‘Input’, the STEP file is imported in Gmsh, using the Gmsh Python API, and it is used to generate a Gmsh geometry file (Fig. 9 Fig. 8. STEP conversion. M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 16 CRediT authorship contribution statement Maria Laura Leonardi: Conceptualization, Funding acquisition, Investigation, Methodology, Writing – original draft, Writing – review & editing. Jos´ e Granja: Investigation, Methodology, Resources, Writing – review & editing. Daniel V. Oliveira: Investigation, Methodology, Resources, Supervision, Writing – review & editing. Miguel Azenha: Investigation, Methodology, Resources, Supervision, Writing – review & editing. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Data availability Data will be made available on request. Acknowledgements This work was partly financed by FCT / MCTES through national funds (PIDDAC) under the R&D Unit Institute for Sustainability and Innovation in Structural Engineering (ISISE), under reference UIDB / 04029/2020, and under the Associate Laboratory Advanced Production and Intelligent Systems ARISE under reference LA/P/0112/2020. This work is financed by national funds through FCT - Foundation for Science and Technology, under grant agreement 2022.10204.BD attributed to the 1 st author. References [1] Carocci CF. Small centres damaged by 2009 L’Aquila earthquake: On site analyses of historical masonry aggregates. Bull Earthq Eng 2012;10(1):45–71. https://doi. org/10.1007/s10518-011-9284-0. [2] Tocci C, Carocci CF. Sicurezza sismica degli aggregati edilizi storici: alcuni casi di studio. Convegno XII Conv. Naz. L’ingegneria Sismica in Italia; 2007. [3] Dettori M, Altea L, Fracasso D, Trogu F, Azara A, Piana A, et al. Housing Demand in Urban Areas and Sanitary Requirements of Dwellings in Italy. J Environ Public Health 2020;2020. https://doi.org/10.1155/2020/7642658. [4] Zoppi C, Mereu A. Perceived urban quality of the historic centers: A study concerning the city of Cagliari (Italy). Land Use Policy 2015;48:495–504. https:// doi.org/10.1016/j.landusepol.2015.06.027. [5] Valluzzi MR, Sbrogi` o L, Saretta Y, Wenliuhan H. Seismic Response of Masonry Buildings in Historical Centres Struck by the 2016 Central Italy Earthquake. Impact of Building Features on Damage Evaluation. Int J Archit Herit 2021. https://doi. org/10.1080/15583058.2021.1916852. [6] Dipartimento di Protezione Civile. Linee Guida Per Il Rilievo, L’analisi Ed Il Progetto Di Interventi Di Riparazione E Consolidamento Sismico Di Edifici In Muratura In Aggregato Dipartimento Protezione Civile ReLUIS Ufficio del Vice-Commissario Delegato per la Messa in Sicurezza dei Versione 3 (Capitoli 1, 2, 3 e 4-Appendici A e B); 2010. [7] ReLuis. Allegato alle Linee Guida per la Riparazione e il Rafforzamento di elementi strutturali, Tamponature e Partizioni; 2011. [8] Battaglia L, Ferreira TM, Lourenço PB. Seismic fragility assessment of masonry building aggregates: A case study in the old city Centre of Seixal, Portugal. Earthquake Eng Struct Dyn 2021;50(5):1358–77. https://doi.org/10.1002/ eqe.3405. [9] Çavdar ¨ O, Bayraktar A. Pushover and nonlinear time history analysis evaluation of a RC building collapsed during the Van (Turkey) earthquake on October 23, 2011. Nat Hazards 2014;70(1):657–73. https://doi.org/10.1007/s11069-013-0835-3. [10] Endo Y, Pel` a L, Roca P. Review of Different Pushover Analysis Methods Applied to Masonry Buildings and Comparison with Nonlinear Dynamic Analysis. J Earthq Eng 2017;21(8):1234–55. https://doi.org/10.1080/13632469.2016.1210055. [11] Technical Standards for Constructions; 2018. [12] ICOMOS I. S. C. F. A. A. O. S. O. A. H. Recommendations For The Analysis, Conservation And Structural Restoration Of Architectural Heritage; 2005. [13] Brencich A, Gambarotta L, Lagomarsino S. A macroelement approach to the threedimensional seismic analysis of masonry buildings. In: 11th Europe an Conference on Earthquake Engineering, 90(JANUARY); 1998. p. 1–10. [14] D’Altri AM, Sarhosis V, Milani G, Rots J, Cattari S, Lagomarsino S, et al. Modeling strategies for the computational analysis of unreinforced masonry structures: review and classification. In: Archives of Computational Methods in Engineering. Vol. 27, Issue 4. Springer Netherlands; 2020. https://doi.org/10.1007/s11831019-09351-x. [15] Lourenço PB. Computations on historic masonry structures. Prog Struct Eng Mater 2002;4(3):301–19. https://doi.org/10.1002/pse.120. [16] Borri A, Corradi M, Castori G, De Maria A. A method for the analysis and classification of historic masonry. Bull Earthq Eng 2015;13(9):2647–65. https:// doi.org/10.1007/s10518-015-9731-4. [17] Ghiassi B, Vermelfoort AT, Lourenço PB. Masonry mechanical properties. In: Numerical Modeling of Masonry and Historical Structures: From Theory to Application; 2019. p. 239–61. https://doi.org/10.1016/B978-0-08-1024393.00007-5. [18] Ferreira TM, Maio R, Vicente R. Seismic vulnerability assessment of the old city centre of Horta, Azores: calibration and application of a seismic vulnerability index method. Bull Earthq Eng 2017;15(7):2879–99. https://doi.org/10.1007/s10518016-0071-9. [19] Ferreira TM, Vicente R. Vulnerability assessment of building aggregates: A macroseimic approach Wall Cladings and Structural Masonry View project SafEarth-Seismic protection of earthen construction heritage View project. 2012. https://www.researchgate.net/publication/236117520. [20] Romis F, Caprili S, Salvatore W, Ferreira TM, Lourenço PB. Seismic vulnerability assessment of historical urban centres: the case study of campi alto di norcia, Italy. Int Arch Photogramm, Remote Sens Spatial Inf Sci Jul 2020;24. https://doi.org/ 10.5194/isprs-archives-xliv-m-1-2020-885-2020. [21] Valotto C, Taffarel S, Marson C, Munari M, Da Porto F, Modena C. Seismic vulnerability assessment of corner buildings in the historical centre of Timisoara. CRC Press eBooks; Jun. 09, 2016. https://doi.org/10.1201/b21889-326. [22] Formisano A, Chieffo N. Seismic damage scenarios induced by site effects on masonry clustered buildings: a case study in south Italy. Int J Architect Heritage 2022;00(00):1–22. https://doi.org/10.1080/15583058.2022.2104143. [23] Ferreira TM, Ramírez Eudave R. Assessing and managing risk in historic urban areas: current trends and future research directions. Front Earth Sci 2022;10. https://doi.org/10.3389/feart.2022.847959. [24] Ramírez Eudave R, Ferreira TM. On the suitability of a unified GIS-BIM-HBIM framework for cataloguing and assessing vulnerability in Historic Urban Landscapes: a critical review. In: International Journal of Geographical Information Science. Vol. 35, Issue 10. Taylor and Francis Ltd.; 2021. p. 2047–77. https://doi.org/10.1080/13658816.2020.1844208. [25] Formisano A, Massimilla A. A novel procedure for simplified nonlinear numerical modeling of structural units in masonry aggregates. Int J Architect Heritage 2018; 12(7–8):1162–70. https://doi.org/10.1080/15583058.2018.1503365. [26] Leggieri V, Ruggieri S, Zagari G, Uva G. Appraising seismic vulnerability of masonry aggregates through an automated mechanical-typological approach. Autom Constr Dec 2021;01. https://doi.org/10.1016/j.autcon.2021.103972. [27] Grillanda N, Valente M, Milani G, Chiozzi A, Tralli A. Advanced numerical strategies for seismic assessment of historical masonry aggregates. Eng Struct 2020; 212. https://doi.org/10.1016/j.engstruct.2020.110441. [28] Valente M, Milani G, Grande E, Formisano A. Historical masonry building aggregates: advanced numerical insight for an effective seismic assessment on two row housing compounds. Eng Struct 2019; 190(April): 360–79. https://doi.org/10 .1016/j.engstruct.2019.04.025. [29] Murphy M, Dublin EM, Pavia S. Historic building information modelling (HBIM). Struct Surv 2009;34(1):1–5. [30] Bruno S, De Fino M, Fatiguso F. Historic Building Information Modelling: performance assessment for diagnosis-aided information modelling and management. Autom Construct February 2017;2018(86):256–76. https://doi.org/ 10.1016/j.autcon.2017.11.009. [31] Volk R, Stengel J, Schultmann F. Building Information Modeling (BIM) for existing buildings - Literature review and future needs. Autom Constr 2014;38:109–27. https://doi.org/10.1016/j.autcon.2013.10.023. [32] Barontini A, Alarcon C, Sousa HS, Oliveira DV, Masciotta MG, Azenha M. Development and Demonstration of an HBIM Framework for the Preventive Conservation of Cultural Heritage. Int J Arch Heritage 2021. https://doi.org/ 10.1080/15583058.2021.1894502. [33] Moyano J, Gil-Ariz´ on I, Nieto-Juli´ an JE, Marín-García D. Analysis and management of structural deformations through parametric models and HBIM workflow in architectural heritage. J Build Eng 2022;45. https://doi.org/10.1016/j. jobe.2021.103274. [34] Kong X, Hucks RG. Preserving our heritage: A photogrammetry-based digital twin framework for monitoring deteriorations of historic structures. Autom Constr 2023;152(December 2022):104928. https://doi.org/10.1016/j. autcon.2023.104928. [35] Barazzetti L, Banfi F, Brumana R, Gusmeroli G, Previtali M, Schiantarelli G. Cloudto-BIM-to-FEM: Structural simulation with accurate historic BIM from laser scans. Simul Model Pract Theory 2015;57:71–87. https://doi.org/10.1016/j. simpat.2015.06.004. [36] Rolin R, Antaluca E, Batoz JL, Lamarque F, Lejeune M. From point cloud data to structural analysis through a geometrical hBIM-oriented model. J Comput Cultural Heritage 2019;12(2). https://doi.org/10.1145/3242901. [37] Ursini A, Grazzini A, Matrone F, Zerbinatti M. From scan-to-BIM to a structural finite elements model of built heritage for dynamic simulation. Autom Constr 2022;142(July):104518. https://doi.org/10.1016/j.autcon.2022.104518. [38] Gigliarelli E, Calcerano F, Cessari L. Heritage Bim, Numerical Simulation and Decision Support Systems: An Integrated Approach for Historical Buildings Retrofit. Energy Procedia 2017;133:135–44. https://doi.org/10.1016/j. egypro.2017.09.379. [39] Gigliarelli E, Calcerano F, Calvano M, Ruperto F, Ruperto-Sapienza F, Sacco-Studio Arcrea M et al. Integrated numerical analysis and Building Information Modeling for Cultural Heritage; 2017. https://www.researchgate.net/publication/314371832. M.L. Leonardi et al. Computers and Structures 297 (2024) 107321 17 [40] Cursi S, Martinelli L, Paraciani N, Calcerano F, Gigliarelli E. Linking external knowledge to heritage BIM. Autom Constr 2022;141(June). https://doi.org/ 10.1016/j.autcon.2022.104444. [41] Betti M, Bonora V, Galano L, Pellis E, Tucci G, Vignoli A. An Integrated Geometric and Material Survey for the Conservation of Heritage Masonry Structures; 2021. 10.3390/heritage. [42] Cotella VA. From 3D point clouds to HBIM: Application of Artificial Intelligence in Cultural Heritage. Autom Construct 2023;152(December 2022):104936. https:// doi.org/10.1016/j.autcon.2023.104936. [43] Castellazzi G, D’Altri AM, Bitelli G, Selvaggi I, Lambertini A. From laser scanning to finite element analysis of complex buildings by using a semi-automatic procedure. Sensors (Switzerland) 2015;15(8):18360–80. https://doi.org/10.3390/ s150818360. [44] D’Altri AM, Milani G, de Miranda S, Castellazzi G, Sarhosis V. Stability analysis of leaning historic masonry structures. Autom Construct 2018;92(November 2017): 199–213. https://doi.org/10.1016/j.autcon.2018.04.003. [45] Funari MF, Hajjat AE, Masciotta MG, Oliveira DV, Lourenço PB. A parametric scanto-FEM framework for the digital twin generation of historic masonry structures. Sustainability (Switzerland) 2021;13(19). https://doi.org/10.3390/su131911088. [46] Kassotakis N, Sarhosis V, Riveiro B, Conde B, D’Altri AM, Mills J, et al. Threedimensional discrete element modelling of rubble masonry structures from dense point clouds. Autom Constr 2020;119(July):103365. https://doi.org/10.1016/j. autcon.2020.103365. [47] Crespi P, Franchi A, Ronca P, Giordano N, Scamardo M, Gusmeroli G, et al. From BIM to FEM: the analysis of an historical masonry building. Building Information Modelling (BIM) in Design. Construct Operations 2015;1(September):581–92. https://doi.org/10.2495/bim150471. [48] Angjeliu G, Cardani G, Coronelli D. A parametric model for ribbed masonry vaults. Automat Construct 2019;105(May 2018):102785. 10.1016/j.autcon.2019.03.006. [49] buildingSMART International. openBIM; 2023b. https://www.buildingsmart. org/about/openbim/. [50] ISO. ISO 16739-1:2018 Industry Foundation Classes (IFC) for data sharing in the construction and facility management industries — Part 1: Data schema; 2018. [51] buildingSMART International. Industry Foundation Classes (IFC); 2023a. https ://www.buildingsmart.org/standards/bsi-standards/industry-foundation-classes/. [52] Bottaro M. L’informazione edilizia in ambito strutturale: compilazione dello structural analysis domain di IFC secondo le NTC 2018 e validazione in ambiente Python; 2023. [53] Marcolin G. Proposta Di Sviluppo Di Standard Informativi Open Bim Per L ’ Integrazione Di Analisi Strutturali Dell ’ Esistente; 2017. [54] McKenna F. OpenSees: A framework for earthquake engineering simulation. Comput Sci Eng 2011;13(4):58–66. https://doi.org/10.1109/MCSE.2011.66. [55] CEN. EN ISO 17412-1; 2020. [56] Bocchi F, Ghizzoni M, Smurra R. Storia delle citt` a italiane: Dal Tardoantico al primo Rinascimento. UTET Universit` a; 2002. [57] Fazio M, Fernando G, Rocca C. I centri storici italiani. Milano: Silvana; 1976. [58] Saccucci Marco. Analisi multilivello BIM per la valutazione della vulnerabilit` a sismica degli edifici in muratura; 2017. [59] Antonino Giuffr´ e, Carocci CF, Tocci C. Leggendo il libro delle antiche architetture. Aspetti statici del restauro. Saggi 1985-1997; 2010. [60] Autodesk. Revit IFC manual 2018:1–52. https://abcdblog.typepad.com/abcd/201 8/Success_Stories/IFC-Manual-2018-ENU.PDF. [61] Leonardi ML. OpenBIM to FEM repository; 2023. https://github.com/mlau ra1996/OpenBIMtoFEM. [62] Abell JA. Applicative lecture: Modelling Soil-Structure interaction in OpenSees; 2022a. [63] Abell JA. Gmsh2Opensees; 2022b. https://github.com/jaabell/gmsh2opensees. [64] Geuzaine C, Remacle JF. Gmsh: A 3-D finite element mesh generator with built-in preand post-processing facilities. Int J Numer Meth Eng 2009;79(11):1309–31. https://doi.org/10.1002/nme.2579. [65] Antonino Giuffr´ e. Sicurezza e conservazione dei centri storici. Il caso Ortigia. (Editori Laterza (ed.)); 1993. [66] Solarino F. Analysis of retrofitting solutions to enhance the seismic behavior of masonry-to-timber connections in historical constructions. July 2021. [67] IfcOpenShell Contributors. IfcOpenShell Documentation; 2020. https://ifcopenshell. github.io/docs/python/html/index.html. [68] Paviot. PythonOCC; 2018. https://github.com/tpaviot/pythonocc. [69] Zhu M. OpenSeesPy; 2019. https://openseespydoc.readthedocs.io/en/latest/. [70] EN 338:2016 - Structural timber - Strength classes. [71] Krˇ zan M, Gostiˇ c S, Cattari S, Bosiljkov V. Acquiring reference parameters of masonry for the structural performance analysis of historical buildings. Bull Earthq Eng Oct. 24, 2014. https://doi.org/10.1007/s10518-014-9686-x. M.L. Leonardi et al.