Domains (plane vs plate)¶
Every xdfem2D model lives in one of two domains. The choice is made in New model, and it is fixed as soon as the model has geometry — because every support, load and result changes meaning between them, nodes, bars and areas cannot be switched from one to the other. While the model is still empty (no nodes, bars, areas or objects) the domain can be changed: see below.
| Domain | What it is | Elements | DOFs per node | Typical use |
|---|---|---|---|---|
| Plane | a frame or wall in its own plane | frame bars, membrane triangles and quads | ux, uy, θz |
frames, trusses, walls |
| Plate | a slab or grillage bending out of plane | grillage beams, plate-bending triangles and quads | w, θx, θy |
slabs, beam grillages |
Both domains carry three degrees of freedom per node — the solver machinery is
shared — but the three slots mean different things, so the same storage reads as
ux, uy, θz in a plane model and w, θx, θy in a plate one.
Choosing the domain¶
New model shows the two domains as clickable icon cards — a portal frame with a shear wall for Frame / Wall (in-plane), and a supported slab field for Slab / Grillage (out-of-plane). It opens on the domain of the model that is open. Click a card to select it (the border highlights); a double-click selects and confirms in one gesture. A coloured domain badge in the toolbar (blue Plane / green Plate) then shows which one is active, and the window title carries the document name.
Changing the domain of an empty model¶
Click the coloured domain badge in the toolbar while the model has no
geometry; the same two cards as in New model open, on the other domain (clicking
the badge is asking to change it; pick the same one to leave it as it is). What
does not depend on the domain (materials, beam sections, load cases) stays; the
support definitions and area sections, which do, are removed and named in the
status bar. Undo brings them back. Once the first node, bar or area exists
the badge stops being a button, and its tooltip says the domain is fixed; use
File ▸ New to work in the other domain. In a script,
model.set_domain('plate') does the same and raises an error if the model has
geometry.
Where each domain is described¶
The table of what each domain has — elements, supports, springs, loads, analyses and results side by side — is in Modelling the structure. Each domain has its own page, with the same layout: Plane models (frames and walls) and Plate models (slabs and grillages). The topic pages, Loads, Analysis, Results and Design, cover both.