Model editor
Edit inputs and equations directly — sweeps, curves and sensitivity update live.
Operators + - * / % ^, parentheses, constants pi/e, and functions: abs, atan, cbrt, ceil, clamp, cos, cosh, exp, floor, ifgt, ln, log, log10, max, min, pow, round, sign, sin, sinh, sqrt, tan, tanh. Equations may reference inputs and any equation defined above them.
Add at least one input to run a live sweep.
No lab sweep loaded yet. Paste your mud's dial readings in the Fann lab and press “Load both fits into model editor” — both regressed laws land here.
Open Fann labDensity, PV, YP and the shear-rate exponent come from the fluid library; K is re-solved so the fluid reproduces its own 300-rpm stress.
Enter the rotor speed and torque/dial deflection the crew recorded. Every reading is used in a least-squares fit of τ = τ₀ + K·γ̇ⁿ — the advisor, friction model and jobs comparison all switch to this fluid for the selected job.
| Rotor speed (rpm) | Torque / dial (°) | γ̇ (1/s) | τ measured | τ fitted | Residual | |
|---|---|---|---|---|---|---|
| 1,021.4 | 51.25 | 51.29 | -0.037 | |||
| 510.7 | 32.03 | 32.39 | -0.36 | |||
| 340.5 | 24.77 | 25.1 | -0.329 | |||
| 170.2 | 16.55 | 16.76 | -0.209 | |||
| 10.2 | 6.41 | 5.92 | 0.482 | |||
| 5.1 | 5.13 | 5.31 | -0.186 |
n (flow index)
0.7443
K (lbf·sⁿ/100ft²)
0.27006
τ₀ (lbf/100ft²)
4.402
R² on stress
0.99964
Equivalent dials from the fit — R600 48°, R300 30.3°, R6 5.5°, R3 5° · implied PV 17.7 cP, YP 12.6 lbf/100ft² · RMSE 0.303 lbf/100ft² over 6 readings (5–1,021 1/s).
pHydro, ecd, pBreakdown or pSurfMax to compare it against the advisor physics.