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
-
Cylindrical shell thickness
The required thickness of a cylindrical shell under internal pressure.
t_circ = P·R ÷ (S·E − 0.6P); t_long = P·R ÷ (2S·E + 0.4P); t = larger of the two
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Formed head thickness
The required thickness of an ellipsoidal, torispherical or hemispherical head.
ellipsoidal: t = P·D·K ÷ (2S·E − 0.2P), K = (2 + (D ÷ 2h)²) ÷ 6; torispherical: t = P·L·M ÷ (2S·E − 0.2P), M = (3 + √(L ÷ r)) ÷ 4
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Conical section thickness
The required thickness of a cone.
t = P·D ÷ (2·cos α × (S·E − 0.6P))
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Maximum allowable working pressure
The pressure a shell of given thickness may carry.
P_c = S·E·t ÷ (R + 0.6t); P_l = 2S·E·t ÷ (R − 0.4t); P = smaller of the two
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Hydrostatic test pressure
The test pressure from the allowable working pressure.
P_test = 1.3 × MAWP × stress ratio
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
External pressure, elastic formulas
The critical and allowable external pressure of a plain cylinder.
long: P = 2E·(t ÷ D)³ ÷ (1 − ν²); short: P = 2.42E·(t ÷ D)^2.5 ÷ ((1 − ν²)^0.75 × (L ÷ D − 0.45·√(t ÷ D))); P_a = P_cr ÷ 4
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Limits of reinforcement
How far along and normal to the wall material counts as reinforcement of an opening.
along wall = max(d, Rn + tn + t); normal = min(2.5t, 2.5tn + te)
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Opening reinforcement areas
The area an opening removes and the areas available to replace it.
A = d·tr + 2tn·tr·(1 − fr₁); available = A₁ + A₂ + A₄₁ + A₅; margin = available ÷ A − 1
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Saddle bending stresses
Longitudinal bending moments and stresses of a horizontal vessel on two saddles.
M₁ = Q·a·(1 − (1 − a ÷ L + (R² − H²) ÷ 2aL) ÷ (1 + 4H ÷ 3L)); σ = M ÷ (π·R²·t)
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Wind velocity pressure
The wind pressure on a vessel from the wind speed.
q = 0.613 × Kz × Kzt × Kd × V² × I
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Wind force and overturning moment
The wind force on a vertical vessel and its moment at the base.
F = q × 10⁻⁶ × Cf × D × H; M = F × H ÷ 2
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Seismic base shear and moment
A first estimate of the seismic shear and overturning moment.
V = Cs × W; M = Cs × W × 2H ÷ 3
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Skirt stresses
Compressive and tensile stress at the base of a skirt from weight and overturning.
A = π·D·t; Z = π·D²·t ÷ 4; σ = M ÷ Z ± W ÷ A
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Flat head thickness
The required thickness of a circular flat head or cover.
t = d × √(C·P ÷ (S·E))
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Minimum design metal temperature
The stress ratio and the temperature reduction read from points a person types.
ratio = tr·E ÷ (tn − c); MDMT = base − ΔT(ratio)
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Data sheet values
The rows and text of the vessel data sheet.
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
Equipment parameters for the plant model
The diameter, length and support height handed to the plant equipment.
Pressure vessel thickness and support formulas process/equip/vessel.js64-bit- CadCraft
- BimCraft
-
External pressure from chart factors
The allowable external pressure of a cylinder from the chart factor A and the material curve a person types.
chart: P_a = 4B ÷ (3·D_o ÷ t); elastic: P_a = 2A·E ÷ (3·D_o ÷ t)
Pressure vessel thickness and support formulas process/equip/vessel2.js64-bit- CadCraft
- BimCraft
-
Stiffening ring inertia
The moment of inertia a stiffening ring must have.
I_s = D_o² × L_s × (t + A_s ÷ L_s) × A ÷ 14
Pressure vessel thickness and support formulas process/equip/vessel2.js64-bit- CadCraft
- BimCraft
-
Head outline
The outline of a hemispherical, ellipsoidal or torispherical head from the axis to the tangent line.
ellipsoidal: (R·cos a, (R ÷ ratio)·sin a), a from π ÷ 2 to 0 in n steps
Vessel outline and inside volume process/equip/vessel2.js64-bit- CadCraft
- BimCraft
-
Torispherical head outline
The crown and knuckle arcs of a torispherical head and where they join.
c = R − r_k; dz = √((R_c − r_k)² − c²); junction angle = atan2(dz, c)
Vessel outline and inside volume process/equip/vessel2.js64-bit- CadCraft
- BimCraft
-
Vessel outline, height and volume
The full inside outline with both heads, the overall height and the inside volume.
V = Σ π·(r₁² + r₁·r₂ + r₂²) ÷ 3 × (z₂ − z₁); m³ = mm³ × 10⁻⁹
Vessel outline and inside volume process/equip/vessel2.js64-bit- CadCraft
- BimCraft
-
Nozzle position on the body
The position and axis of a nozzle on the shell or on a head.
position = (R·cos φ, R·sin φ, z_tangent + at)
Vessel outline and inside volume process/equip/vessel2.js64-bit- CadCraft
- BimCraft
-
Liquid release through a hole
The mass flow and exit velocity of a liquid leaving through a hole.
v = √(2ΔP ÷ ρ + 2g·h); ṁ = Cd × A × ρ × v
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Gas release through a hole
The mass flow of a gas leaving through a hole, choked or not.
choked: ṁ = Cd·A·P₀·√(k·M ÷ (Z·R·T) × (2 ÷ (k + 1))^((k+1)/(k−1)))
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Flash fraction
The fraction of a pressurized liquid that turns to vapor on release.
F = 1 − exp(−cp·(T − T_b) ÷ h_fg)
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Pool evaporation rate
The evaporation rate from a liquid pool in wind.
k_g = 0.004786 × U^0.78 × d^(−0.11) × Sc^(−0.67); ṁ = k_g × A × M × P_v ÷ (R·T)
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Radiation distance from a point source
The distance at which the heat flux from a fire falls to a given level.
r = √(τ·χ·Q ÷ (4π·q))
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Pool fire
Flame height, heat release and ground distances to each flux level for a burning pool.
H = 42·D × (m″ ÷ (ρ_a·√(g·D)))^0.61; ground = √(r² − (H ÷ 2)²)
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
TNT-equivalent mass
The mass of TNT with the same explosion energy as the fuel.
W = η × m × ΔH_c ÷ E_TNT
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Blast overpressure
The side-on overpressure at a distance from a TNT charge.
Z = R ÷ ∛W; P ÷ P_a = 808·(1 + (Z ÷ 4.5)²) ÷ √((1 + (Z ÷ 0.048)²)(1 + (Z ÷ 0.32)²)(1 + (Z ÷ 1.35)²))
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Distance to an overpressure
The distance at which the blast overpressure falls to a given level.
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Probit of a dose
The probit value for a concentration and exposure time.
Pr = a + b × ln(Cⁿ × t)
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Error function
The error function used to turn a probit into a probability.
erf(x) ≈ 1 − (a₁t + a₂t² + a₃t³ + a₄t⁴ + a₅t⁵)·e^(−x²), t = 1 ÷ (1 + 0.3275911·|x|)
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Probability from a probit
The probability that corresponds to a probit value.
P = ½ × (1 + erf((Pr − 5) ÷ √2))
Release, fire, explosion and toxic screening process/safety/consequence.js64-bit- CadCraft
- BimCraft
-
Blast curve interpolation
Reads a scaled overpressure or duration from the curve points a person typed.
ln y = ln y₀ + (ln y₁ − ln y₀) × (ln R − ln R₀) ÷ (ln R₁ − ln R₀)
Release, fire, explosion and toxic screening process/safety/blast.js64-bit- CadCraft
- BimCraft
-
Sachs scaling length
The length that scales distances for an explosion of a given energy.
L = ∛(E ÷ P₀)
Release, fire, explosion and toxic screening process/safety/blast.js64-bit- CadCraft
- BimCraft
-
Multi-energy overpressure
The overpressure and positive duration at a distance from a blast source of given energy and strength.
R̄ = R ÷ L; ΔP = P̄(R̄) × P₀; duration = t̄(R̄) × L ÷ 340
Release, fire, explosion and toxic screening process/safety/blast.js64-bit- CadCraft
- BimCraft
-
Distance to a multi-energy overpressure
The distance at which the overpressure of a blast source falls to a given level.
Release, fire, explosion and toxic screening process/safety/blast.js64-bit- CadCraft
- BimCraft
-
Overpressure from several sources
The overpressure at a point from each blast source and which one governs.
E = volume × energy density; R = max(distance, 0.01 m)
Release, fire, explosion and toxic screening process/safety/blast.js64-bit- CadCraft
- BimCraft
-
Blast contour circles
Circles on the site plan at given overpressure levels.
Release, fire, explosion and toxic screening process/safety/blast.js64-bit- CadCraft
- BimCraft
-
Heavy-gas cloud spreading
Radius, height, concentration and drift of a dense gas cloud over time, and when it dilutes to a given concentration.
dR/dt = Cg·√(g′·H); dV/dt = π·R²·a_top·u* + 2π·R·H·a_edge·dR/dt; g′ = g·(ρ − ρ_a) ÷ ρ_a
Release, fire, explosion and toxic screening process/safety/heavygas.js64-bit- CadCraft
- BimCraft
-
Dilution flow, volume and radius
The ventilation flow needed to dilute a release, the hypothetical flammable volume and the radius of a sphere of that volume.
LFL_m = LFL × M × P ÷ (R·T); Q_min = rate ÷ (k × LFL_m) × (T ÷ 293); V_z = f × Q_min ÷ C; r = ∛(3V_z ÷ 4π)
Hazardous area extents and zone geometry process/safety/area.js64-bit- CadCraft
- BimCraft
-
Zone extent and shape
The extent of each zone and its shape: a sphere, or a ground-to-top cylinder for a heavy vapor.
sphere: center (x, y, z), radius r; cylinder: z from 0 to z + r
Hazardous area extents and zone geometry process/safety/area.js64-bit- CadCraft
- BimCraft
-
Zone sections
The outline of each zone where a vertical plane cuts it.
half-width = √(r² − d²)
Hazardous area extents and zone geometry process/safety/area.js64-bit- CadCraft
- BimCraft
-
Point inside a zone
Whether an item's position lies inside a zone volume.
sphere: |p − c| ≤ r; cylinder: plan distance ≤ r and z₀ ≤ z ≤ z₁
Hazardous area extents and zone geometry process/safety/area.js64-bit- CadCraft
- BimCraft
-
Circle as a polygon
The ring of points that stands for a circular zone in exported files.
(cx + r·cos(2π·k ÷ 48), cy + r·sin(2π·k ÷ 48)), rounded to 6 decimals
Hazardous area extents and zone geometry process/safety/zones.js64-bit- CadCraft
- BimCraft
-
Zone footprints as GeoJSON
The plan footprints of the zones as a GeoJSON file in local meters.
Hazardous area extents and zone geometry process/safety/zones.js64-bit- CadCraft
- BimCraft
-
Zone footprints as DXF
The same footprints as DXF polylines, one layer per level.
Hazardous area extents and zone geometry process/safety/zones.js64-bit- CadCraft
- BimCraft
-
Zone volume mesh
A closed triangle mesh of a sphere, hemisphere, cylinder or extruded polygon zone.
Hazardous area extents and zone geometry process/safety/zones.js64-bit- CadCraft
- BimCraft
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.