With Ansys ACT Python you have full access to the data of the RST, such as the stress tensor of an element:
elemId = 14588
analysis = Model.Analyses[0]
reader = analysis.GetResultsData()
reader.CurrentTimeFreq = 1
stress = reader.GetResult('S', MechanicalUnitSystem.StandardNMMton)
S = stress.GetElementValues(elemId)
print S
You can also query the type of the element:
meshData = analysis.MeshData
elem = meshData.ElementById(elemId)
elem_typ = elem.Type
print elem_typ
But what you get here is a string like "kHex8". Is it possible to get the real Ansys element type (like 185 for 8-node solids) and how do I get the set keyopts with ACT Python for a specific element? The calculation within my ACT extension must take the set element options into account...
Thanks for helping.