User login

Navigation

You are here

python script error

Hi
I have script written in phyton and get following error when try to read history data.
I will appreciate any help.
thanks and regards,

ERROR:

Neither set named 'PIVOT' nor region named 'ElementSet PIVOT' found.

***COMMENT: History output is available at the following points ['Element PART-1-1.701', 'Element PART-1-1.908', 'Element PART-1-1.909', 'Node PART-1-1.901', 'Node PART-1-1.902', 'Node PART-1-1.903', 'Node PART-1-1.904']

***ERROR: The spatial location for the requested history not found in the historyRegion objects of step 'Step-1'.

***ERROR: No history data in output database

POST SCRIPT FILE

PSF tp.generate(template='base07-f')

tp.execute(ALL)
tp.output(file=ODB,request=HISTORY,step=1)

tp.gather(request=HISTORY,results='pivot_CU', variable='CU',elset='pivot')
tp.report(FILE,par=('m1_mass'),results=('pivot_CUR.1'),file='output')

INPUT FILE

*output,history,freq=1

Free Tags: 

Hey  Muhammad, 

I think this is because you must be trying to call history output data for 'PIVOT' and 'ElementSet PIVOT', while these have not been defined in the file. Try defining the set and element sets in the assmebly module and you should be able to read history output data after running the job.

just out of curiosity, what are you trying to do with the python script? what program are you trying to run? or is it just for the python compiler?

good luck!

Regards,

Raul 

Subscribe to Comments for "python script error"

Recent comments

More comments

Syndicate

Subscribe to Syndicate