Skip to content
Marc & Structures
Index

Save your progress

Enter your email and we will send a secure sign-in link. There is no password and the first link creates your account.

Mental model ~5 min · ~52 min remaining

The script contract

A parametric script does more than calculate: it validates inputs, produces evidence, and makes decisions.

Mental model — The script contract

We will organize the program as if it were an engineering function:

INPUTS → CHECKS → MODEL → SOLUTION → RESULTS

This separates four categories that should not be confused:

CategoryExampleSo, who controls it?
Entrybeam_hUser or studio
DerivativeinertiaProgram Expression
Referenceuy_refanalytical model
Result FEAuy_tipSolver and post-processing

An analytical reference is not “the correct result” by decree. It's an independent comparison, based on different hypotheses, which helps detect unit errors, loads or stiffness.

Quick check

What does /UNITS do to values already written in the script?