CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

User Common Block...ODD?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2005, 07:30
Default User Common Block...ODD?
  #1
Robin
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
  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
[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


All times are GMT -4. The time now is 05:36.