|Previous Topic||Next Topic||Contents||Commands
VOlfr [ [*]FILENAME ] N L [ Xmin Xmax Ymin Ymax Zmin Zmax ] [ 0 ]
The volume fraction calculation does not work well with body geometry;
the use of surface geometry is strongly encouraged.
If Sabrina detects an error when calculating volumes in a mesh cell, the
listing for that cell is preceeded with an
FILENAME. If no name is given, the fractions are written to file
volfr. If the file exists, Sabrina will prompt whether or not to overwrite the file unless the name is
volfe, in which case it will be overwitten without prompting. If not in quotes, the name, including the asterisk, is limited to 16 characters. If quoted, the limit is 64 characters.
* is present, the volume
fractions are not output to the shell window. The asterisk can be
present even if the file name is omitted.
Xmin ... Zmax
0is present, fractions are given for material 0 (and material IDs < 0). Otherwise, these fractions are omitted.
VOLFRis a three-dimensional subdivision of space along material boundaries. The depth of the 3D binary subdivision is determined by
L. Computer time requirements increase as a large power of
L. Hint: use
L= 2 or 3 initially and then gradually increase
Luntil the numerical results are acceptable. When the subdivision equals
L, then a volume exists containing more than one material. The fractional components of the volume are estimated with a ray-tracing technique. For each sub-volume containing more than one material,
Nrays are shot across the volume. The fraction of the ray going through each material becomes the corresponding estimate of the volume fraction of the material.