How to solve OdbError in Abaqus Python script?
How to solve OdbError in Abaqus Python script?
(OP)
I am running a 3D solid model in Abaqus Python script, which is supposed to be analyzed for 200 times as the model has been arranged in a for loop (for i in range(0,199):). Sometimes, I receive the following error and then the analysis terminates. I can't realize the reason.
Odb_0=session.openOdb(name='Job-1'+'.odb')
"odberrror: the .lck file for the output database D:/abaqus/Model/Job-1.odb indicates that the analysis Input File Processor is currently modifying the database. The database cannot be opened at this time."
It is noted that all the variables including "Odb_0" and .... are deleted at the end of each step of the loop prior to starting the further one. I would be grateful if anyone could kindly advise.
Odb_0=session.openOdb(name='Job-1'+'.odb')
"odberrror: the .lck file for the output database D:/abaqus/Model/Job-1.odb indicates that the analysis Input File Processor is currently modifying the database. The database cannot be opened at this time."
It is noted that all the variables including "Odb_0" and .... are deleted at the end of each step of the loop prior to starting the further one. I would be grateful if anyone could kindly advise.
RE: How to solve OdbError in Abaqus Python script?
Consider adding a sleep-command at certain stages and catch issue with try-except.
RE: How to solve OdbError in Abaqus Python script?
RE: How to solve OdbError in Abaqus Python script?
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm