Theory contents

Notation

On this page

What do the shared symbols, indices, coordinate conventions and units mean?

Use this page as a lookup reference while reading the guide. Each article defines its local notation at first use and links back to these definitions. A local definition takes precedence when a symbol has another meaning.

How to read the notation

Italic letters such as E denote scalars. Bold lowercase letters such as u denote vectors; bold uppercase Latin letters such as K denote matrices. Bold Greek letters such as σ denote second-order tensors. A tensor describes a physical quantity independently of coordinates; a matrix stores its components in a chosen basis. Components such as ui and σij are scalars.

A field assigns a value to every position: displacement u depends on x. A discrete coefficient vector d is instead a finite list of unknown numbers. Its length is the number of degrees of freedom, not the number of spatial dimensions.

Use a fixed Cartesian basis with x1=​x, x2=​y and x3=​z. Spatial indices i,j,k range from 1 to 3. Repeated spatial indices in one term are summed (Einstein convention): aibi=​a1b1+a2b2+a3b3. A free index labels the component of the result. Node or basis indices a,b and element indices e use explicit sums.

A subscript can also be a label: σvm means von Mises stress, not a sum over indices v and m. A superscript h marks an FEM approximation, (e) an element-local quantity, and T a transpose; other numerical superscripts are powers. The Kronecker delta δij is 1 for equal indices and 0 otherwise. The identity tensor I has these components. These are dimensionless. A plain δ may instead mean the bar’s extension when an article defines it that way.

Units below use N and mm to make dimensions concrete. The consistent unit systems reference covers other choices. “1” means dimensionless; vector and matrix sizes describe their shape, not their physical units.

Geometry and physical fields

Geometry and field symbols
SymbolMeaning and typeUnits
xPosition; a 3-vector locating a point in the undeformed body. Its components are coordinates, not solve unknowns. See discrete displacement.mm
ΩThe body’s three-dimensional domain (a set of positions). Its volume measure is dV; see integration.dV: mm³
Γ,ΓD,ΓNBoundary Γ=​∂Ω; ΓD carries prescribed displacement, ΓN prescribed traction. These are surface sets; their common edges do not add surface area. See normal.dS: mm²
nUnit outward normal on a solid boundary; a 3-vector field, defined where the surface has a normal. Its direction fixes the sign of traction.1
uDisplacement field; a 3-vector from the original to the displaced position. Its symmetric gradient gives small strain.mm
wTest displacement (virtual displacement); a 3-vector field, zero on ΓD for prescribed-displacement problems. It weights equilibrium in the weak form; see virtual work.mm
εSmall-strain tensor; a symmetric 3 × 3 tensor, ε=​sym∇u. It measures relative deformation; see tensor versus engineering shear.1 (mm/mm)
σCauchy stress; a symmetric 3 × 3 tensor for the classical solid model. It maps a surface normal to force per area.MPa = N/mm²
σvmVon Mises equivalent stress; a non-negative scalar derived from the deviatoric stress. It is neither a displacement unknown nor a signed tensor component; see stress conventions.MPa

Materials and loads

Material and load symbols
SymbolMeaning and typeUnits
EYoung’s modulus; scalar stiffness for isotropic linear elasticity. See the axial bar.MPa
νPoisson’s ratio; scalar ratio of lateral contraction to axial extension in uniaxial stress. The 3D isotropic elastic model requires −1<​ν<​0.5 and E>​0. See Lamé parameters.1
λ,μLamé parameters; scalars defining σ=​λtr(ε)I+2με. The shear modulus μ=​E/[2(1+ν)] and λ=​Eν/[(1+ν)(1−2ν)]. See trace and shear.MPa
ρMass density; scalar mass per volume. With seconds as the time unit, N–mm uses tonnes. This is distinct from the dimensionless design density in topology optimization. See current app behaviour.tonne/mm³
PConcentrated force; a 3-vector. A scalar P denotes its axial magnitude in the bar example. A force group spread over a face also specifies a total force, not force per area. See assembled loads.N
tTraction; a 3-vector field of force per surface area, ti=​σijnj. Integrating it over the selected surface gives a resultant force. See integration.N/mm²
bBody force per volume; a 3-vector field. For gravity, b=​ρg, where g is acceleration. This general notation does not imply a gravity input in the current static app. See units.N/mm³
ploadPressure magnitude; scalar, positive in compression, giving t=​−ploadn on a solid. The subscript distinguishes it from polynomial order p in some textbooks; this guide says order 1 or 2. See orientation.MPa

