×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Error when running Python script in ABAQUS using noGUI command.

Error when running Python script in ABAQUS using noGUI command.

Error when running Python script in ABAQUS using noGUI command.

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources