Simulation

The Simulate workspace runs several kinds of study on a solid body. Choose the study at the left of the toolbar or at the top of the panel:

  • Static: stress and deflection under loads. Use it to find weak spots and check that a part is strong enough.
  • Modal: the part's natural frequencies and how it vibrates at each one.
  • Vibration: how far the part shakes, and how much stress that makes, when its loads vibrate across a range of frequencies.
  • Generative: lets the computer remove the material that carries no load, to show you a lighter, stiffer shape.
  • Thermal: the temperatures a part settles at with heat sources, fixed temperatures and cooling.

Setting up a study

  1. Give the body a physical material in the Design workspace (Modify ▸ Physical Material). The material sets the stiffness (Young's modulus and Poisson's ratio) and the strength used for the safety factor.
  2. Open Simulate from the workspace switch at the top of the window and choose the body in the panel, or click it in the viewport.
  3. Add at least one fixed support and one load, then choose Solve.

The study is saved with the project. If you change the model, the results are marked as out of date until you solve again.

Bonded parts (static stress): tick other bodies that touch the one you are analysing, and they are solved together as if glued where they meet, each with its own material (a steel insert in an aluminium bracket, two halves of a joint). Supports and loads can go on any of them, and the results and probes cover all of them. The parts must touch, not overlap. Where they touch sets how they meet: Bonded (glued), or Contact, where they press on each other but are not joined, so they can slide (without friction) and come apart, like a part resting on another or a stack of plates. Friction (μ) resists sliding: a touching point sticks until the force along the contact reaches μ times the force pressing, then slips (0 is frictionless; about 0.15 for lubricated steel, 0.5 to 0.8 dry steel, 1 or more rubber). The results show how many points stick and slip. Contact is found by repeated solves until the touching area settles; the results show how much of it touches and the highest contact pressure. A part held only by resting on another must be pressed onto it: if it would lift off, the study says so.

Supports and loads

ToolWhat it does
FixedHolds the faces you click completely still, like a bolted or welded joint.
ElasticA spring support for faces resting on something soft (a rubber pad, foam, a soft floor) or held by a rubber mount. Set the stiffness in N/mm³: the force per mm² of face for each mm it sinks in, which is the support's Young's modulus divided by its thickness (a 5 mm rubber pad is about 1). It can push into the faces only, letting them slide sideways, or act in every direction. A part held only by elastic supports in every direction needs no other support.
SlidingA frictionless support on flat faces square to X, Y or Z: each face can't move through itself but slides freely along its plane, like a part standing on a greased floor. It doesn't add the false stress a fixed face does where it stops the part spreading sideways. Put it on the cut face of a half (or quarter) model to analyse a symmetric part at twice the detail. A study needs at least one fixed or sliding support, and enough of them to stop the part sliding or turning away.
ForceA total force in newtons, shared over the faces you click. It can act along X, Y or Z, or straight into each face.
PressureA pressure in MPa (N/mm²) that pushes into the faces you click. A negative pressure pulls.
Remote forceA force in newtons acting at a point away from the faces you click, given by its X, Y and Z in the model: a handle, the end of a lever arm, or the centre of mass of something heavy the faces carry. The faces take the force and the turning moment it makes about them, without modelling the part in between.
MomentA turning moment (torque) in N·m on the faces you click, about an axis along X, Y or Z through their centre (right-hand rule). It's spread as forces in proportion to the distance from the axis, so it twists or bends without adding any push or pull: use it for a shaft end, a hub or a lever arm.
Bearing loadA pin, bolt or shaft pushing on the round face of a hole: the total force in newtons and the direction the pin pushes. It's spread over the side of the hole it presses on, most at the middle and none on the far side, as a real pin does.
Temperature changeThe whole part warms up or cools down by a number of degrees (negative for cooling) and expands or shrinks by its material's thermal expansion. Where the fixed faces stop it moving, that makes thermal stress, for example in a part bolted between two supports or a metal insert in plastic. Combine it with forces in the same study. Static studies only.
GravityThe part's own weight, from its material's density. Set the acceleration in g: 1 for standing still, more for shocks, drops and transport (for example 3 g). Pick the direction; no faces are needed.

Click a selected face again to remove it. Each load has its own value, direction and faces, and you can add as many as you need.

Meshing and solving

