Overview
The portal frame consists of:- Two inclined columns (walls) at the base
- Beam members forming the frame structure
- Truss elements for diagonal bracing
- Various advanced features including local axis definitions, elastic supports, end offsets, and member releases
Complete Example
Create the model and define materials
Initialize the structural model and define the concrete material:The material properties are defined in units of tonf/m².
Define cross-sections
Create rectangular sections for the different structural members:
- vigas: Beam sections (0.3m × 0.5m)
- muros: Column/wall sections (0.3m × 2.0m)
Define the geometry
Add nodes to define the structure’s geometry:This creates a portal frame with a peaked roof configuration.
Add structural members
Define frame members and trusses connecting the nodes:
Beam Theory Selection:
- Timoshenko: Accounts for shear deformation, suitable for stocky members
- Euler-Bernoulli: Classical beam theory, suitable for slender members
- Truss: Axial-only elements with no bending stiffness
Apply boundary conditions
Define restraints at the base nodes:The tuple represents (x, y, rotation) restraints.
True means fixed, False means free.Add local coordinate systems
Define inclined local axes for the base nodes to simulate inclined supports:This allows the roller supports to be oriented at an angle.
Add advanced features
Incorporate elastic supports, end offsets, and member releases:
- Elastic support: Spring support with stiffness ky=10 tonf/m
- End offset: Rigid end zones of 1m length
- Releases: Create pinned connections at member ends (mi = start, mj = end)
Full Code
Key Concepts
Multiple Beam Theories
Combine different beam formulations in a single model based on member characteristics
Local Coordinate Systems
Define inclined supports and local reference frames for nodes
Elastic Supports
Model flexible supports with specified spring stiffness
Member Releases
Create pinned connections and control moment transfer at member ends
Next Steps
Truss Analysis
Learn how to model and analyze truss structures
Membrane Analysis
Explore 2D membrane element modeling
API Reference
View complete API documentation
Advanced Features
Explore advanced modeling capabilities
