Brendan L

CosmosWorks API question

Discussion created by Brendan L on Feb 12, 2009
Latest reply on Feb 12, 2009 by Bill McEachern
Hello all,
I have been working on a program that will get the tip deflection of a wing. This required me to obtain the nodes on the tip of the wing and find their displacement. I originally had thought the most logical course of action was to use a Static Linear Analysis, get the nodes from the mesh, and then use the function GetDisplacementComponentForAllStepsAtNode to obtain the displacement at the nodes. Everything worked great until the code got to the previously stated function where it would return an error stating "Study does not have this result type." I tried many things to get rid of this error including changing the function to something else. Finally, I changed the type of Study I used to non-linear (shot in the dark) and ran my original code. It worked beautifully. I was wondering what makes the GetDisplacementComponentForAllStepsAtNode function not accessible in a static study and what makes the function accessible in the non-linear study?


Regards,
Brendan

Outcomes