Finite element quantities

For a three-dimensional solid displacement approximation with nb scalar basis functions, there are nd=​3nb translational coefficients before constraints. Interpolation reconstructs the displacement field from those coefficients. In component form:

uih(x1,x2,x3)=∑a=1nbNa(x1,x2,x3)dai.
Translational solid finite element quantities
SymbolMeaning and typeUnits
NaScalar shape function for basis a; dimensionless field. The interpolation matrix N groups NaI blocks and has size 3×nd, so uh=​Nd. Upright N in a unit is a newton, not a shape function. See coefficients. Linear and quadratic shape functions.1
dDiscrete displacement coefficient vector of length nd; dai is its coefficient for basis a, component i. In a nodal displacement basis these are nodal values; higher order adds nodes beyond the corners. See returned vertex samples.mm
BStrain–displacement matrix; size 6×nd in the engineering-shear convention below. Spatial derivatives of the shape functions give εeng=​Bd. B blocks and a worked element.1/mm
KGlobal stiffness matrix; size nd×nd. It maps translational coefficients to force in Kd=​f, with constraints treated appropriately. See the dimensional check. Assembly example.N/mm
fAssembled load vector of length nd; it includes concentrated loads and work-equivalent surface or volume contributions. A traction is integrated with shape functions, not copied into a force entry. See integration. Work-equivalent face loads.N

The interpolation matrix above groups coefficients by basis: (d1x,d1y,d1z,d2x,…). Storage order is a numbering choice; changing it consistently leaves the physical approximation unchanged. See DOF ordering.

These matrix sizes and units describe a translational solid problem. Shells add rotations (radians, dimensionless) and moments (N·mm), so their stiffness blocks have different units. A display-tessellation vertex is not automatically an FEM node, and a node identifier is not a DOF index.

Shell rotations and resultants

These symbols extend the solid notation for the flat-facet shell formulation. Shell fields use each facet’s local right-handed basis; a local thickness coordinate is distinct from global z.

Shell quantities
SymbolMeaning and typeUnits
tPositive section thickness; it may vary per facet. Membrane stiffness scales with thickness and bending stiffness with its cube.mm
θSmall rotation vector, with three coefficients per shell node. Local θx,θy describe bending; θz is the numerically stabilized drilling rotation about the facet normal. Rotation components and force moments use the right-hand rule.rad (1)
κThree-component engineering curvature vector, ordered xx,yy,xy; the last component includes both twisting derivatives. In the centred section law ε(z)=​εm+zκ, εm is membrane engineering strain.1/mm
nLocal three-component in-plane force resultant n=​∫−t/2t/2σpdz, ordered xx,yy,xy. Here σp is plane-stress vector (σxx,σyy,τxy). Lowercase n is a section resultant, distinct from the bold boundary normal.N/mm
mLocal moment resultant per unit length m=​∫−t/2t/2zσpdz, in the same order. Its sign depends on the facet normal and thickness coordinate. A total nodal moment instead has units N·mm and is work-conjugate to a rotation.N·mm/mm

Resultants above explain the section law; the current static output returns translations and surface-maximum von Mises, not separate resultant or rotation fields. For shell unknowns, stiffness translation–translation, translation–rotation and rotation–rotation blocks have units N/mm, N and N·mm respectively. See coupling virtual work.

Topology optimization quantities

These symbols belong to SIMP topology optimization. Subscript e is an element index. The design density is a dimensionless fraction and is never written without its element subscript.

