|
[Sponsors] |
June 14, 2005, 07:30 |
User Common Block...ODD?
|
#1 |
Guest
Posts: n/a
|
Hi,
I would like to ask how does one check whether or not a user variable from one subroutine to another has been passed. Example USRINT COMMON /UCDGR/r AREA 5************** WORK(IUSRGR+INODE-1)=r ... ... END USRBCS COMMON /UCDGR/r AREA 5**** r=WORK(IUSRGR+INODE-1) .... .... END If put a write statement just below the COMMON block statement in USRBCS, one get all sorts of error but when one checks the user variable r in USRBCS a value of zero is given; thus it seems not be passing from one subroutine to another...The workspace has hopefully been set up correctly, assuming this... Does anyone have a remedy for this? Many Thanks in advance... RK |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Icem Mesh to Foam | jphandrigan | OpenFOAM Meshing & Mesh Conversion | 4 | March 9, 2010 03:58 |
where can I find the information about all the common block? | mactonald | STAR-CD | 0 | May 31, 2009 05:49 |
droplets common block | Habib | Siemens | 1 | June 25, 2005 01:07 |
fortran common block | A.M.Memarzadegan | Main CFD Forum | 3 | October 4, 2003 13:35 |
STAR HPC. Problem with COMMON BLOCK | Denis | Siemens | 0 | April 4, 2003 08:33 |