×
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

run abaqus script

run abaqus script

run abaqus script

(OP)
hello,
I tried to run an abaqus script (myscript.py) using the instructions: abaqus cae script=myscript.py and abaqus viewer script=myscript.py and a get the sytaxeror:invalid syntax
I tried also to use file->run script but i get Syntax error:('unexpected character after line continuation character')
that in one hand, in auther hand i need help to tell me how i can import a Matlab file results to abaqus script.
think you

RE: run abaqus script

It sounds like you have a syntax error in your python script. It should give you a line number where the error is to aid in debugging.

For import matlab file results, you could try getting the SciPy package working with Abaqus (I tried, but not too hard since I didn't have long to spend on it). Alternatively, if you don't have a ton of information to pass from MATLAB to Abaqus, you can write the MATLAB results to a file (.dat, .txt, etc) and then load them in your python script using the numpy package that comes with Abaqus and the numpy.loadtxt function

RE: run abaqus script

you can also use python, numpy and scipy instead of matlab.

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