IRockyGeometryTriangle is an interface for the internal geometry triangle object in Rocky. A geometry triangle is a code representation of an individual triangle making up a geometry. IRockyGeometryTriangle is intended for use in all the operations performed during the time iterative process, involving geometry triangles. It has access methods to some geometric properties, as well as triangle scalars, which are special variables that store values per triangle that are preserved between time iterations. Values of triangle scalars can be displayed in a 3D window as any other built-in geometry triangle property in Rocky. All property and variable values made available through IRockyGeometryTriangle are dimensionless.
!> Attention IRockyGeometryTriangle replaces IRockyBoundaryTriangle in Rocky v4.5 or newer.
Inherits from:
- IRockyGeometryTriangleImpl< SDeviceModel >
Members
- get_area
- get_centroid
- get_geometry_index
- get_geometry_rotation_center
- get_geometry_rotational_velocity
- get_material
- get_material_index
- get_normal_unit_vector
- get_poisson_ratio
- get_scalars
- get_temperature
- get_thermal_conductivity
- get_translational_velocity
- is_adiabatic
- set_poisson_ratio
- set_temperature
- set_thermal_conductivity
Public functions
Function get_material
IRockyMaterial object that gives access to the values of physical properties associated to the material from which the geometry triangle is made.
Return type: ROCKY_FUNCTIONS IRockyMaterial
Function get_normal_unit_vector
Function get_area
Function get_centroid
Function get_geometry_index
Function get_material_index
Function get_translational_velocity
- current_time: The current value of the simulation time.
- double current_time
Function get_geometry_rotational_velocity
Function get_geometry_rotation_center
Function get_temperature
IRockyGeometryTriangle::set_temperature method. Otherwise, this method will return the temperature value specified in the UI for the geometry to which the geometry triangle belongs.
Return type: ROCKY_FUNCTIONS double
Function set_temperature
- value: The temperature value to be assigned to the geometry triangle.
- double value
Function is_adiabatic
Function get_thermal_conductivity
Function set_thermal_conductivity
- value: The thermal conductivity to be set.
- double value
Function get_poisson_ratio
Function set_poisson_ratio
- value: The Poisson’s ratio to be set.
- double value
Function get_scalars
IRockyTriangleScalars object that gives access to all triangle scalars variables defined in the project.
Return type: ROCKY_FUNCTIONS IRockyTriangleScalars