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.
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?
Tata
RE: How to get output in files with text format?
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?
Tata
RE: How to get output in files with text format?
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?
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?
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?
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.