I would like to get the value of the quantity TEMP at the centroid of a triangular element which has 3 integration points. The command to get the values at the 3 integration points is:

values = o3.steps['Step-1'].frames[-1].fieldOutputs['TEMP'].values

where o3 is the name of the session.

This command gives me 3 values (one for each integration point of the element).

How can I get with a similar command the value of the same quantity (TEMP) but at the centroid of each element?

Thanks!

More Simone Sangaletti's questions See All
Similar questions and discussions