In precast concrete projects two models describe the same building. The architectural and structural model in Allplan shows each panel with all its layers, rebates and joints. The RFEM analysis model consists of surfaces along the axes of walls and slabs that must meet exactly at the nodes. Rebuilding it by hand every time the architecture changes takes days. So we are writing a script that builds the analysis model from the architectural one.
The main difficulty is not the data exchange but the fact that RFEM refuses to create a surface if its outline is even slightly inaccurate.
Sandwich panel: which surface carries the load?
An external wall is a sandwich: an inner concrete layer, insulation and an outer layer. The analysis needs the load-bearing layer. The script takes the thicker of the two concrete layers, for example 150 mm against an 80 mm outer layer.

In the model the panel layers are separate solids that project beyond the wall outline at rebates and corners. So the script finds the layers by overlap with the wall rather than by full containment. The first version, which required full containment, rejected 17 of 33 walls.
Outline from the architecture, thickness from the load-bearing layer
Taking the surface outline from the load-bearing layer solid is tempting but wrong. The layer is shorter than the wall axis because of joints and connections, so the surfaces do not reach each other and get steps. So the script takes the outline and door openings from the architectural wall solid, and only the thickness from the load-bearing layer.

The wall axis is placed in the middle of the solid, not on a face. Then walls of different thickness on adjacent storeys end up in one plane, and the nodes meet without manual edits.
Small things that stop the model from building
- Shared edges of adjacent walls, once split at the nodes, produce exact duplicate lines and RFEM rejects the surfaces. Duplicates have to be removed again after splitting.
- Openings at the very bottom of a wall are not windows but part of the outline and must not be exported as openings.
- Wall ends are extended to neighbouring walls with a limit on the shift, otherwise short walls collapse into a line.
How we find the rules
We do not guess the rules in advance. The script builds the model, the engineer corrects it by hand in RFEM, and the software compares both versions and shows exactly what was changed. Repeated corrections become a new rule in the algorithm. On the test building all 33 surfaces are already created automatically, and wall corners are stitched: the number of nodes dropped from 149 to 102.

For a client this means a faster response to architectural changes and an analysis model that matches what the plant will produce. If you need a precast building analysed to Eurocodes, contact us.
More on this service: Structural analysis to Eurocodes. To discuss a project: contacts.
Discuss your project
Tell us about the building or the task: structure type, project stage and the software the model is built in. We reply within one working day.


