HWC commands for buckling case in HyperView
Hi guys! I try to create plots using HWC commands in HyperMesh. These are commands which HyperView writes in the HWC window when I try to make a plot of the 2nd buckling mode. But when I run these commands, it shows only 1st buckling mode. This command does not work or is wrong: "animate frame 2". Remember, this command appears when I select 2nd mode manually. And if I choose 3rd mode, it writes "animate frame 3" but does not do anything during script execution.
My code is:
hwd page current activewindow=2 result subcase "Subcase 2 (buckling)" animate frame 2 scale deformed resulttype = "Buckling mode" value=2.000000 view fit result scalar load type="Buckling Mode" show legends
Here is Mode 2, which I want to plot:
Did Altair forget about different modes in buckling?
Thank you!
Best Answer
-
result subcase "Subcase 2 (buckling)" animate frame 2
These two commands are going to put the animation in the frame 2 of the first simulation step (1st mode) within "Subcase 2 (buckling)".
Note that in linear or modal animation mode, frame 2 refers to the 2nd frame of the linear/modal animation and not the 2nd mode.
So in order to got to Mode 2 and animate, the correct commands would be something like.
result subcase "Subcase 2 (buckling)"
result simulation 2
animate start
1
Answers
-
I don't see any problem in my HV 2021.2Can you try the newer versions?
Probably you're using an older version. They're enhancing HWC in newer versions.
hwc result scalar load type="Buckling Mode"
hwc show legends
hwc animate start
hwc animate stop
hwc result simulation 2
hwc result simulation 3
hwc result simulation "Mode 1 - F = 4.093373E-01"
hwc result simulation "Mode 1 - F = 4.093373E-01"
hwc result simulation 2
hwc result simulation "Mode 10 - F = 1.032459E+00"
hwc result simulation 51 -
result subcase "Subcase 2 (buckling)" animate frame 2
These two commands are going to put the animation in the frame 2 of the first simulation step (1st mode) within "Subcase 2 (buckling)".
Note that in linear or modal animation mode, frame 2 refers to the 2nd frame of the linear/modal animation and not the 2nd mode.
So in order to got to Mode 2 and animate, the correct commands would be something like.
result subcase "Subcase 2 (buckling)"
result simulation 2
animate start
1 -
Thank you, guys! It looks like it is because of the older version of HyperMesh. We need to update to the latest
0