PrismControlOffsetType#

class ansys.meshing.prime.PrismControlOffsetType(value)#

Offset type for prism control.

Methods

PrismControlOffsetType.conjugate

Returns self, the complex conjugate of any int.

PrismControlOffsetType.bit_length(/)

Number of bits necessary to represent self in binary.

PrismControlOffsetType.bit_count(/)

Number of ones in the binary representation of the absolute value of self.

PrismControlOffsetType.to_bytes(/, length, ...)

Return an array of bytes representing an integer.

PrismControlOffsetType.from_bytes(/, bytes, ...)

Return the integer represented by the given array of bytes.

PrismControlOffsetType.as_integer_ratio(/)

Return integer ratio.

Attributes

PrismControlOffsetType.real

the real part of a complex number

PrismControlOffsetType.imag

the imaginary part of a complex number

PrismControlOffsetType.numerator

the numerator of a rational number in lowest terms

PrismControlOffsetType.denominator

the denominator of a rational number in lowest terms

PrismControlOffsetType.UNIFORM

Option to grow prism layers with uniform offset height based on first height.

PrismControlOffsetType.ASPECTRATIO

Option to grow prism layers based on first aspect ratio specified.

PrismControlOffsetType.LASTRATIO

Option to grow prism layers based on first height and last aspect ratio.

Examples using PrismControlOffsetType#

Mesh a generic F1 car rear wing for external aero simulation

Mesh a generic F1 car rear wing for external aero simulation