next up previous contents
Next: asgn Up: Commands Previous: anim   Contents


   'area' <set>
This keyword is used to calculate the area and the center of gravity of a set of shell-elements or surfaces of volume-elements. If a 'dataset' is active then an averaged value is calculated.

It averages the nodal values per element and weight it (multipies it) with the area of that element. The sum of all the weighted element-values is then divided by the total area of all regarded elements. The center of gravity is also weighted with the indvidual areas. This works for faces as well. In case the ''qcut'' command was used to create a section it is necessary to use the ''comp'' command to add the related faces to the set '-qcut' which holds the section:

comp -qcut do

Then the 'area' command can be used:

area -qcut

which produces a listing like that:

  AREA:98.437740  CENTER OF GRAVITY: 9.214960 0.663785
   24.655288 AVERAGE-VALUE:252.453576

The command writes to the ''stack''.

root 2018-12-15