Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Txt file output

Status
Not open for further replies.

rotowash_master

Bioengineer
Nov 7, 2023
3
0
0
UA
Good evening everybody,
I am trying to get an output .txt file, using the code at the end of my UMAT:

OPEN(105, file='C:\Temp\Aereo\List.txt',position='append')
[/indent]WRITE(105,*)NOEL,NPT,MAX_S
CLOSE(105)

The problem is that I am capable of getting the variable MAX_S for every NPT, for every NOEL, but I always get a .txt file where the first section is just MAX_S=0 for every NPT and NOEL, and then I get the actual values I am looking for.
Do you know what I could change in order to get a proper .txt file where I get only the values I am looking for and not the set of null values?
 
Replies continue below

Recommended for you

Not exactly, I'll explain:
I have a step with duration=0. I would love to have initial stress values based on the loading condition I am applying, but it looks like every time the subroutine does a full cycle without considering applied loads, so I always get a set of MAX_S=0, while in reality they are already not equal to zero at time zero, due to the loading condition.
 
Status
Not open for further replies.
Back
Top