Abaqus Python extract the right data in *.rpt for multi odb files

Hi,

 

A Python code was used to extract U1 of node 148 in Part-1 in *.rpt.

 

For the OBD File 1, A Python code 1:

 

open(ODB file 1)

show the U1 in graph

export data in 1.rpt

 

get the right data

 

(not close the Abaqus screen)

 

For the OBD File 2, A Python code 2:

 

close(ODB file 1)

open(ODB file 2)

show the U1 in graph

export data in 2.rpt

 

but the data in 2.rpt in the same with data in 1.rpt.

 

If replace "148" in the line "xyDataNames='_U1 PI: Part-1 N: 148', trueName='From Current XY Plot'" of the Python code by "148_1" in Python code 2  for ODB file 2  and get the right U1 of node 148 in 2*.rpt.

 

  1. Why?
  2. How to get the right data in Python code 2 without replacing "148" by "148_1" in Python code 2?