Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to get output in files with text format?

Status
Not open for further replies.

ArdavanY

Civil/Environmental
Jun 22, 2010
6
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.
 
Replies continue below

Recommended for you

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

Tata
 
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.
 
 http://files.engineering.com/getfile.aspx?folder=ea30e7ce-90d9-4834-8b10-e361ed79c127&file=Job-1.inp
The key words have to be in the *output section of the step. You've placed it just below the *step line.

Tata
 
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.
 
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.



 
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
 
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.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor