Humans have known about stress inside materials since ancient times. For example, in the analysis of trusses, it may refer to the total traction or compression force acting on a beam, rather than the force divided by the area of its cross-section. In some branches of engineering, the term stress is occasionally used in a looser sense as a synonym of "internal force". Stress that exceeds certain strength limits of the material will result in permanent deformation (such as plastic flow, fracture, cavitation) or even change its crystal structure and chemical composition. The relation between mechanical stress, deformation, and the rate of change of deformation can be quite complicated, although a linear approximation may be adequate in practice if the quantities are sufficiently small. Stress may also be imposed on a material without the application of net forces, for example by changes in temperature or chemical composition, or by external electromagnetic fields (as in piezoelectric and magnetostrictive materials). Stress may exist in the absence of external forces such built-in stress is important, for example, in prestressed concrete and tempered glass.
Significant stress may exist even when deformation is negligible or non-existent (a common assumption when modeling the flow of water). Elastic and viscous stresses are usually combined under the name mechanical stress. However, if the deformation changes gradually with time, even in fluids there will usually be some viscous stress, opposing that change. In liquids and gases, only deformations that change the volume generate persistent elastic stress. Any strain (deformation) of a solid material generates an internal elastic stress, analogous to the reaction force of a spring, that tends to restore the material to its original non-deformed state. Strain inside a material may arise by various mechanisms, such as stress as applied by external forces to the bulk material (like gravity) or to its surface (like contact forces, external pressure, or friction). Stress is frequently represented by a lowercase Greek letter sigma ( σ). These macroscopic forces are actually the net result of a very large number of intermolecular forces and collisions between the particles in those molecules.
The container walls and the pressure-inducing surface (such as a piston) push against them in (Newtonian) reaction. When a liquid is in a closed container under pressure, each particle gets pushed against by all the surrounding particles. For example, when a solid vertical bar is supporting an overhead weight, each particle in the bar pushes on the particles immediately below it. Stress expresses the internal forces that neighbouring particles of a continuous material exert on each other, while strain is the measure of the deformation of the material. So stress is measured in Newton per square meter (N/m²) or Pascal (Pa). The greater this force and the smaller the cross-sectional area of the body on which it acts, the greater the stress. It results when forces like tension or compression acts to a body. In continuum mechanics, stress is a physical quantity.