Barrel cam calculator: follower motion, friction, jamming and whether your Ansys stress is real

A barrel cam's pressure angle is the helix angle of its track: tan φ = (ds/dθ)/Rm. With a simple harmonic rise of 11.5 mm over 180° on a 25 mm track radius it peaks at 12.95°, well under the usual 30° guideline. This calculator gives the follower's lift, speed and pressure angle, the cam torque with friction, the angle at which a long follower jams in its guides, and a check of the stress an Ansys run reports. Free, runs in your browser.

Built for the "Long Piston With Cam" transient project in Skill-Lync's Ansys Workbench course: a rigid barrel cam turned 270° in nine 30° steps drives a flexible follower, frictionless, μ 0.1 and μ 0.2. The catch: 101 of the 104 reports that state a stress put it above the 250 MPa yield of Structural Steel, with a median of 1,760 MPa. The "Is my stress real?" tab shows why. For a disc cam use the cam profile calculator.

Söylemez (METU) motion laws · Norton, Cam Design Guidelines · power screw / wedge statics · Ansys Mechanical help (contact, rigid bodies, stabilisation energy, equivalent strain) · 145 public reports · checked against a separate solution (8,364 checks at build) · Updated 23 Nov 2026

Rise from 0 over β, return over the next angle, dwell at the bottom for the rest of the turn. The project turns the cam 0 to 270° in 9 steps of 30°; at 1 s a step that is 5 rpm. The report texts give no cam dimensions: Rm = 25 mm is assumed; the 11.5 mm lift sits in the 10 to 13.5 mm follower travel that 143 of 266 tabulated case values show.

Max pressure angle12.95°at θ = 90°
Cam speed5 rpmrun 270°
Lift at the end5.75 mmat 270°
Developed barrel cam track at true scale, follower at 90 degreesnormalfollower axisDeveloped track, true scale: one turn = 2πRm = 157.1 mm, lift 11.5 mmAt θ = 90°: s = 5.75 mm, φ = 12.95° (the local helix angle of the track)0°360°circumference, Rm θ (mm)
Follower lift, velocity and acceleration over one cam turn (shm)0°90°180°270°360°cam angle θ · shaded: the run, 0 to 270° (ticks: one step each)02.557.51012.5lift s (mm, left axis), max 11.5velocity / 3.01 mm/s (zero: grey dashed line)acceleration / 1.58 mm/s²
Pressure angle along the track; maximum 13 degrees0°90°180°270°360°cam angle θ · shaded: the run, 0 to 270° (ticks: one step each)0°18°36°54°72°90°30°: Norton's guidelinejams μ 0.1: 71.2°jams μ 0.2: 53.7°pressure angle φ, max 12.95° at θ = 90°
Stepθs (mm)Δs (mm)φ
00°000°
130°0.77040.77046.56°
260°2.8752.10511.27°
390°5.752.87512.95°
4120°8.6252.87511.27°
5150°10.732.1056.56°
6180°11.50.77041.614e-15°
7210°10.73-0.77046.56°
8240°8.625-2.10511.27°
9270°5.75-2.87512.95°
  • Max pressure angle 12.95° against Norton's 30° guideline for translating followers.
  • Peak follower speed 3.011 mm/s; peak acceleration 1.576 mm/s², an inertia force of 0.00158 N for a 1 kg follower.

What is the pressure angle of a barrel cam?

The pressure angle is the angle between the normal to the cam surface at the contact and the direction the follower moves. A barrel cam's follower runs parallel to the cam axis, so unroll the cylinder at the track's mean radius Rm and the track becomes a ramp of slope ds/(Rm dθ). The normal tilts from the follower axis by the same angle: the pressure angle is the local helix angle of the track.

It is largest where the lift changes fastest. For the three common rise laws (Söylemez, METU), with u = θ/β:

Norton's guideline: "Pressure angles should be limited to about 30° with conventional translating followers", and up to about 35° with a low-friction ball-slide guide. On a barrel cam you lower φ with a larger Rm or a longer rise angle β; a larger lift raises it.

Constant velocity, simple harmonic or cycloidal: which track?

For the project's run (lift 11.5 mm over 180° and back over 180°, Rm 25 mm, 30° per second):

