Back

#materials

3 APIs with this tag

Stress, Strain & Young's Modulus API

Axial stress, strain and Young's modulus as an API, computed locally and deterministically. The stress endpoint relates the three quantities of an axially loaded member — the stress σ = F/A, the strain ε = ΔL/L and Young's modulus E = σ/ε — and solves for whichever you leave out, taking the modulus directly, in gigapascals, or from a built-in material table (steel, aluminium, copper, titanium, concrete, glass and more), with stress reported in pascals, MPa and GPa. The elongation endpoint computes how much a bar stretches under an axial load, δ = F·L/(A·E), from the force, length and cross-section (area or diameter) and the material or modulus, along with the stress, strain and the axial stiffness k = A·E/L. The poisson endpoint works with Poisson's ratio ν: the lateral strain that accompanies an axial strain, and the shear modulus G = E/(2(1+ν)) and bulk modulus K = E/(3(1−2ν)) derived from the Young's modulus. Everything is computed locally and deterministically, so it is instant and private. Ideal for mechanical, civil and materials-engineering tools, structural and machine-design apps, materials testing and education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is axial material deformation; for the 2D state of stress (principal stresses, Mohr's circle) use a Mohr-circle API and for column buckling use a buckling API.

api.oanor.com/youngmodulus-api

Thermal Expansion API

Thermal-expansion maths as an API, computed locally and deterministically. The linear endpoint computes how much a solid grows or shrinks when its temperature changes, ΔL = α·L0·ΔT, returning the change in length and the new length from an original length, a temperature change (given directly or as an initial and final temperature) and the linear expansion coefficient α — taken from a built-in material table (steel, aluminium, copper, concrete, glass, invar and more) or supplied directly; lengths accept metres, centimetres, millimetres, feet or inches. The volume endpoint computes volumetric expansion, ΔV = β·V0·ΔT, where for a solid the volumetric coefficient is β ≈ 3α and for a liquid (water, ethanol, mercury, petrol and others) β is taken directly; volumes accept cubic metres, litres, millilitres or cubic feet. The materials endpoint lists the coefficients. A negative temperature change gives contraction. Everything is computed locally and deterministically, so it is instant and private. Ideal for civil and mechanical engineering tools, rail, pipe and bridge expansion-gap design, manufacturing-tolerance and HVAC apps, and physics education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is thermal expansion; for heat energy and temperature change use a specific-heat API.

api.oanor.com/thermalexpansion-api

Metal Weight API

Metal stock weight and cost as an API, computed locally and deterministically. The weight endpoint computes the mass of a length of metal stock from its shape, dimensions and material: round bar, square bar, flat bar or plate, sheet, hexagonal bar, round tube or pipe and rectangular (box) tube. It works out the cross-sectional area, multiplies by the length and the material density, and returns the weight per piece and the total for a quantity — in kilograms, pounds, grams and tonnes — along with the volume. Material density is looked up from a built-in table of metals (steel, stainless, aluminium, copper, brass, bronze, lead, zinc, titanium, nickel, gold, silver and more) or you can pass an explicit density. The cost endpoint multiplies that weight by a price per kilogram, pound or tonne to give the material cost per piece and in total. The materials endpoint lists the densities. Dimensions accept millimetres, centimetres, metres, inches or feet. Everything is computed locally and deterministically, so it is instant and private. Ideal for metal fabrication and machine-shop tools, engineering and CAD apps, scrap and stock quoting, and shipping-weight estimates. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is metal stock weight from geometry and density; for beam reactions and deflection use a beam API and for live metal spot prices use a commodities API.

api.oanor.com/metalweight-api