Cuboid Shape Vis
Visualization component for Cuboid Shape temperature
Description
Connections
Parameters
See Also
The Cuboid Shape Vis component is provided for visualizing temperature change of Cuboid Shape. This component has same function as Cuboid Shape when its Show Visualization option is true. The key difference between both components is that Cuboid Shape Vis can be treated as multibody component. You can connect each frame of this component to the other frame of multibody component or the other Heat Transfer Library visualization component.
Note: If you use this component, you can visualize temperature change as colored geometry in 3-D Playback Window. To make this function available, you have to enable 3-D Animation option in Multibody Settings. The quality of the visualization is affected if any open plot windows are behind the 3-D Playback Window. If you are experiencing playback issues, try moving the 3-D Playback Window so that it does not overlap a plot window. Alternatively, minimize or close any open plot windows.
Example of use of visualization component
This is the simple example of visualization component model using Cuboid Shape Vis. You must connect heat port Tin[numNode] to port_center[numNode] of each Shape component and match both total numbers of vectorized ports. Then the following visualized geometry is displayed in the 3-D Playback Window.
It is the best to match the type of visualization component with that of the shape component. (For example, Cuboid Shape with Cuboid Shape Vis, or Cylindrical ShapeA with Cylindrical Shape Vis A.) Although it is not required to match both geometrical property values such as L, W, H, R, and D, you must match both Nodes value.
Name
Modelica ID
Tini
Heat port to input temperature
port[]
frame_lefti
Multibody frame of left
frame_left[]
frame_righti
Multibody frame of right
frame_right[]
frame_topi
Multibody frame of top
frame_top[]
frame_bottomi
Multibody frame of bottom
frame_bottom[]
frame_fronti
Multibody frame of front
frame_front[]
frame_backi
Multibody frame of back
frame_back[]
(For more details about the relation between color and temperature, see Color Blend help).
Symbol
Default
Units
L
1
m
Length of visualized cubic shape.
W
Width of visualized cubic shape.
H
Height of visualized cubic shape.
Nodes
2, 2, 2
−
Number of nodes [L, W, H].
numNode[]
Transparent
true
If true, shape geometry will be transparent.
transparent
T__max
373.15
K
Upper limit of temperature in the color blend.
Tmax
Color of T__max
RGB255,0,0
Color when temperature is over T__max. Temperature between T__max and T__min are automatically interpolated to a color.
color_Tmax
T__min
273.15
Lower limit of temperature in the color blend.
Tmin
Color of T__min
RGB0,0,255
Color when temperature is under T__min. Temperature between T__max and T__min are automatically interpolated to a color.
color_Tmin
Show Sphere element
If true, heat capacitor sphere will be shown.
showCapacitor
R__sphere
0.2
Radius of visualized heat capacitor sphere.
Sradius
Heat Transfer Library Overview
Visualization Overview
Download Help Document