For static stress, natural frequencies, buckling and thermal studies, Ruffle3D meshes the body with curved 10-node tetrahedra that follow its surface, round holes, fillets and sharp edges included. How close the results come to exact solutions and a published benchmark is measured and listed on Simulation accuracy. Coarse is good for a first look, Medium for most parts, and Fine for thin walls and small features; a medium study of a typical part takes 10–40 seconds. Studies with elastic supports, several bonded parts, material yielding or forced vibration, and generative design, fill the body with small cubic elements instead (about 6,000, 20,000 and 55,000 of them), which solve in a few seconds but step curved faces, so they are less exact at holes and fillets. The solver runs in the background, so you can keep working, or cancel it.

Reading the results

  • Stress shows von Mises stress in MPa. Red areas carry the most load.
  • Displacement shows how far each point moves.
  • Safety shows the material strength divided by the stress. Red is below 1, which means the part will yield, or crack if the material is brittle. Blue is 4 or more.
  • Deformed shape shows the part bent by its loads: at true scale, or exaggerated so small movements are visible.
  • Reactions: the force each kind of support (fixed, sliding, elastic) pushes back with, in X, Y and Z. They should balance the loads you applied, which is a quick check that the study is set up as you meant; use them to size bolts, brackets and bearings.
  • Probes: click the part to pin a label with the values at that point (stress, movement, safety factor; temperature in thermal studies). Click a probe again to remove it.

The panel lists the peak stress, the stress at the supports, the largest displacement and the lowest safety factor. Report saves an HTML report with a picture of the result, the material, loads, mesh and solver details.

Von Mises stress on a cantilevered beam in the Simulate workspace

