Notation
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 denote scalars. Bold lowercase letters such as denote vectors; bold uppercase Latin letters such as 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 and are scalars.
A field assigns a value to every position: displacement depends on . A discrete coefficient vector 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 , and . Spatial indices range from 1 to 3. Repeated spatial indices in one term are summed (Einstein convention): . A free index labels the component of the result. Node or basis indices and element indices use explicit sums.
A subscript can also be a label: means von Mises stress, not a sum over indices and . A superscript marks an FEM approximation, an element-local quantity, and a transpose; other numerical superscripts are powers. The Kronecker delta is 1 for equal indices and 0 otherwise. The identity tensor 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
| Symbol | Meaning and type | Units |
|---|---|---|
| Position; 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 ; see integration. | : mm³ | |
| Boundary ; carries prescribed displacement, prescribed traction. These are surface sets; their common edges do not add surface area. See normal. | : mm² | |
| Unit 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 | |
| Displacement field; a 3-vector from the original to the displaced position. Its symmetric gradient gives small strain. | mm | |
| Test displacement (virtual displacement); a 3-vector field, zero on for prescribed-displacement problems. It weights equilibrium in the weak form; see virtual work. | mm | |
| Small-strain tensor; a symmetric 3 × 3 tensor, . 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² | |
| Von 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
| Symbol | Meaning and type | Units |
|---|---|---|
| Young’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 and . See Lamé parameters. | 1 | |
| Lamé parameters; scalars defining . The shear modulus and . 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³ | |
| Concentrated force; a 3-vector. A scalar 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 | |
| Traction; a 3-vector field of force per surface area, . Integrating it over the selected surface gives a resultant force. See integration. | N/mm² | |
| Body force per volume; a 3-vector field. For gravity, , where is acceleration. This general notation does not imply a gravity input in the current static app. See units. | N/mm³ | |
| Pressure magnitude; scalar, positive in compression, giving on a solid. The subscript distinguishes it from polynomial order in some textbooks; this guide says order 1 or 2. See orientation. | MPa |
Finite element quantities
For a three-dimensional solid displacement approximation with scalar basis functions, there are translational coefficients before constraints. Interpolation reconstructs the displacement field from those coefficients. In component form:
| Symbol | Meaning and type | Units |
|---|---|---|
| Scalar shape function for basis ; dimensionless field. The interpolation matrix groups blocks and has size , so . Upright N in a unit is a newton, not a shape function. See coefficients. Linear and quadratic shape functions. | 1 | |
| Discrete displacement coefficient vector of length ; is its coefficient for basis , component . In a nodal displacement basis these are nodal values; higher order adds nodes beyond the corners. See returned vertex samples. | mm | |
| Strain–displacement matrix; size in the engineering-shear convention below. Spatial derivatives of the shape functions give . blocks and a worked element. | 1/mm | |
| Global stiffness matrix; size . It maps translational coefficients to force in , with constraints treated appropriately. See the dimensional check. Assembly example. | N/mm | |
| Assembled load vector of length ; 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: . 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 .
| Symbol | Meaning and type | Units |
|---|---|---|
| Positive 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 describe bending; 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 ; the last component includes both twisting derivatives. In the centred section law , is membrane engineering strain. | 1/mm | |
| Local three-component in-plane force resultant , ordered . Here is plane-stress vector . Lowercase is a section resultant, distinct from the bold boundary normal. | N/mm | |
| Local moment resultant per unit length , 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 is an element index. The design density is a dimensionless fraction and is never written without its element subscript.
| Symbol | Meaning and type | Units |
|---|---|---|
| Design (relative) density of element ; 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 | |
| SIMP penalty exponent in ; default 3. Not a pressure or a polynomial order. Penalized stiffness. | 1 | |
| Stiffness of a void element; KoFEM fixes , where is the full-material Young’s modulus. It keeps the global stiffness positive definite. | MPa | |
| Compliance : work of the load vector on the displacement, twice the strain energy. Lower is stiffer. Objectives. | N·mm | |
| Full-material element energy measure , using the element’s displacement coefficients. Compliance sensitivity is . Sensitivities. | N·mm | |
| Target material volume as a fraction of the meshed design-space volume . Not the volume shown after thresholding. | 1 | |
| Filter 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 , is a 3-vector. For a vector , is a 3 × 3 tensor: row 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.
- — Symmetric gradient
- The symmetric part of the vector gradient: . 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 , is a scalar. For stress, is a 3-vector. Each has the field’s units divided by mm. Thus and body force both have units N/mm³ in equilibrium, . Vector and stress divergence examples.
- — Transpose
- Swap rows and columns: . An matrix becomes ; physical units stay the same. The symmetric part of is . See small strain. Transpose example.
- — Dot product
- The scalar for two 3-vectors. Units multiply: force dotted with displacement has work units N·mm. The norm has the same units as . See virtual work. Dot-product example.
- — Outer product
- Two 3-vectors form a 3 × 3 tensor, ; units multiply. Unlike a dot product, it retains two directions. See the outer-product calculation and its role in displacement interpolation.
- — Double contraction
- The scalar , summed over both spatial indices for two second-order tensors. Units multiply. For symmetric tensors both off-diagonal entries contribute: includes , and similarly for the other shear pairs. See engineering shear. Contraction and shear calculation.
- — Trace
- The scalar 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 gives the physical position in mm. See the tetrahedron example.
- — Mapping Jacobian
- The 3 × 3 matrix , in mm. Its determinant scales volume; its inverse transpose transforms column gradients. See the Jacobian calculation and gradient transformation.
- — Integrals
- Sum a field over a volume or surface. Units multiply by mm³ or mm². For example, the solid nodal force contribution has units N. Virtual work , and each has units N·mm. See test displacement and assembled loads. Integration and virtual-work examples.
Components, shear and signs
Global vectors use 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 is half the engineering shear . This guide orders six-component solid arrays as and writes:
Shear stresses are not doubled. With this pairing, . Other texts and libraries use different orders; check both order and shear scaling before multiplying arrays.
For a simple shear displacement , choose . Then and . With , . 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 and ; is the same shear stress component as . Local shell axes follow the facet, not global .
Von Mises stress uses the deviatoric tensor :
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 , and .
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 , length , area and . Here is area, not a stiffness matrix. Its axial stiffness is a scalar:
Stress is . Strain is , dimensionless. Extension is . Thus stiffness (N/mm) times displacement (mm) gives force (N), as required by . 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 , and . They give , and . 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:
verticesstores positions as per vertex.displacementsstores the displacement coefficients, not spatial coordinates. The guide calls those coefficients .matrix,solutionandrhsin the solid linear solve play the roles of stiffness, unknowns and right-hand side.young/young_modulusandpoisson/poisson_ratiomean and .lambdaandmuare the Lamé parameters.- In solid stress recovery,
gradientis the displacement gradient ,strainone entry of the tensor strain anddeviatorone entry of the deviatoric stress . Shell code names the normal displacementw; the guide reserves for a test field. displacementsreturns per vertex/node; the UI calls theseUx,Uy,Uz. Solid order-2 coefficient vectors also contain higher-order DOFs; returned corner samples do not contain the full vector. Shell/coupled internals group at each node; the displacement result returns translations. Solid coefficient vectors and element matrices group the three components of each node, index , as in the interpolation above.von_misesis a scalar per element, not a six-component stress array. The standard solid solve does not return a Voigt stress vector.totalForcecan hold N, N·mm or MPa according to the load group’s kind; the name alone does not establish its units.
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.
- Material defaults, material input labels, load quantities and result units and averaging.
- Payloads: solid coordinates and materials, shell, coupled and coupled materials.
- 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.
- Bathe, Finite Element Procedures (1996), continuum mechanics and displacement-based finite element formulations.
- Consistent-unit references, including Ansys LS-DYNA, Barenblatt, Buckingham and Taylor. The blast-wave scaling example shows what dimensional reasoning can and cannot determine.