SizeFieldType#
- class ansys.meshing.prime.SizeFieldType(value)#
The type of sizing field to be used to fetch element size at given location.
Methods
Returns self, the complex conjugate of any int.
Number of bits necessary to represent self in binary.
Number of ones in the binary representation of the absolute value of self.
SizeFieldType.to_bytes
(/, length, byteorder, *)Return an array of bytes representing an integer.
SizeFieldType.from_bytes
(/, bytes, byteorder, *)Return the integer represented by the given array of bytes.
Return integer ratio.
Attributes
the real part of a complex number
the imaginary part of a complex number
the numerator of a rational number in lowest terms
the denominator of a rational number in lowest terms
Geometric size field.
Uses precomputed variable size in volumetric space defined by size field.
Uses geodesic size field.
Uses constant size at all locations of sizing field.
The type is applicable when remeshing already meshed surfaces.
Examples using SizeFieldType#
Mesh a mid-surfaced bracket for a structural analysis
Mesh a generic F1 car rear wing for external aero simulation