scalfact2ΒΆ

Purpose:

Determine scale factor for drawing computational results.

Syntax:


Description:

scalfact2 determines a scale factor sfac for drawing computational results, such as displacements, section forces, or flux.

Input variables are the coordinate matrices ex and ey, and the matrix ed containing the quantity to be displayed. The scalar rat defines the ratio between the geometric representation of the largest quantity to be displayed and the element size. If rat is not specified, \(0.2\) is used.

Theory:

The scale factor sfac is computed so that the largest value in ed is represented as a fraction rat of the element size, ensuring a visually appropriate scaling of computational results.