Checking Whether all nodes in model having "TEMPERATURE" load or not
Hi All,
My script is:-
# SCRIPT END Regards, Vikas Kumar |
Answers
-
1st createmark loads by type temp
2nd findmark nodes attach to above loads
3rd reverse mark.
0 -
0
-
Check the below.
*nodecleartempmark;
*createmark loads 1 'by config' temperature;
*findmark loads 1 1 1 nodes 0 2;
set lst_TemperatureNodes [hm_getmark nodes 2];
eval *createmark nodes 1 $lst_TemperatureNodes;
*createmark nodes 1 'reverse';
*nodemarkaddtempmark 1;0 -
Hi Sandeep,
It won't work if temperature load is applied on a 'set' which contains node.
In this case how temperature will be applied is like,
Will create one load collector which contains load type temperature and that load will carry set as mentioned in below image.
In that case temperature will be applied indirectly to nodes.
And, in this scenario we can not check by above method.
@sandeepballiwar and @tinh pls reply if any other solution is there.
Best Regards,
Vikas Kumar
0 -
Hi,
don't need *findmark
try this
*nodecleartempmark
*createmark loads 1 'by config' temperature
*createmark nodes 1 'by loads' {*}[hm_getmark loads 1]
*createmark nodes 1 reverse
*nodemarkaddtempmark 1
0