During the course of my analysis, my model expands in one direction (XX) and contracts in the other (YY).

I want to simply measure the "expansion/contraction" of my model in XX and YY directions separately.

I know that, from the "Distance" query between two nodes, one can get the values for the "Base Distance" and "Deformed Distance". So the percentage of expansion would be

% Expansion = 100*[(Base distance)-(Deformed distance)/Base distance]

My question is two-fold and would love for some ideas, since this seems to be quite a simple task in a sense:

1) Using Python to dig into my odb file, can I obtain the fields that the GUI "Distance" feature gives? (Base distance, deformed distance etc)

2) My model is parametric. i.e, I generate, lets say 20 models and 20 input files, with varying mesh sizes/model lengths etc. Manually giving the node numbers in XX and YY directions to calculate the expansion seems to be a bit of an effort. Is there a better way to do this?

More Paritosh Hebbal's questions See All
Similar questions and discussions