×
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

How to get output in files with text format?

How to get output in files with text format?

How to get output in files with text format?

(OP)
Hello,

The format of abaqus output file (ODB) is not text. Is there a way to make Abaqus/CAE generate text output file with the values of stress, temperature, etc. for all elements or nodes in each time step?

Thank you,
Ardavan.  

RE: How to get output in files with text format?

Use *El Orint, *Node Print. It sends the results to the dat file

Tata  

RE: How to get output in files with text format?

(OP)
Tata,

Thank you for your response. I used *Node Print; I added the command "*NODE PRINT, NSET=_PICKEDSET3" to the input file under *step (I have attached the input file). But I got the folowing message:

WARNING: The following keywords/parameters are not yet supported by the input file reader:
------------------------------------------------------------
*NODEPRINT

Can I use *NODE PRINT any place other than inside the input file? Are there other alternatives for making text output? (I also have Abaqus/CAE 6.8-3.

Thanks,
Ardavan.
 

RE: How to get output in files with text format?

The key words have to be in the *output section of the step. You've placed it just below the *step line.  

Tata  

RE: How to get output in files with text format?

you have an API to access the odb via a program.
check scripting user manual, accessing an output db. it's actually very easy to get what you need if you know a little about programming.

RE: How to get output in files with text format?

(OP)
Thank you. I am familiar with python and I wrote a small code to communicated with an ODB file. I think I am very close but there is something missing in my program. The code is:

from abaqus import *
from abaqusConstants import *
from odbAccess import *
from visualization import *
import odbAccess
dt=session.odbs['Job-1.odb']

and the file Job-1.odb already exists in c:\temp. But I get an error for the last line. I ran the program both from the abaqus command line and abaqus cae command line and got the same error. I don't know what I am missing and would appreciate your comments.

Thanks,
Ardavan.



 

RE: How to get output in files with text format?

ArdavanY

I dont know if I fully understood your problem but here is another method. In Visualization mode, select your desired nodes and click on REPORT XY. The file you will get will be in RPT format and will contain all the columns with values you asked in the field output. You can easily open them in notepad or wordpad i.e. in a text format.
hope this helps

regards
 

RE: How to get output in files with text format?

(OP)
MNS747,

Thank you for your comment. I tried your method and it worked. However when I did the same thing for an RVE with 125,000 elements, an error occured and abaqus cae closed itself after I clicked "Ok" on the error window.

As for the python code I made some progress. This is my program:

from abaqus import *
from abaqusConstants import *
from odbAccess import *
from visualization import *
import odbAccess

session.openOdb(path='Job-1.odb',name='job-1.odb',readOnly=True)

dt=session.odbs['Job-1.odb'].steps['Step-2'].frames[-1].fieldOutputs['NT11']
tfs=open("Takhteh.txt","w")
tfs.write(dt)

But I get the error which tells me I cannot write FieldOutputs in a text file, since it is neither string nor read only. How can I turn the contents of FieldOutputs into strings?

Thanks,
Ardavan.



 

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