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
[QUOTE=ebrahimzade_vd,11666]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
ANSWER:
open(105,file=G:\Program files\Abaqus 11\Temp\subroutine test\isotropic isothermal elasticity\result.dat,[B]status=old[/B],recl=100)
[QUOTE=ebrahimzade_vd,11669]ANSWER:
open(105,file=G:\Program files\Abaqus 11\Temp\subroutine test\isotropic isothermal elasticity\result.dat,[B]status=old[/B],recl=100)
This is not correct because in next call of umat, whatever is written in the file is overwritten. My only option is now:
open(105,file=G:\Program files\Abaqus 11\Temp\subroutine test\isotropic isothermal elasticity\result.dat,position=append,recl=100)
Any other idea?
No. Sounds reasonable to me.
-Jorgen
- How to model viscous fluid in ABAQUS5 months ago
- UANISOHYPER_INV and SIGINI working together6 months ago
- Wave properties in dynamic structural analysis10 months ago
- Non homogenous strain in uniaxial Testcase in ABAQUS10 months ago
- Abaqus error running VUMAT - ...package.exe aborted with system error code 107374151112 months ago
- 21 Forums
- 3,863 Topics
- 13.2 K Posts
- 4 Online
- 29.3 K Members