ADG FEA Solveruser guide Back to the solver Back to ADG

FEA Solver – user guide

A short guide to the 2D frame solver: what it calculates, how the interface is organised, how to build a model in a few minutes, and how to read (and trust) the results. Every value in this guide refers to what the application actually does.

1. What the solver does

The FEA Solver performs a linear elastic, first-order static analysis of 2D frames with Euler–Bernoulli beam elements (plane frame, no shear deformation). Every node has three degrees of freedom: UX, UY and the in-plane rotation RZ. Member ends are rigid by default; a moment release (hinge) can be set at either end of a member.

Typical uses: continuous beams, portal frames, trusses, bracing systems, arches, lintels, footbridges and temporary works, where a 2D idealisation is adequate.

The same model also gives its natural frequencies and periods (Modes in the top bar): modal analysis with the self mass ρ·A plus any added nodal / distributed mass — see section 12.

Not covered by this version: second-order (P-Δ / P-δ) effects and buckling, material plasticity, plate and shell behaviour, out-of-plane and 3D behaviour, member torsion and warping, temperature loads, spring supports, seismic action (response spectrum) and time-history analysis. Free vibration (natural frequencies and periods) is covered — see section 12. For the rest, the results here are only an elastic starting point. The derivation of the element — shape functions, stiffness and load matrices, assembly, releases and the mass matrix — is given in the theory note The Finite Element Method for Frames.

2. Quick start

  1. New for an empty model — or Demo to load the worked portal frame and see how everything is organised.
  2. Geometry. Use + Node in the left panel to place a node, or press N (node mode) and click on the canvas; create members with M (member mode — click the first node, then the second) or with + Member.
  3. Sections. Select a section in the model tree → in Properties press the ⋯ button next to Name and pick a standard profile, or type your own A, Iy, Iz, Wy, Wz and mass per length.
  4. Supports. Select a node and press Fixed, Pinned or Roller (or tick the individual restraints).
  5. Loads. + Load adds a nodal load; with a member selected, + UDL, + Point, + Moment or + Trapezoid add member loads. Assign the load case of each load.
  6. Self weight. Tick Self weight on the members (or Enable all) and choose the load case in the Self weight panel.
  7. Solve (or Ctrl+Enter) with the required entry in the Result list (a load case or a combination).
  8. Read the results. Tick Deformed, N, V, M in the display bar; the tables at the bottom show displacements, reactions and member forces.
  9. Save exports the model as JSON. The model is also kept automatically in the browser, so a page reload does not lose it.

3. The interface

AreaWhat it does
Top barFile actions (New, Demo, Open, Save), drawing modes (Select, Node, Member) and the link back to the ADG site.
Second barResult selector (which case or combination is solved and drawn), Solve, the result state chip, the display switches (Loads, Deformed, N, V, M) and the Diagram scale slider.
Model tree (left)Counters and the + … buttons that create nodes, members, supports, loads, combinations, sections, materials and cases.
Self weight / Units (left)The load case that receives the self weight, and the display units of every quantity.
Canvas (centre)The model, the loads, the deformed shape and the N/V/M diagrams.
Properties (right)The editor of whatever is selected: node, member, support, load, section, material, case or combination.
Diagnostics (right)Model validation messages and the result of the global equilibrium check (ΣFx, ΣFy residuals).
Tables (bottom)Nodal coordinates, member connectivity, supports, loads, cases, combinations, materials, sections and the three result tables.

4. Model tree and entities

EntityContents
NodeId and coordinates (X, Y) in the current length unit.
MemberStart node (I), end node (J), section, optional moment releases at I and/or J, self-weight flag.
SupportRestraints of a node: UX, UY, RZ.
LoadNodal load (FX, FY, MZ) or member load (UDL, trapezoidal, point force, point moment) with its load case.
Load caseG (permanent), Q (variable), W (wind), S (snow) and any user-defined cases.
CombinationPartial factors for the load cases (e.g. 1.35 G + 1.50 Q).
MaterialYoung modulus E, density ρ, yield strength fy (S235 / S275 / S355 are predefined).
SectionName, A, Iy, Iz, Wy, Wz, mass per length and material.

Click a row in any table (or an entity on the canvas) to select it; the Properties panel then shows its editor. Edits are applied immediately and are saved in the browser.

