Plane models: frames and walls¶
A plane model is a frame, truss, arch or wall in its own plane: the nodes carry
ux, uy and θz. It is one of the two domains, chosen in New model
(Frame / Wall, in-plane). This page is the reference for it, in the same order as
Plate models: the elements, the supports, the springs, the loads, the
analyses, the results and design, the templates, and a script.
What both domains share is on Modelling the structure, Supports, springs and constraints and Geometry objects.
Line elements: beams¶
A beam is an Euler–Bernoulli beam-column with axial, bending and shear behaviour, six degrees of freedom (three per node). It references a section (materials and sections are on Modelling). Each end can carry a moment release (hinge). Its results are the M, V and N diagrams.
Surface elements: panels¶
A panel is a surface that carries forces in its own plane: a wall, a shear wall, a
deep beam. Its sections carry a thickness, a material, a plane-stress / plane-strain
flag and a formulation.
Triangles¶
| Formulation | DOFs per node | Notes |
|---|---|---|
| CST (constant-strain triangle) | ux, uy | Fast, robust; overly stiff in bending. The node's rotation is left free (auto-restrained) unless a bar also frames in. |
| Allman | ux, uy, θz | Adds an in-plane drilling rotation, so it can transfer moment to a frame member and converges faster in bending. |
| ES-FEM (edge-based smoothed) | ux, uy | Smooths CST over edge domains — softer, more accurate in bending — without adding a DOF. |
Add triangles one by one (three node picks) on the Triangles sub-tab, or let a polygon geometry object mesh itself automatically.
Quads¶
A quad is the 4-node counterpart of the triangle. Its advantage is on a regular, structured mesh (a rectangular wall panel): a triangle split introduces a directional (diagonal) bias in the stress field near supports and point loads that a quad avoids. Prefer quads on regular grids; keep triangles for irregular or concave outlines (the quad mesher is structured-only).
| Formulation | Notes |
|---|---|
| QM6 (incompatible-modes Q4) | The recommended membrane quad — four internal bubble DOFs, condensed out, fix the bending-lock that plain Q4 suffers. |
| Q4 (bilinear) | Reference/patch-test element only — locks in bending, not recommended as the default. |
Add quads one by one (four node picks, i → j → k → l counter-clockwise) from Structure ▸ Triangles ▸ Add quad, or let a rectangle/polygon object mesh into quads.
Supports¶
Supports restrain ux, uy and θz. The canonical names are FIXED (all three),
PIN (both translations), ROLLER-X / ROLLER-Y (one translation),
GUIDED-X / GUIDED-Y (a translation and the rotation) and BLOCK (rotation only,
free to move). The quick presets of the support dialog are PIN, ROLLER-X and
FIXED. The mechanism, the other tables and the on-canvas legend are on
Supports, springs and constraints.
Springs and foundations¶
A node spring has Kx, Ky and Kt. An element spring is a Winkler
foundation along a bar, per unit length, with Kx and Ky in global or local
(axial / transverse) axes. Both can be tension-only or compression-only, which a
NonLinear case honours (a footing that lifts off the soil is the typical use). See
Springs.
Loads¶
| Load | Applies to | Parameters |
|---|---|---|
| Point load | a node | Fx, Fy, Mz |
| Distributed load | a bar | trapezoidal Fy / Fx, global or local axes |
| Element point load | a point along a bar | Fx, Fy, Mz at distance a |
| Edge load | a triangle or quad edge, or a surface boundary | traction Fx, Fy per unit length |
| Temperature | a bar, or an area | uniform ΔT (and a gradient on bars) |
| Support settlement | a supported node | prescribed ux, uy, θz |
| Nodal mass | a node, for a Mass case | Mx, My, Mtz |
Everything about load cases, self-weight and the loads view is on Loads.
Analysis¶
All the analysis cases are available: Linear, NonLinear (unilateral springs), Mass, Modal, Spectrum (EC8) and Geometric Nonlinear (P-Delta). P-Delta is built from the axial force of the bars, which is why it exists only in this domain. See Analysis.
Results and design¶
- Bars:
M,VandNdiagrams, displacements, reactions. - Triangles and quads: membrane stresses
σx,σy,τxy,σ1,σ2, von Mises (kN/m²), and, with the Forces (N = σ·t) toggle, forces per unit widthNx,Ny,Nxy,N1,N2. - Design: concrete beams and columns (EC2) with flexure, shear, crack width and the suggested column reinforcement; membrane (Wood/Baumann) reinforcement of triangles; steel (EC3) and timber (EC5) members; punching.
Templates¶
Beams & Frames, Walls, Trusses and Arches build plane models (see Templates).
By script¶
from xdfem2d import Structure2D
s = Structure2D(domain='plane')
s.add_material('C30', elastic_modulus=30e6, unit_weight=25.0)
s.add_section('S1', material_name='C30', b=0.3, h=0.6)
s.add_node('N1', 0.0, 0.0)
s.add_node('N2', 5.0, 0.0)
s.add_bar_element('E1', node_i='N1', node_j='N2', section_name='S1')
s.add_support('PIN', ux=True, uy=True)
s.add_support('ROLLER', uy=True)
s.assign_support('N1', 'PIN')
s.assign_support('N2', 'ROLLER')
s.add_load_case('LC1', self_weight_factor=0.0)
s.add_distributed_load('E1', 'LC1', fye=-10.0, fyd=-10.0) # 10 kN/m downward
r = s.calculate()
print(r['reactions']['LC1']['N1']) # [Rx, Ry, Mz]
Runnable examples are in the examples/ folder: example-simple_beam_plane.x2d,
example-continuous_beam.x2d, example-frame_and_wall.x2d, example-truss.x2d,
example-arch.x2d, example-modal_frame.x2d and example-tension.x2d.