Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-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
Joined
Nov 7, 2023
Messages
3
Location
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?
 
Aren’t those just the initial values (at 0 increment) ?
 
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.

Part and Inventory Search

Sponsor

Back
Top