LawMax φPeak speed (mm/s)Peak acceleration (mm/s²)Lift at 270° (mm)
constant velocity (helical track)8.33°1.917∞ at the ends5.75
simple harmonic12.95°3.0111.5765.75
cycloidal16.32°3.8332.0075.75

A constant velocity (helical) track has the lowest pressure angle but a jump in speed at each end, so the acceleration there is in theory infinite. Simple harmonic motion peaks lower in acceleration than cycloidal (the table), but next to a dwell its jerk "will be infinite at the start and end of the rise portion" (with no dwell, as here, the rise and return meet smoothly); cycloidal motion "has the best dynamic characteristics" (Söylemez) at the price of the steepest track. At 5 rpm none of this matters for forces: the next sections show why.

How much torque does a barrel cam need, and what does friction do?

A barrel cam pushing a follower is a wedge, the same statics as a power screw raising a load. Friction tilts the contact force by the friction angle ρ = arctan μ, so the torque to drive the follower against an axial load F is:

Efficiency is the work done on the follower over the work put into the cam. On the return, a spring or load pushes the follower back and can drive the cam, unless friction holds it:

That is the screw rule: "the screw is self-locking when the coefficient of friction is greater than the tangent of the lead angle". Check the arithmetic at φ = 45° with no friction: T = 200 N × 25 mm × tan 45° = 5 N·m, efficiency 100 %. The project's three contact cases with the defaults here (200 N, φ 12.95°, guides 60 mm apart, overhang 40 mm, the same μ at the track and the guides):

CaseTorque (N·m)EfficiencyGuide friction (N)Jamming angleReturn
Frictionless1.15100 %090°back-drives, 1.15 N·m
μ = 0.11.83362.7 %17.1171.16°back-drives, 0.617 N·m
μ = 0.22.85440.3 %53.2753.67°back-drives, 0.141 N·m

Friction at 0.2 nearly doubles the torque here and more than halves the efficiency. It also changes the stress at the contact: a frictional contact carries a shear traction up to μ times the contact pressure on top of the pressure itself, so the surface stress rises with μ. That is why the Ansys runs see stress grow with friction. It says nothing about whether the peak value is right.

When does a long translating follower jam in its guides?

The cam's push has a side component Q = R sin(φ + ρ). The follower is a beam in two guides, Lg apart, with the contact b beyond the near guide. Moments about the contact give the two guide reactions, and their sum is Q times a lever factor k:

Guide friction μg(R₁ + R₂) acts against the travel. Axial equilibrium then gives the force and the torque:

When the denominator reaches zero no cam torque can move the follower: it jams. That gives the jamming angle, with the frictionless-track case on the right:

This is a statics derivation on this page, not a quoted design rule. With Lg = 60 mm, b = 40 mm (k = 2.333) and μg = 0.2 on a frictionless track, tan φ_jam = 60 / (0.2 × 140) and φ_jam = 64.98°. With μ = μg = 0.1 the follower jams at 71.16°, at 0.2 at 53.67°. A long overhang b is what makes a "long piston" sensitive: doubling b to 80 mm at μ 0.2 brings it down to 42.44°. The track's 12.95° is far from all of them.

Why is my Ansys cam follower stress above the yield strength?

Because almost nothing loads the follower. The project applies no working force: the cam turns at 5 rpm and the follower only has to be moved. Its inertia at that speed is tiny:

Yet the reports' maximum equivalent stresses run from 28.8 to 20,887 MPa, median 1,760 MPa: 7 times the 250 MPa yield of Structural Steel, in a linear elastic model. A stress like that cannot come from the mechanism. It comes from the model:

  • A rigid joint face. The translational joint is scoped to a face of the flexible follower. With rigid behaviour that face cannot deform, so the follower is clamped there while the rigid cam pushes its far end. One report re-ran with a deformable joint and got 32 MPa instead of 1,680 MPa, and noted that the follower-barrel contact "serves no purpose" with the joint in place.
  • Rigid-to-flexible edge contact. A sharp edge of a rigid body on a fine mesh is a stress singularity: the peak grows each time you refine the mesh. A contact solved with a penalty stiffness lets the faces overlap slightly, and how far they overlap depends on that stiffness and the mesh, not on the mechanism.
  • Initial interference and stabilisation. Any overlap in the CAD is pushed out at the first substep. Stabilisation adds damping forces; Ansys says the result should be acceptable "if the stabilization energy is much less than the potential energy" (its example: within 1 %).