Topology optimization quantities
SymbolMeaning and typeUnits
ρeDesign (relative) density of element e; scalar between 0 (void) and 1 (solid). It scales stiffness, not mass, and is distinct from the mass density. Stress-constrained runs distinguish design variables from the filtered density that is analysed. Design variables.1
pSIMP penalty exponent in E(ρe)=​Emin+ρep(E0−Emin); default 3. Not a pressure or a polynomial order. Penalized stiffness.1
EminStiffness of a void element; KoFEM fixes Emin/E0=​10−9, where E0 is the full-material Young’s modulus. It keeps the global stiffness positive definite.MPa
cCompliance c=​fTd: work of the load vector on the displacement, twice the strain energy. Lower is stiffer. Objectives.N·mm
qeFull-material element energy measure qe=​deTKe0de, using the element’s displacement coefficients. Compliance sensitivity is −s′(ρe)qe. Sensitivities.N·mm
vfTarget material volume ∑eρeVe as a fraction of the meshed design-space volume ∑eVe. Not the volume shown after thresholding.1
rminFilter radius: centroids closer than it share sensitivity (or density) information with linear weights. An absolute model length in the app. Filtering and mesh dependence.mm

Operator reference

The definitions below fix the convention used by this guide. Detailed operator examples are linked from each entry.

∇ — Gradient
Spatial derivative. For a scalar q, (∇q)i=​∂q/∂xi is a 3-vector. For a vector v, (∇v)ij=​∂vi/∂xj is a 3 × 3 tensor: row i is the component being differentiated. Units are those of the field divided by mm. Displacement’s gradient is dimensionless. See symmetric gradient. Scalar and vector gradient examples.
sym∇ — Symmetric gradient
The symmetric part of the vector gradient: εij=​(∂ui/∂xj+∂uj/∂xi)/2. It is a symmetric 3 × 3 tensor with units of displacement per length, hence dimensionless. See shear components. Small-strain calculation.
∇· — Divergence
For a vector v, ∇·v=​∂vi/∂xi is a scalar. For stress, (∇·σ)i=​∂σij/∂xj is a 3-vector. Each has the field’s units divided by mm. Thus ∇·σ and body force both have units N/mm³ in equilibrium, ∇·σ+b=​0. Vector and stress divergence examples.
AT — Transpose
Swap rows and columns: (AT)ij=​Aji. An m×n matrix becomes n×m; physical units stay the same. The symmetric part of A is (A+AT)/2. See small strain. Transpose example.
a·b — Dot product
The scalar aibi for two 3-vectors. Units multiply: force dotted with displacement has work units N·mm. The norm |a|=​a·a has the same units as a. See virtual work. Dot-product example.
a⊗b — Outer product
Two 3-vectors form a 3 × 3 tensor, (a⊗b)ij=​aibj; units multiply. Unlike a dot product, it retains two directions. See the outer-product calculation and its role in displacement interpolation.
A:B — Double contraction
The scalar AijBij, summed over both spatial indices for two second-order tensors. Units multiply. For symmetric tensors both off-diagonal entries contribute: σ:ε includes 2σxyεxy, and similarly for the other shear pairs. See engineering shear. Contraction and shear calculation.
tr(A) — Trace
The scalar Aii=​A11+A22+A33 of a 3 × 3 tensor; units stay the same. For strain, it measures the first-order relative volume change. See the isotropic material law. Trace example.
ξ — Reference coordinates
A dimensionless 3-vector locating a point in a reference volume element. The map x=​F(ξ) gives the physical position in mm. See the tetrahedron example.
J — Mapping Jacobian
The 3 × 3 matrix Jij=​∂xi/∂ξj, in mm. Its determinant scales volume; its inverse transpose transforms column gradients. See the Jacobian calculation and gradient transformation.
∫Ω(·)dV,∫Γ(·)dS — Integrals
Sum a field over a volume or surface. Units multiply by mm³ or mm². For example, the solid nodal force contribution ∫ΓNatidS has units N. Virtual work ∫Ωε(w):σdV, ∫Ωw·bdV and ∫Γw·tdS each has units N·mm. See test displacement and assembled loads. Integration and virtual-work examples.

Components, shear and signs

Global vectors use x,y,z order in a right-handed Cartesian frame; positive displacement and force components point along the corresponding positive axis. Positive normal stress means tension. For a solid, positive pressure acts inward, opposite the outward normal. A shell facet instead takes its normal from node winding; it has no unique outward side. KoFEM’s positive shell pressure acts against that winding normal.

Tensor strain and engineering shear

Tensor shear εxy is half the engineering shear γxy. This guide orders six-component solid arrays as xx,yy,zz,yz,xz,xy and writes:

