Resources Numerical accuracy
Calculations
Every calculation under our calculation policies: what it works out, its formula and the precision it runs at. Open one to see its code as it is in the released app.
Calculations
-
Field values at the picked node or element
The value of each shown field at the picked node or element.
Script workspace: the part handed to scripts and picked values ws-script.js64-bit- PartCraft
-
Deformed shape for drawing
The drawn position of each surface corner when a displacement field deforms the shape.
drawn position = position + scale × displacement
Script workspace: the part handed to scripts and picked values ws-script.js32-bit, display only- PartCraft
-
Element size of a live analysis level
The element size the coarse and refined live solves use.
h = base size × level factor
Simulation workspace: plot values and the hover probe ws-simulation.js64-bit- PartCraft
-
Mode shape magnitude
The size of the mode shape's displacement at each plot vertex.
|u| = √(u_x² + u_y² + u_z²)
Simulation workspace: plot values and the hover probe ws-simulation.js32-bit in part- PartCraft
-
Safety factor plot values
The safety factor at each plot vertex, for coloring.
safety = min(yield ÷ stress, 100)
Simulation workspace: plot values and the hover probe ws-simulation.js32-bit, display only- PartCraft
-
Legend range
The least and largest value of a plotted result, for the legend.
Simulation workspace: plot values and the hover probe ws-simulation.js64-bit- PartCraft
-
Result under the pointer
The stress, displacement, strain and safety factor at the point under the pointer.
value = w₀v₀ + w₁v₁ + w₂v₂; safety = yield ÷ stress
Simulation workspace: plot values and the hover probe ws-simulation.js32-bit in part- PartCraft
-
Barycentric weights
The three weights of a point inside a triangle.
w₁ = (d₁₁d₂₀ − d₀₁d₂₁) ÷ (d₀₀d₁₁ − d₀₁²); w₂ = (d₀₀d₂₁ − d₀₁d₂₀) ÷ (d₀₀d₁₁ − d₀₁²); w₀ = 1 − w₁ − w₂
Simulation workspace: plot values and the hover probe ws-simulation.js64-bit- PartCraft
-
Deformed plot positions
The drawn position of each plot vertex when the deformed shape is shown.
drawn position = position + scale × displacement
Simulation workspace: plot values and the hover probe ws-simulation.js32-bit, display only- PartCraft
-
Automatic deformation scale
The factor the displacements are multiplied by so the deformed shape can be seen.
raw = 0.08 × box diagonal ÷ largest |u|, rounded up to 1, 2, 5 or 10 × 10ᵉ
Simulation workspace: plot values and the hover probe ws-simulation.js32-bit, display only- PartCraft
-
Rounding to 3 decimals
Rounds a number to a multiple of 0.001 before it is stored.
round(v × 1000) ÷ 1000
Add-on display bodies: stored coordinates and placement addons/addon-bodies.js64-bit- PartCraft
-
Body coordinates as stored
The box corners or mesh positions, offset and turn of one body as they go into the part file.
Add-on display bodies: stored coordinates and placement addons/addon-bodies.js64-bit- PartCraft
-
Body placed in the world
Turns a body's points about the Y axis and moves them by its offset.
x′ = x cos a + z sin a + t_x; y′ = y + t_y; z′ = −x sin a + z cos a + t_z; a = rotY × π ÷ 180
Add-on display bodies: stored coordinates and placement addons/addon-bodies.js64-bit- PartCraft
-
Box of all add-on bodies
The least and largest coordinates of every placed add-on body.
Add-on display bodies: stored coordinates and placement addons/addon-bodies.js64-bit- PartCraft
-
Rounding for the panel
Rounds a result to a few significant digits before the panel words it.
Advanced simulation add-on: result summary and color bands addons/advanced-sim/lib/results.js64-bit- PartCraft
-
Summary rows
The load reached, largest displacement and stress, plastic strain, contact force and penetration of a result.
load = √(F_x² + F_y² + F_z²) × λ; penetration % = 100 × penetration ÷ h
Advanced simulation add-on: result summary and color bands addons/advanced-sim/lib/results.js64-bit- PartCraft
-
Color bands and legend
Splits the plot mesh into bands of equal value range and gives each band's limits.
band = floor((v − lo) ÷ (hi − lo) × n), clamped to 0 … n − 1; limits: lo + (hi − lo) × i ÷ n
Advanced simulation add-on: result summary and color bands addons/advanced-sim/lib/results.js64-bit- PartCraft
-
A flat face's box in its own plane
The extent of a flat face along two axes lying in its plane.
u = (n × t) ÷ |n × t|; v = n × u; box = least and largest p·u and p·v over the face's triangle corners
Advanced simulation add-on: finding contact pairs addons/advanced-sim/lib/setup.js32-bit in part- PartCraft
-
Facing faces within a gap
The pairs of flat faces that face each other, with their gap and overlap.
n·m ≤ −cos 0.5°; d = (o_B − o_A)·n with −1e-6 ≤ d ≤ gap; overlap = w × h
Advanced simulation add-on: finding contact pairs addons/advanced-sim/lib/setup.js64-bit- PartCraft
-
Triangle areas and centroids
The area and center of each mesh triangle.
area = |(b − a) × (c − a)| ÷ 2; centroid = (a + b + c) ÷ 3 × 1000
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js64-bit- PartCraft
-
Area, mean and peak flux density of each body
Each body's area in mm², its area-weighted mean |B| and its largest |B|.
mean B = Σ(Bₑ × areaₑ) ÷ Σ areaₑ
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js32-bit in part- PartCraft
-
Result against a hand formula
The value the result gives where a template's hand formula applies, and its relative difference.
got = Σ(v × w) ÷ Σ w; diff = got ÷ want − 1
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js32-bit in part- PartCraft
-
Flux lines
Contour segments of the vector potential A, and the flux between neighboring lines.
levelᵢ = lo + ΔA × (i + 1), ΔA = (hi − lo) ÷ (k + 1); t = (L − aᵢ) ÷ (aⱼ − aᵢ)
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js32-bit in part- PartCraft
-
Top of the color scale
The |B| that the top color stands for.
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js32-bit, display only- PartCraft
-
Number format of the exports
How a number is written into the CSV and VTK files.
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js64-bit- PartCraft
-
Field table (CSV)
One row per triangle: center, region, area and B.
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js32-bit in part- PartCraft
-
VTK file
The mesh in mm with B per triangle and A per node.
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js32-bit in part- PartCraft
-
Summary table (CSV)
Peak B, each body's area, mean and peak B, forces, torque and the hand-formula check.
Magnetics add-on: field readout, flux lines and exports addons/magnetics/lib/results.js32-bit in part- PartCraft
-
Permeability of free space
The constant μ0 used in every hand formula.
μ0 = 4 × 10⁻⁷ × π
Magnetics add-on: template shapes and hand formulas addons/magnetics/lib/templates.js64-bit- PartCraft
-
Round conductor as a polygon
The corners of the polygon that stands for a round wire.
pᵢ = (cx + r cos(2πi ÷ n), cy + r sin(2πi ÷ n)), n = 48
Magnetics add-on: template shapes and hand formulas addons/magnetics/lib/templates.js64-bit- PartCraft
-
C-core gap field
The flux density in the air gap of a C-core electromagnet by the magnetic circuit formula.
B = μ0 × NI ÷ ((g + l ÷ μr) × 10⁻³), l = 2(w − tk) + 2(h − tk) − g
Magnetics add-on: template shapes and hand formulas addons/magnetics/lib/templates.js64-bit- PartCraft
-
Magnet in a closed iron frame
The flux density in a permanent magnet set in one leg of a closed frame.
B = Br × (lm ÷ μrm) ÷ (lm ÷ μrm + L ÷ μr), L = 2(w − tk) + 2(h − tk) − lm
Magnetics add-on: template shapes and hand formulas addons/magnetics/lib/templates.js64-bit- PartCraft
-
Field round one wire
The flux density at two radii from the center of a round conductor.
B = μ0 × I ÷ (2π × r × 10⁻³), r = 2a
Magnetics add-on: template shapes and hand formulas addons/magnetics/lib/templates.js64-bit- PartCraft
-
Force between two wires
The force per meter between two parallel conductors.
F = μ0 × |I₁ × I₂| ÷ (2π × d × 10⁻³)
Magnetics add-on: template shapes and hand formulas addons/magnetics/lib/templates.js64-bit- PartCraft
-
Template sizes within their ranges
Clamps each size a person types to the template's allowed range.
Magnetics add-on: template shapes and hand formulas addons/magnetics/lib/templates.js64-bit- PartCraft
-
Frame of the study's plane
The origin and axes of the plane the result is drawn in.
x = (helper × n) ÷ |helper × n|; y = n × x
Magnetics add-on: the result drawn as display bodies addons/magnetics/lib/bodies.js32-bit, display only- PartCraft
-
Triangle cut to the crop rectangle
Cuts a field triangle to the rectangle that is shown.
Magnetics add-on: the result drawn as display bodies addons/magnetics/lib/bodies.js32-bit, display only- PartCraft
-
Field color bands
The color band each triangle falls in.
band = min(9, floor(|B| ÷ top × 10))
Magnetics add-on: the result drawn as display bodies addons/magnetics/lib/bodies.js32-bit, display only- PartCraft
-
Defining constants
The pound, standard gravity, inch and foot, and the pound-force, gallon and British thermal unit built from them.
lbf = 0.45359237 × 9.80665; gal = 231 × 0.0254³; BTU = 1055.05585262 J
Engineering units: factors, dimensions and conversion engineer/eng-units.jsExact- PartCraft
-
Unit table
Each unit's factor to SI and its dimension.
Engineering units: factors, dimensions and conversion engineer/eng-units.jsExact- PartCraft
-
SI prefixes
A prefixed unit such as kPa or mm from its base unit.
factor = prefix × unit factor
Engineering units: factors, dimensions and conversion engineer/eng-units.js64-bit- PartCraft
-
Combining units
The factor and dimension of a product or quotient of two units.
f = f_a × f_bᵉ; dimension = d_a + e × d_b
Engineering units: factors, dimensions and conversion engineer/eng-units.js64-bit- PartCraft
-
Reading a unit text
Turns a text such as W/(m^2 K) into one factor and one dimension.
Engineering units: factors, dimensions and conversion engineer/eng-units.js64-bit- PartCraft
-
Value to SI
A value in a given unit as its SI value.
SI = v × f
Engineering units: factors, dimensions and conversion engineer/eng-units.js64-bit- PartCraft
-
Value from SI
An SI value in a given unit.
v = SI ÷ f
Engineering units: factors, dimensions and conversion engineer/eng-units.js64-bit- PartCraft
-
Unit to unit
A value converted from one unit to another of the same kind.
result = v × f_from ÷ f_to
Engineering units: factors, dimensions and conversion engineer/eng-units.js64-bit- PartCraft
-
Temperature points
Celsius and Fahrenheit readings to and from kelvin.
K = °C + 273.15; K = (°F − 32) × 5 ÷ 9 + 273.15
Engineering units: factors, dimensions and conversion engineer/eng-units.js64-bit- PartCraft
-
Power and logarithm used
Which power and logarithm functions the curves are evaluated with.
Material packs: property curves by temperature engineer/material-pack.js64-bit- PartCraft
-
One curve segment
The fitted curve's value at a temperature.
y = 10^(Σ cᵢ Lⁱ), L = log10 T; or y = c₀ + T(c₁ + T(c₂ + T(c₃ + T c₄)))
Material packs: property curves by temperature engineer/material-pack.js64-bit- PartCraft
-
Property at a temperature
The property value with its unit, range, fit error and source.
value = curve(T) × scale
Material packs: property curves by temperature engineer/material-pack.js64-bit- PartCraft
A calculation is added only after its source was read. Each statement can be checked in the code shown on its policy's page; the app repositories are public. When a release changes a calculation, its page says so until it has been read again.