The calculation of a model took about 36 hours to solve and I did not select the option to calculate elastic deformations, now I need that parameter and I do not want to calculate everything again.
So you mean that now you only have the nodal displacement?
If you know your element type and the shape functions, you can compute the strain field using the nodal displacement. But you need also the coordinates of the nodes in the deformed shape (COORD parameter in the Abaqus).
To read the odb file, you can use the following python code for the nodal displacements and the COORD of a set of nodes in “SetName”:
As you may know, the total strain components(E) option is selected by default when you create a step, so if you deselect it manually, you should calculate the element displacement by accessing the ODB file, as our friend Mohammadreza Moeini said. However, as you mentioned that your analysis took about 36 hours, I assume that maybe there are a large number of elements in your model, so this method may cause some errors. I recommend you to rerun your job. But for accessing the ODB file by python scripting, there is a complete lecture in lesson 2 of this package: https://caeassistant.com/product/python-scripting-in-abaqus-part-2/.