writing in a .dat file with Abaqus Subroutines
I am able to write data in a file using:
open(105,file=G:\Program files\Abaqus 11\Temp\subroutine test\isotropic isothermal elasticity\result.dat,position=append,recl=100)
write(105,*) test
close(105)
But everytime I want to rerun my job, i should first delete the content of result.dat and then rerun otherwise the results of the upcoming run would be appended to the existing ones. I added status = replace to the open statement, but abaqus gives an error. Anyidea what I should do?
Thanks
I do not include the position statement, that works great, but every run of the routine deletes older output:
open (100, file=....output.txt, status=old)
you could also try something like
logical :: firstcall = .true.
save firstcall
if (firstcall) then
...delete your file, or create a new one etc.
append output to new file
endif
- VUMAT for Hyperelastic Materials - Update to Bergstrom's Example2 years ago
- UMAT: Tangent stiffness for linear perturbation steps / steady state dynamics / vibration analysis2 years ago
- Rubber Curing: ABAQUS UMATHT Subroutine Problem ...3 years ago
- Running with Matlab an Abaqus python script involving a subroutine3 years ago
- UMAT subroutine for 3d solid4 years ago
- 21 Forums
- 3,863 Topics
- 13.2 K Posts
- 6 Online
- 29.3 K Members