5. Working on the canvas

Three modes are available in the top bar:

  • Select — click entities to select and edit them; delete with Delete.
  • Node — left click anywhere to create a node at that point.
  • Member — click a node, then a second node, to create the member that joins them.

Navigation: mouse wheel zooms towards the pointer, Shift+drag or the middle mouse button pans, double click (or F) fits the model in the view. Esc returns to Select and clears the selection.

6. Sections

A section stores the properties that a 2D frame needs, plus the ones kept for reference and for future resistance checks:

PropertyUsed by the analysisNotes
A – areayesAxial stiffness EA.
Iz – second moment of area, bending in the XY planeyes Bending stiffness EI. For a member of a frame drawn in the XY plane this is the axis perpendicular to the plane of the drawing.
Iy, Wy, Wzno Stored and shown; needed for out-of-plane and stress checks in later versions.
Mass per lengthyesDrives self weight when the member flag is on (otherwise ρ·A of the material is used).
MaterialyesProvides E (and ρ for self weight).

Standard profile library

In Properties → Section, the ⋯ button next to Name opens Standard sections: 16 families and 1 367 profiles taken from the profile catalogues published on this site (CHS, SHS and RHS hot finished and cold formed, equal angles, UPN, UPE, IPE, HEA, HEB, HEM, UB, UC, UBP). Filter by family, search by name (for example hea 200 or CHS 88.9), then click a row: the section name, A, Iy, Iz, Wy, Wz and the mass are filled in automatically. A new section created with + Section opens the library directly.

Custom sections are equally valid: type the values by hand (they are converted to SI internally using the units shown in brackets).

7. Materials

  • E – Young modulus, in GPa (210 GPa for steel).
  • Density – in kg/m³ (7850 for steel); used for self weight when a section has no mass defined.
  • fy – yield strength, in N/mm² (235, 275, 355 for S235, S275, S355). The linear elastic analysis does not need it; it is part of the model for the resistance checks that will follow.

Three materials (S235, S275, S355) are created with every new model; more can be added with + Material. The unit of fy can be changed in the Units panel, next to E.

8. Supports

Restraints are independent per node: UX (horizontal), UY (vertical) and RZ (rotation). The presets are:

PresetRestraintsTypical use
FixedUX, UY, RZbuilt-in support, column base
PinnedUX, UYhinged base, truss node on a support
RollerUYsimple support that allows horizontal movement
None—free node

A stable 2D model needs at least three independent restraints, and they must not be all parallel. A pin plus a roller is the classic combination; two pins also work but attract the horizontal reaction in one of them.

9. Loads

Nodal loads

FX, FY and MZ at a node. The global axes are X to the right and Y upwards, so a downward load is a negative FY (for example −10 kN). A positive MZ acts counter-clockwise.

Member loads

TypeParameters
UDLValue q, applied between xStart and xEnd (fractions of the member length, 0 = node I, 1 = node J).
Trapezoidalq at the start and q at the end, same range.
Point forceValue and position (fraction of the length).
Point momentValue and position.

Each member load can act in global or local direction. Local means relative to the member axis (I→J), which is convenient for wind or snow acting on inclined members.

Self weight

Self weight is not a separate entity: it is generated by the analysis for every member whose Self weight flag is on, using the section mass per length (or ρ·A) multiplied by g = 9.80665 m/s². It is applied inside the load case chosen in the Self weight panel, so combinations scale it like any other permanent action. Enable all / Disable all set the flag on every member at once.

10. Load cases and combinations

Every load belongs to a load case. A new model contains four cases — G, Q, W, S — and more can be added with + Case. A combination is a set of factors, one per case (for example 1.35 for G and 1.50 for Q).

The Result list offers:

  • All load cases — every case with a factor of 1.0, useful for a first look but not a design combination;
  • Case … — one case on its own;
  • Comb. … — a combination with its factors.

The selection drives both the analysis and the drawing: only the loads that take part in the selected case or combination are drawn, so the picture never contradicts the results.

11. Solving and reading results

Solve assembles the global stiffness matrix and solves K·u = F by the direct stiffness method. After the solution the Diagnostics panel shows the global equilibrium residuals (ΣFx, ΣFy): for a correctly solved model they are zero to numerical precision.

The chip next to the button reports the state of the results:

