I am not able to find an operator which works similarly to the EPTO in Ansys. Can someone suggests how to extract this quantity?
Hi @A_G
You may refer the below link for Available Operator under Results. Or simply utilise the "Search…" bar
https://dpf.docs.pyansys.com/version/stable/operator_reference_load.html
Cheers!
Hello @A_G, MAPDL does not produce the EPTO result in its result files, rather it is computed during post-process as the sum of elastic strain, plastic strain, and creep strain as described here. In DPF, that means you need to request the elastic strain, plastic strain, and creep strain separately and sum them to obtain a total strain. You can then compute the equivalent total strain using the equivalent von mises operator.
I agree though that we could have a helper for that particular recomposed result. Here is what it would look like using PyDPF-Core:
# Import the ansys.dpf.core module as ``dpf`` from ansys.dpf import core as dpf # Import the operators modules from ansys.dpf.core import operators as ops # Create the DataSources object pointing to the RST file ds = dpf.DataSources(result_path=**MY_RST_FILE**) # Open streams to the file streams_op = ops.metadata.streams_provider(data_sources=ds) # Elastic strain result operator (EPEL) epel_op = ops.result.elastic_strain(streams_container=streams_op) # Plastic strain result operator (EPPL) eppl_op = ops.result.plastic_strain(streams_container=streams_op) # Creep strain result operator (EPCR) epcr_op = ops.result.creep_strain(streams_container=streams_op) # Single add_fc operator: elastic + plastic + creep → total strain EPTO add_epto = ops.math.add_fc( fields_container1=epel_op, fields_container2=eppl_op, ) # Connect the third FieldsContainer on pin 2 (ellipsis pin) add_epto.connect(2, epcr_op) # Poisson's ratio of the material (0.3 is a typical value for steel) poisson_ratio = 0.3 # Von Mises equivalent operator applied to the total strain FieldsContainer epto_eqv_op = ops.invariant.von_mises_eqv_fc( fields_container=add_epto, poisson_ratio=poisson_ratio, ) # Run the operator epto_eqv = epto_eqv_op.eval()