A quick consistency test still works: for elastic strain Ansys ties equivalent stress and equivalent elastic strain by E when the effective Poisson's ratio ν′ equals the material's ν. Report 63's frictionless pair:

So the stress and strain are the same point and time; 276 of 285 pairs in the reports agree like this. The table is internally right and the stress is still not a stress the follower could carry: 13.1 times yield. What to do with your own run:

  1. Probe the stress a few elements away from the contact edge and from the joint face; report that, and the peak separately.
  2. Refine the mesh at the contact twice. A peak that keeps rising is a singularity, not a converged stress.
  3. Switch the translational joint's behaviour to deformable, or suppress the follower-barrel contact, and compare.
  4. Plot stabilisation energy against strain energy (potential energy) over the run.
  5. Estimate the real contact stress by hand with the Hertz contact stress calculator, using the contact force from the forces tab.
  6. If you really need the stress past yield, use a plastic material (bilinear or multilinear); a linear model past 250 MPa only scales.

Is the "total deformation" in this project real deformation?

No: most of it is rigid-body motion. The follower slides with the cam, and Ansys counts that travel as displacement. In the reports' tables, 143 of 266 case values of "deformation" sit between 10 and 13.5 mm, the follower's travel, and 77 of 87 triples change by 3 % or less across the friction cases. Only 4 reports say it is travel.

Other tables show the cam turning. A point at radius r on a rigid body turned through θ moves a straight-line distance

One report's total deformation table matches this for r = 25.4 mm at every step: 13.148, 25.4, 35.921, 43.994, 49.069, 50.8, 49.069, 43.994, 35.921 mm at 30° to 270°. That is the motion of a point 25.4 mm from the cam axis, not a deformation. The set-up tab inverts any reported value for r.

What did 145 reports of the long piston with cam project do?

Skill-Lync read every public report of the project on 23 Nov 2026. As of that date n = 145; 4 are too thin to count and 11 have no images; values shown only in screenshots are invisible to the count, so every number is a floor.

In the report textReportsWhat to know
State a maximum stress for at least one case104 / 145305 case values, median 1,760 MPa (quartiles 1,169 and 2,339)
Above the 250 MPa yield in every case101 / 10483 have a case above 1,000 MPa
Compare the stress with the yield0 / 1454 copy the 250 / 460 MPa table; none uses it
Stress rises with μ (all three cases given)89 / 988 mixed, 1 falls. Medians 1,584, 1,847, 2,071 MPa
Stress and strain agree with E within 20 %276 / 285 pairs91 of 98 reports agree in every case
Deformation changes by 3 % or less across the cases77 / 8722 of them still say friction raises it
9 steps / 270° total stated100 / 24of 145; 30° per step stated in 28
Large deflection on; constant stabilisation51 / 31energy dissipation ratio 0.1 in 23
Revolute / translational / fixed joint named123 / 91 / 94Structural Steel stated in 85; nonlinear material in 0
Face sizing value stated513 mm in 37
Question the stress value1 / 145mesh-convergence or singularity checks: 0; hand estimates: 0

Several reports share identical numbers, so the corpus holds a handful of distinct solver set-ups rather than 104 independent results: read the spread, not one "right" value. Clear reports worth reading:

  • Report 131: full set-up with stabilisation, the material table and a consistent results table
  • Report 81: settings table with the step end times; three consistent rows
  • Report 152: reads stress against cam angle: the peak sits between 90° and 120°
  • Report 128: explains why the peak sits near the joint
  • A report that questions the stress: questions the stress and re-runs with a deformable joint

What this calculator does not cover

  • Contact stress itself: the local pressure under a roller or pin is the Hertz contact stress calculator's job.
  • Dynamics at speed: forces here are quasi-static plus m·a; follower bounce, spring surge and impact are not modelled.
  • Roller followers and groove clearance: the track is a single sliding flank; a roller turns sliding friction into rolling resistance, and a groove with backlash changes flank on reversal.
  • Disc (plate) cams: see the cam profile calculator.
