Understanding the Force-Displacement CSV

This guide explains the Force-Displacement CSV you can download from the results dashboard: what each column means, how the rows are laid out, and how to read the loading and unloading phases. The example values come from a force-controlled shoe stack run on the GPU solver (a piston with a Force Limit of about 2000 N), but the layout is the same for any DTB simulation.

đź’ˇ Tip: The CSV contains the same data plotted in the Force-Displacement panel of the results dashboard. Use the CSV when you want to re-plot the curve, overlay several runs, or run your own calculations (stiffness, energy, peak values).

Where the file comes from

Open the Project URL returned by Run Simulation, then use the download icon on the Force-Displacement panel (or Download Results in the Results table). The file name starts with the project/simulation name followed by Force-Displacement.

File Layout

The file has one header row followed by one row per output step. Column names are prefixed with the simulation/part name (here generic midsole), so a file that holds several parts or runs stays easy to tell apart.

Column
Unit
What it means
<name> Time
seconds (s)
Simulated time at which the row was recorded. Starts at 0.
<name> Displacement (mm)
millimetres (mm)
How far the piston has moved into the part since the start of the run. 0 means the moment of the first step.
<name> Force (N)
newtons (N)
Reaction force measured on the piston at that time — how hard the part is pushing back.

Reading the time column: rows are spaced by the simulation's Output Interval (here every 0.002 s, for 31 rows covering 0–0.06 s). Tiny rounding noise such as 0.0020000000000001033 is normal floating-point output, not a real offset — round it when plotting or reporting.

Example Rows

The table below shows a few key rows from the example file (rounded).

Time (s)
Displacement (mm)
Force (N)
What is happening
0.000
0.00
0
Start of the run, nothing loaded yet.
0.012
2.42
622
Loading: piston is pressing in, force is building.
0.024
6.70
2078
Peak displacement and peak force — the turning point.
0.036
3.80
1103
Unloading: piston is retracting, force is falling.
0.046
0.01
84
Piston is back near its starting position.
0.060
-1.71
-295
End of the run — piston has travelled past its starting position (see below).

How to Read the Curve

1. Loading phase

From 0 to the peak, displacement and force both increase together. In the example this runs from t = 0 to t = 0.024 s, reaching about 6.70 mm and 2078 N. The slope of this part of the curve (force ÷ displacement) is the stiffness of the part: a steeper slope means a stiffer response. Notice it steepens as the foam compresses — that is typical of hyperelastic and foam materials.

2. Peak (turning point)

The row where displacement is largest is where the piston reverses direction. In a force-controlled run this is where the Force Limit on Metafold DTB Rigid is reached: the piston's velocity is set to zero and it starts to retract. The peak force can sit slightly above the limit because force is only recorded every output step and the solver needs a step or two to react. In the example, a limit near 2000 N produced a recorded peak of about 2078 N.

3. Unloading phase

After the peak, displacement decreases while force falls back. Because the material does not return the energy it absorbed exactly along the loading path, the unloading curve sits below the loading curve. The gap between them (a loop) represents energy lost in the part — this is what the dashboard reports as Absorbed Energy.

4. Negative values at the end

In the example, the last rows show negative displacement and force (down to about -1.71 mm and -295 N). This happens when the piston's velocity profile continues past the point where it first returns to its starting position: displacement is measured relative to the start, so the piston ends up on the other side of it, and the force sign flips because the part is no longer being compressed. For most analyses you should trim the file at the first row where displacement returns to about 0 (row at t = 0.046 s in the example) and ignore the rows after it.

⚠️ Note: If you did not expect a piston to move past its starting position, check the second half of your velocity profile — its total displacement should bring the piston back to, not beyond, the start (see the velocity profile notes in the Component Reference).

Relationship to the Dashboard

  • The Force-Displacement panel plots Displacement (x) against Force (y) from this same file.
  • Loading Energy and Unloading Energy in the Results table correspond to the area under the loading and unloading branches of the curve; Absorbed Energy is the difference between them.
  • Force Limit: in a force-controlled run the curve turns around at the force you set. If force is expected to plateau but instead keeps rising, check that the Force Limit input is wired to the piston.

Working with the File

  1. Open the CSV in Excel, Google Sheets, or load it with Python/pandas.
  2. Round the Time column and convert units if needed (displacement is already in mm, force in N).
  3. Plot Displacement (x) vs Force (y) to reproduce the dashboard curve.
  4. Optionally trim the rows after displacement returns to 0 to keep only the physical loading–unloading cycle.
  5. To compare runs, combine several files and plot them on shared axes, matching by the name prefix in the header.
💡 Tip: Peak force and peak displacement are simply the maximum of the Force and Displacement columns. Approximate energy is the area under the curve — in Excel or Sheets you can estimate it with the trapezoid rule over consecutive rows ((ΔDisplacement in m) × (average Force)), remembering to convert mm to m so the result is in joules.