Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when running Python script in ABAQUS using noGUI command.

Status
Not open for further replies.

MarkHard748

Mechanical
Joined
Mar 1, 2011
Messages
1
Location
IE
Hi,

I've been trying to run a script in ABAQUS to output a .dat file from an odb. When I open ABAQUS and click Run Script and select the file everything works fine. However when I try and run the script using cmd using;

"abaqus cae noGUI=OliverPharr.py"

I get an error,

"ValueError: omu_PrimEnum(Enum) - Enum value not allowed: -1 Permissible: {REAL: 0, IMAGINARY: 1, COMPLEX_MAGNITUDE: 2, COMPLEX_PHASE: 3, COMPLEX_VAL_AT_ANGLE: 4}
File "OliverPharr.py", line 5, in ?
session.XYDataFromHistory(name='Force', odb=odb, outputVariableName='Reaction force: RF2 PI: INDENTER-1 Node 1 in NSET INDENTER_REF_POINT_SET', steps=('Step-1', ), ) "

I don't understand why it will work with cae open and not with the noGUI command.

Any help would be greatly appreciated.

Thanks,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top