Cuboid Vis
Visualization component for Cuboid node temperature
Description
Connections
Parameters
See Also
The Cuboid Vis component is provided for visualizing temperature change of Cuboid node.
This component has same function as Cuboid when its Show Visualization option is true. The key difference between these two components is that Cuboid 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 Vis. You must connect heat port Tin to port of Heat Capacitor or port_center of each Node component. Then the following visualized geometry is displayed in the 3-D Playback Window.
It is recommended that you match the type of visualization component with that of Node component. (For example, Heat Capacitor with Sphere Vis, Cuboid with Cuboid Vis, or Cylindrical with Cylindrical Vis.) However, it is not required to match the geometrical property values such as L, W, H, R, and D to run a simulation.
Name
Modelica ID
Tin
Heat port to input temperature
port
frame_left
Multibody frame of left
frame_right
Multibody frame of right
frame_top
Multibody frame of top
frame_bottom
Multibody frame of bottom
frame_front
Multibody frame of front
frame_back
Multibody frame of 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.
W
Width of visualized cubic.
H
Height of visualized cubic.
Transparent
true
−
If true, node 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