MarkHard748
Mechanical
- Mar 1, 2011
- 1
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
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