εeng=(εxx,εyy,εzz,2εyz,2εxz,2εxy)T.
σvec=(σxx,σyy,σzz,σyz,σxz,σxy)T.

Shear stresses are not doubled. With this pairing, σ:ε=​σvecTεeng. Other texts and libraries use different orders; check both order and shear scaling before multiplying arrays.

For a simple shear displacement ux=​αy,uy=​uz=​0, choose α=​0.002. Then εxy=​0.001 and γxy=​0.002. With μ=​80000 MPa, σxy=​2μεxy=​μγxy=​160 MPa. Using tensor shear in an engineering-shear matrix would halve this stress.

KoFEM’s solid recovery computes the full 3 × 3 tensor directly. Its topology stress operator uses the six-component order above with engineering shear. Shell membrane calculations use local (εxx,εyy,γxy) and (σxx,σyy,τxy); τxy is the same shear stress component as σxy. Local shell axes follow the facet, not global x,y,z.

Von Mises stress uses the deviatoric tensor sij=​σij−tr(σ)δij/3:

σvm=32sijsij.

The solid output samples it at each element centre. Shell output takes the greater value at the two surfaces, including membrane and bending. Coupled output keeps separate solid and shell element values. Smoothed viewport colours are derived values, not additional solved unknowns.

KoFEM units and a dimensional check

At the reviewed revision, the app labels and defaults use mm for length, displacement and shell thickness; N for force; N·mm for moment; and MPa (N/mm²) for Young’s modulus, pressure and stress. Mass density is labelled tonne/mm³. Default steel has E=​210000 MPa, ν=​0.3 and ρ=​7.85×10−9 tonne/mm3.

The static solid, shell and coupled payloads pass numerical coordinates, stiffnesses, section sizes and loads without automatic unit conversion. The solver does not attach units to those numbers. The current static payloads do not use stored mass density to generate gravity or inertia. Check imported geometry scale and enter compatible values; the fixed result labels do not prove that inputs were consistent.

For a general comparison of SI m–kg–s, N–mm–s, N–mm–ms, kN–mm–ms, CGS and US customary systems, see the separate unit-system table and material conversions. SI uses Pa for stress and modulus; N–mm uses MPa. Converting changes the numbers for both material input and stress output while preserving the physical quantities. This does not imply a unit-system selector in KoFEM.

Follow force through stiffness to displacement

Use the uniform axial bar with P=​1000 N, length L=​1000 mm, area A=​100 mm2 and E=​210000 MPa. Here A is area, not a stiffness matrix. Its axial stiffness is a scalar:

kbar=EAL=210000 N/mm2×100 mm21000 mm=21000 N/mm.

Stress is P/A=​10 MPa. Strain is σ/E≈​4.7619×10−5, dimensionless. Extension is δ=​P/kbar=​εL≈​0.047619 mm. Thus stiffness (N/mm) times displacement (mm) gives force (N), as required by Kd=​f. The bar permits lateral contraction and assumes uniform axial stress; a three-dimensional clamp changes the local stress state.

In SI the same inputs are L=​1 m, A=​10−4 m2 and E=​2.10×1011 Pa. They give kbar=​2.10×107 N/m, σ=​107 Pa and δ≈​4.7619×10−5 m. The extension and stress are physically identical to the N–mm calculation.

Reading the implementation

Textbook symbols describe mathematical roles; local variable names need their surrounding code. In particular:

Sources and further reading

Product conventions reviewed on 2 November 2026 at 141be83ea768df22cd7471409fb0f389d6de502f. Solver sources link the Rust module at a later revision. These sources establish storage, unit and sign conventions; they do not establish the accuracy of every model or stress concentration.

  1. Material defaults, material input labels, load quantities and result units and averaging.
  2. Payloads: solid coordinates and materials, shell, coupled and coupled materials.
  3. Solid strain, stress and results, solid pressure and traction, shell strain and local axes, shell pressure orientation, shell outputs, coupled outputs and six-component stress order.
  4. Bathe, Finite Element Procedures (1996), continuum mechanics and displacement-based finite element formulations.
  5. Consistent-unit references, including Ansys LS-DYNA, Barenblatt, Buckingham and Taylor. The blast-wave scaling example shows what dimensional reasoning can and cannot determine.