ChipMeaning
Results up to dateThe results correspond to the current model.
Results out of date — press SolveSomething was edited after the last solve; the numbers on screen are obsolete.
Not solvedNo analysis has been run yet.

Result tables

  • Displacements — UX, UY and RZ for every node.
  • Reactions — FX, FY, MZ at the restrained nodes.
  • Member forces — end forces at I and J and the maximum of N, V and M with its position along the member.

Drawings

Deformed draws the deflected shape as a dashed line, amplified by the factor shown in the legend (×N). The amplification only exists to make small displacements visible — the real values are in the tables.

N, V and M draw the internal force diagrams along the members. The Diagram scale slider changes how large the diagram is drawn relative to the structure; it does not change the values.

Sign convention: the member local axis x runs from node I to node J, and the displacements of a member are interpolated from its two end nodes. Axial force N is positive in tension. The end forces listed in the table are the forces the member applies to the nodes, which is the convention used to draw the diagrams.

13. Check the solver on a known case

Before trusting any software, reproduce a case you can solve by hand. A simply supported beam is enough:

  1. Nodes at (0; 0) and (6; 0) — length L = 6 m.
  2. One member between them, with a section from the library, for example an IPE 200.
  3. Support Pinned at the first node, Roller at the second.
  4. A UDL of −10 kN/m on the member, in the load case Q.
  5. Solve with Result = Case Q.

The results must reproduce the textbook values:

QuantityFormulaExpected value
ReactionsR = q·L / 230 kN at each support
Maximum bending momentM = q·L² / 845 kNm at midspan
Maximum shearV = q·L / 230 kN at the supports
Maximum deflectionδ = 5·q·L⁴ / (384·E·I) with E = 210 GPa and I = Iz of the chosen profile

The same way, a cantilever of length L with a tip load P gives M = P·L at the support and δ = P·L³ / (3·E·I) at the tip, while a cantilever with a UDL q gives M = q·L² / 2 and δ = q·L⁴ / (8·E·I).

Modal check (frequency and period)

A second check, this time for the modal analysis, uses the closed-form frequencies of a uniform beam. Build a cantilever 6.00 m long out of eight members (nodes every 0.75 m, fixed at the first node), with A = 20 cm², Iz = 1000 cm⁴, E = 210 GPa and ρ = 7850 kg/m³, then press Modes:

CaseFormulaExpected value
First bending, cantilever f₁ = (3.516 / 2π)·√(E·I / (ρ·A·L⁴)) 5.685 Hz → T₁ = 0.1759 s
Second bending, cantileverf₂ ≈ 6.267·f₁ 35.6 Hz (ratio 6.27)
First bending, simply supported f₁ = (π/2)·√(E·I / (ρ·A·L⁴)) 15.958 Hz → T₁ = 0.0627 s (ratio f₂/f₁ = 4)

With the eight-member mesh above the solver returns 5.68498 Hz (relative error 2·10-6) and T₁ = 0.17590 s. These values are automated in tools/fea_modal_check.js, together with the check that the same beam in the 3D module gives exactly the same frequencies.

Rule of thumb: always check the reactions first — their sum must equal the total applied load, and their distribution must be compatible with the positions of the loads. If the reactions are right, the diagrams are almost always right too.

14. Units

Internally every value is stored in SI (m, N, Pa, kg/m³). The Units panel changes only the display and the input, so a model can be reviewed in different units without touching the numbers that are analysed.

QuantityDefaultOther options
ForcekNN, MN
Lengthmmm, cm
MomentkNmNm, MNm
Modulus EGPaPa, MPa
Strength fyN/mm²MPa, kN/cm², GPa
Areacm²mm², m²
Inertiacm⁴mm⁴, m⁴
Section moduluscm³mm³, m³
Densitykg/m³g/cm³

15. Saving, loading, model format

Save writes the model as a JSON file; Open reads it back. Independently of that, the model is stored in the browser (localStorage) after every change, so closing the tab and returning later resumes the same model. New and Demo replace the current model.

The JSON is plain data in SI units, which makes it easy to generate models from a script:

