How to extract Creep Strain using Python in Mechanical?
analysis = Model.Analyses[0] reader = analysis.GetResultsData() reader.CurrentResultSet = 1 creep = reader.GetResult("EPCR") creep.SelectComponents(["X"]) print(creep.GetElementValues(6076))
is there a way to do this in pyDPF? I need to extract creep strains for lots of elements across the full time history of my analysis, but am struggling to get pyDPF-core or -post to work for creep strain...
@KyleBenson unfortunately, it is not yet available via DPF, it is expected in the future release.
Is it possible to extract creep strain using PyMAPDL?
@DSSim technically yes, it should be possible using the XPL, READ command but it won't be very performant, because you will have to extract for individual element, if you are looking for Nodal Averaged results, that might be a feasible option to explore. You can refer to this post on using XPL, READ with PyMAPDL, to write a code for creep strains, refer to the exact location in the RST file RST Results Description.
XPL, READ Example
That being said, keep an eye of the DPF Standalone server pre-releases, we expect a release soon with Creep Strains
Install DPF Server