|June 14, 2005, 06:30||
User Common Block...ODD?
I would like to ask how does one check whether or not a user variable from one subroutine to another has been passed. Example
WORK(IUSRGR+INODE-1)=r ... ... END USRBCS
r=WORK(IUSRGR+INODE-1) .... ....
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...
|Thread||Thread Starter||Forum||Replies||Last Post|
|Icem Mesh to Foam||jphandrigan||OpenFOAM Mesh Utilities||4||March 9, 2010 03:58|
|where can I find the information about all the common block?||mactonald||STAR-CD||0||May 31, 2009 04:49|
|droplets common block||Habib||CD-adapco||1||June 25, 2005 00:07|
|fortran common block||A.M.Memarzadegan||Main CFD Forum||3||October 4, 2003 12:35|
|STAR HPC. Problem with COMMON BLOCK||Denis||CD-adapco||0||April 4, 2003 07:33|