CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   USR SRC & BCS... (https://www.cfd-online.com/Forums/cfx/21388-usr-src-bcs.html)

Robin K June 29, 2005 17:48

USR SRC & BCS...
 
Hi,

I have created a workspace using USRWRK and dumped a value from USRSRC in this workspace. Can I use this variable that I have placed in the workspace in USRBCS?

For Example...

USRWRK:

CALL SETPER('USRWRK','WORK ','USRSN',NNODE,IUSRSN)

USRSRC...

CALL GETADD('USRSRC','PERMR ','USRSN ',ILEVEL,IUSRSN)

SET VALUE IN WORK SPACE

WORK(IUSRSN+INODE-1)=G4

USRBCS...

CALL GETADD('USRBCS','PERMR ','USRSN ',ILEVEL,IUSRSN)

DO...

G0=WORK(IUSRSN+INODE-1)

I get the following error:

"INCORRECT ARRAY NAME USRSN PASSED FOR STACK PERMR FROM SUBROUTINE USRBCS"

Can ony say anything...

Many Thanks

RK


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