KeyContent
materials{id, name, E, G, rho, fy} in Pa and kg/m³
sections{id, name, A, Iy, Iz, Wy, Wz, massPerLength, materialId} in m², m⁴, m³, kg/m
nodes{id, x, y, mass} in m, added mass in kg (modal)
members{id, n1, n2, sectionId, releaseI, releaseJ, selfWeight, addedMass} — added mass in kg/m (modal)
supports{nodeId, ux, uy, rz} as booleans
loadCases{id, name, type, label}
nodalLoads{nodeId, caseId, fx, fy, mz} in N and Nm
memberLoads{memberId, caseId, type, value, xStart, xEnd, xFrac, dir}
combos{id, name, factors:{caseId: factor}}
selfWeightCaseid of the load case that receives the self weight

Two complete examples are included with the application and can be opened with Open:

16. Keyboard and mouse

ActionHow
Solve the selected resultCtrl+Enter, or the Solve button
Fit the model in the viewF, or double click on the canvas
Back to Select modeEsc
Delete the selected entityDelete
ZoomMouse wheel (zooms towards the pointer)
PanShift+drag, or the middle mouse button
Create a nodeLeft click in Node mode
Create a memberTwo left clicks in Member mode
Select an entityLeft click on it, or on its row in a table
Choose a profile in the libraryClick a row, or Enter on a focused row
Close the profile libraryEsc, the × button, or a click outside the window

17. Troubleshooting

Message or symptomCauseWhat to do
“Structure is unstable: node N has no stiffness in …” A node or a part of the model is not connected, or a degree of freedom is free without any stiffness. Connect the node with a member, or add the missing restraint.
“Structure is unstable or under-constrained (singular global stiffness matrix)” Not enough restraints, restraints that are all parallel, or an internal mechanism (for example two collinear members meeting at an unsupported node without a third member). Add a support, change a roller into a pin, or add the missing diagonal.
“Member N: end release configuration is singular” Both ends of a member released, so the member cannot rotate with the structure. Release only one end, or add stiffness around that member.
“Member N: zero length member” Two nodes at the same coordinates. Move one node, or delete the duplicate.
Results out of date after an edit The model changed after the last solve. Press Solve again.
No diagrams visible The corresponding switch (N, V, M) is off, or the diagram is very small compared with the structure. Tick the switch and increase Diagram scale.
The deformed shape looks enormous The displacements are amplified by design (factor in the legend). Read the real values in the Displacements table.
Loads are not drawn The loads belong to cases that do not take part in the selected result. Select the appropriate case or combination in Result.
“The model has no mass” The members carry no mass: the material density is zero, or the members have no section with an area. Give the material a density (ρ in kg/m³) and the members a section — the self mass ρ·A is enough to start; then add the nodal / member masses.
“Singular stiffness matrix” only in the modal analysis The static solution needs the same restrained structure; the modal run adds the mass but not the restraints. Check that the supports are the ones you intended — a free node with mass has no stiffness in the open directions.
“Not converged” next to the modal results The subspace iteration stopped before the eigenvalues settled (many modes requested on a model with close frequencies). Ask for fewer modes, or read the values as an indication and refine the model; the iterations actually used are printed under the table.
The frequency is higher than the hand calculation One member is one element: a coarse mesh is stiffer, so the frequency is overestimated. Split the member into 2–8 sub-members (section 13 uses eight) and recompute.
The Modes button does nothing The browser is still running an old copy of the scripts from its cache. Reload the page (Ctrl+F5 once). The scripts carry a version, so a normal reload is enough after the first hard refresh.

18. Limitations

  • Linear elastic material, small displacements, first order only — no buckling check, no stress redistribution.
  • Plane frame idealisation: no out-of-plane stiffness, no second-order effects from axial force.
  • Euler–Bernoulli beams: shear deformation is neglected (fine for slender members, less so for deep or short ones).
  • Modal analysis is undamped free vibration with consistent masses: no damping, no response spectrum, no time history. One member is one element, so the frequencies converge from above — refine long members into sub-members for the exact value.
  • Supports are rigid; no springs and no soil flexibility.
  • The stiffness matrix is solved as a dense system with a general purpose elimination: comfortable for models of a few hundred nodes, not intended for very large models.
  • The results are a design aid, not a substitute for engineering judgement. Verify reactions and magnitudes against hand calculations before using them in a design.

Questions, or a case that does not behave as expected? Write to contact@adgdesign.ro or use the contact form on the ADG Design website.