CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Fortran Question

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2006, 17:53
Default Fortran Question
  #1
Vishwas
Guest
 
Posts: n/a
Question: I run a fortran code which writes data to a file. Then I run the code again and this time I want to write the data to the same file but without erasing the previously written data. What normally happens is the previous data is erased and only the new data is written in the file. Is there any command to add the new data to the previously written data?

Thank you

  Reply With Quote

Old   April 12, 2006, 17:56
Default Re: Fortran Question
  #2
Peter Attar
Guest
 
Posts: n/a
open(iunit,file='something',status='old',position= 'append') where iunit is your unit number

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
a strange question about Fortran Hall Main CFD Forum 9 May 18, 2004 02:48
Question on USER FORTRAN: GETVAR BoZ CFX 2 May 6, 2003 10:32
Short question on command in user fortran Franz Thomsen CFX 2 June 20, 2000 06:35
'C' or FORTRAN or 'C++' Yogesh Talekar Main CFD Forum 20 October 21, 1999 04:00


All times are GMT -4. The time now is 04:41.