Choose Modal, add the fixed supports (loads aren't needed), pick how many modes you want and choose Solve. The panel lists each mode's frequency and the direction it mainly moves in. Click a mode to show it, and choose Animate to watch it vibrate. The colours show how far each point moves; mode shapes are scaled to fit, so only their pattern matters.

Keep the lowest frequency well away from the vibrations the part sees in use, such as a motor's running speed or a fan's blade-pass frequency, to avoid resonance. Stiffer or lighter designs have higher frequencies. For a steel cantilever, Ruffle3D's first frequency comes within 1% of beam theory.

Forced vibration

A natural frequency only matters if something shakes the part near it. The Vibration study answers how much: add the supports and the loads as for a static study, then choose the frequency range, the damping and how many modes to use, and Solve. Each load vibrates back and forth at every frequency in the range with the size you gave it, for example the out-of-balance force of a motor or the push of a pump.

  • The response curve shows the largest swing anywhere on the part against frequency, on a log scale. Its peaks are the resonances; dashed lines mark the natural frequencies.
  • The model shows the displacement or the stress at the worst frequency (or the one you enter under Show the response at), at the moment in the cycle when the part is most bent.
  • Amplification compares that swing with how far the same load bends the part held still. At a resonance it is about 1 ÷ (2 × damping): 25 × at 2% damping.

Damping is how quickly the vibration dies away, as a share of critical damping. Typical values: under 1% for a single welded or cast metal part, 1 to 2% for a bolted metal assembly, 5% or more for plastics and parts on rubber mounts. Leave To at 0 to sweep up to a quarter past the highest natural frequency used.

The response is built from the lowest natural modes plus the part's static bending, so it matches the static result at low frequencies; use 8 modes for a range that reaches well past the first few resonances. For parts that vibrate for long periods, fatigue sets in well below the yield strength: as a rough guide, keep the stress amplitude under about a third of the yield strength for steel, and lower for aluminium and plastics.

Generative design

Choose Generative, add the supports and loads, and set how much of the material to keep. Generate then repeatedly solves the part and moves material to where it carries the most load, which is known as topology optimisation. Faces with supports and loads always keep their material. A coarse study usually takes about a minute.

Generative design result over a ghosted copy of the original arm

The result appears over a faint copy of the original part, with the share of material kept and how much of the full part's stiffness it keeps. Choose Add to model to add it as a body you can render, measure, simulate or 3D print, or STL to download it. The shape is a guide: most designers model a clean, manufacturable version over it.

Buckling

The Buckling study finds the load at which a slender part, such as a column, strut or thin wall, buckles sideways under the supports and loads you set up. It reports a buckling safety factor: the number you multiply your loads by to make the part buckle, with the critical load in newtons. Select a mode to see its buckled shape, and animate it. This is linear (eigenvalue) buckling: checked against Euler's formula for a steel column, the result agrees within 1%. Real parts with small imperfections usually buckle earlier, so keep a factor of 3 or more.

Yielding (plasticity)

In the Static study, turn on Material yielding to model metals and plastics above their yield strength. The material follows a bilinear curve: elastic up to the yield strength, then a small hardening slope. The stress is capped near the yield strength, the deflection grows where material yields, and the Plastic view shows the permanent strain. The panel shows how much material yielded and the deflection a purely elastic analysis would give. When the loads pass the part's collapse load, the result says so. The model assumes the load increases steadily (no unloading or cycling).

Fatigue

A part can stand a load once and still crack after it has been loaded millions of times: a shaft, a bracket on a vibrating machine, a lever or a spring. In the Static study, under Material model, set Fatigue check:

  • On and off for a load that goes from nothing to its full value and back, again and again, such as a bracket that carries a weight each time a machine cycles.
  • Reversing for a load that goes one way and then the other, such as a rotating shaft in bending. This is the harder case.

Then choose the Surface: ground, machined, hot-rolled or as forged. Rougher surfaces start cracks sooner. The results show the Fatigue safety factor and the endurance strength it is worked out from, and a Fatigue button plots it over the part. Below 1, expect a crack where it is lowest. Below 1.5 there is little margin. Changing these settings needs no new solve.

The method is the handbook one: the published fatigue strength of polished test pieces, reduced for the surface and for size, then the Goodman line to the tensile strength for a load that does not reverse. It is never higher than the yield safety factor. It covers aluminium 6061 and 7075, mild and stainless steel and titanium. Other materials (plastics, wood, cast iron) show that there is no figure. It is an estimate. Threads, sharp undercuts and welds that the model does not have need their own factor, and corrosion or heat lower the life further.

Thermal

Choose Thermal and add thermal loads from the toolbar:

  • Temperature holds faces at a fixed temperature, such as a part bolted to a large cold frame.
  • Heat puts a power in watts in through faces, such as a chip, an LED or a motor.
  • Convection cools faces to the surrounding air or fluid, and with an Emissivity above 0 radiates heat to the surroundings too (at the ambient temperature). Typical emissivities: bare or polished aluminium 0.05, anodised aluminium 0.8, paint 0.9, oxidised steel 0.8, polished steel 0.1. Radiation matters for hot parts and for heat sinks in still air, where it can carry a third of the heat or more; set h to 0 for radiation alone, such as in a vacuum. Set the film coefficient h and the ambient temperature. Typical values are 5–10 W/m²·K for still air, 25–100 with a fan, and 500 or more for flowing water.

Turn on Transient to see how temperatures change over time instead: set a starting temperature, a duration and a number of time steps. Drag the Time slider to see the part at any moment; a chart shows the highest, average and lowest temperature over the run. Heat capacity comes from each material's density and specific heat. Checked against the exact solution for a block cooling by convection, the result agrees within 0.5%.

Without Transient, the result is the steady state: the temperatures the part reaches after running for a long time. The panel shows the highest and lowest temperatures, the heat going in, and the heat leaving through fixed-temperature faces; the rest leaves by convection. Each material has a thermal conductivity, which you set with its physical material. Radiation between faces of the part (a fin seeing the next fin) and contact resistance between parts are not included. Checked against hand calculations for a bar and a convection-cooled plate, the results agree to within 1%.

Accuracy and limits

Ruffle3D's results are measured against exact solutions, handbook formulas and a published benchmark on the Simulation accuracy page, which also shows where they fall short. Keep these points in mind:

  • Deflections are assumed small. Static stress is linear and elastic unless you turn on yielding, which assumes steadily increasing loads. Buckling is linear (eigenvalue) buckling. Radiation goes from faces to the surroundings only, not between faces. Forced vibration assumes the same damping for every mode and loads that vibrate together, in step.
  • Stress at a sharp inside corner, or at the edge of a fixed face, rises as the mesh gets finer, because in theory it is infinite there. That is why the panel shows the peak stress away from the supports separately. Add fillets to corners where stress matters.
  • Contact shows how load passes between parts. Its peak pressure is averaged over a mesh cell and reads far below true contact stress, so do not use it to size bearings or gear teeth.
  • Wood and fibre composites are treated as if they had the same properties in every direction.
  • Use the results to compare designs and find weak spots, and confirm critical parts by testing.