Learn Ansys structural analysis

Setting up joints and contacts, choosing rigid and flexible bodies and knowing when a stress result is a singularity are what CAE interviews test. The long piston with cam project is part of Skill-Lync's Ansys Workbench course.

Frequently asked questions

Why is my cam follower stress above the yield strength in Ansys?

In the long piston with cam project the follower carries almost no load: the cam turns at 5 rpm and there is no working force. Stresses of 1,760 MPa (the median of 305 reported values) come from the model: a rigid joint face, contact penetration at an edge or initial interference, not from a load the follower could carry.

What is the difference between frictionless and frictional contact in Ansys?

Frictionless contact transmits only normal pressure: the faces slide freely and may separate. Frictional contact also carries shear up to the friction coefficient times the contact pressure; beyond that the faces slide. Ansys accepts any non-negative coefficient. Ansys adds weak springs to a frictionless model and asks for it to be well constrained, since nothing resists sliding.

What does the friction coefficient do to cam torque?

Friction tilts the contact force by the friction angle ρ = arctan μ, so the torque becomes F Rm tan(φ + ρ). With the defaults here (200 N, φ 12.9°, guides included) the torque goes from 1.15 N·m frictionless to 2.85 N·m at μ 0.2, and efficiency drops to 40.3 %.

When does a translating cam follower jam?

A long follower jams when the side push of the cam, multiplied up by its two guide reactions, makes more guide friction than the axial push. From statics this happens at tan(φ + ρ) = Lg / (μg(2b + Lg)): long guides help, a long overhang b beyond the near guide hurts, and friction makes both worse.

What pressure angle is acceptable for a barrel cam?

Norton's cam design guideline is about 30° for a translating follower, or about 35° with a low-friction ball-slide guide. It is a guideline, not a law. For a barrel cam the pressure angle is the helix angle of the track, so a larger mean radius or a longer rise angle lowers it.

Should the cam and barrel be rigid or flexible in an Ansys transient analysis?

Rigid, if you only need the follower's stress. Ansys does not mesh a rigid body: it becomes one mass element, with displacement, velocity and acceleration reported at its centroid and no stress or strain listed. The flexible follower carries all the stress, so scope your results to it and keep its contact faces finely meshed.

Related on Skill-Lync

Sources

  • E. Söylemez, "8.3 Basic Cam Motion Curves", Mechanisms, Middle East Technical University (course notes): uniform velocity, simple harmonic and cycloidal displacement, velocity and acceleration, and their peak values.
  • R. L. Norton, Design of Machinery, ch. 18 "Cam Design Guidelines" (author's site): pressure angle about 30° for translating followers, about 35° with a ball-slide guide. Y. Zhang, S. Finger, S. Behrens, "Cams", Introduction to Mechanisms, Carnegie Mellon University: pressure angle definition and the cylindrical cam.
  • "Leadscrew", Wikipedia: torque to raise and lower a load, T = F dm/2 · tan(φ ± λ), efficiency tan λ / tan(φ + λ), self-locking when the friction coefficient exceeds the tangent of the lead angle. The guide-friction and jamming results are this page's statics derivation.
  • Ansys Mechanical help (2024 R2 to 2026 R1): Contact Definition Settings (frictionless and frictional types), Rigid Bodies (single mass element; displacement, velocity and acceleration at the centroid), Stabilization Energy (1 % example tolerance), Mechanical APDL theory "Interpretation of Equivalent Strains" (ν′ = ν ties elastic strain to stress).
  • Skill-Lync public reports of the long piston with cam project, read 23 Nov 2026 (Structural Steel's Engineering Data values as several reports copy them). scripts/verify/barrel_cam.py rebuilds the motion, the follower's free body (solved as a linear system), the jamming angle (bisection) and every verdict another way: 128 cases; the page checks itself against it at build time (8,364 checks).
Free counselling

From a cam run to a CAE job.

Knowing why a linear model shows 3,000 MPa in a part that carries no load, and what to change, is the kind of answer CAE interviews look for. A Skill-Lync counsellor can map the Ansys, CAE or design course that fits the role you want.

Talk to a CAE course counsellor

Free. We call you back, usually the same day.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.