|
[Sponsors] |
October 17, 2003, 11:29 |
file call
|
#1 |
Guest
Posts: n/a
|
Hi,
This is a problem that is more related to Fortran than to star cd I guess, but here it is: I have two sets of cells separated from one another. In POSDAT I constructed two separate lists of cell numbers and centroids of these cells e.g. IP1, IP2 and CX1 and CX2, then I calculated the list of matched cells MATCH12, i.e. MATCH12(7,1) is the prostar cell number of the type 1 in pair 7. And then I wrote that list to a file, so that it could be accessed directly from another subroutine before POSDAT is called for restart runs, with: OPEN (101,File='Match.list') DO IM=1,ICOUNT5 write (101,*) IM,MATCH12(IM,1),MATCH12(IM,2) END DO close (101) Now, my question is how do I open this file when I would like to access this list in another subroutine, I know this should be very basic but I am a preety bad programer. Many thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
call for help | sihat | FLUENT | 1 | October 9, 2007 05:53 |
Call of Ratusr.f | jojo | Siemens | 6 | October 17, 2005 14:33 |
Call for papers | Steve Zhang | Main CFD Forum | 0 | December 7, 2001 09:46 |
Call for Papers | Alton J. Reich | Main CFD Forum | 0 | November 16, 2000 10:01 |
Call for Papers | Tom Gutjahr | Siemens | 0 | April 28, 2000 06:42 |