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

GETADD...some Help Pls

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 6, 2005, 11:05
Default GETADD...some Help Pls
  #1
Robin K
Guest
 
Posts: n/a
HI All,

Previously I have carried out the following operation, setting up workspace in USRWRK, Dumping COND(INODE,1,1) into this workspace and then obtaining this workspace with COND values in USRTRN:

USRCND:

CALL GETADD('USRCND','PERMR ','USRDC ',ILEVEL,IUSRDC)

SET SOMETHING IN THIS WORKSPACE...

WORK(IUSRDC+INODE-1)=COND(INODE,IPHASE,1)

THEN I WROTE THIS VALUE IN USRTRN...

USRTRN

CALL GETADD('USRTRN','PERMR ','USRDC ',ILEVEL,IUSRDC)

DO...

WRITE(70,*) WORK(IUSRDC+INODE-1)

CONTINUE

The above procedure seems to work fine

However, in a new case I want to put a boundary condition for SCAL at the fluid/solid (in a CHT model) boundary to have a flux dependent on the sink rate supplied in USRSRC ...

Applying as I have done before:

USRSRC:

CALL GETADD('USRSRC','PERMR ','USRDC ',ILEVEL,IUSRDC)

SET SOMETHING IN THIS WORKSPACE... WORK(IUSRDC+INODE-1)=G4

Where G4=a value

USRBCS USRTRN

CALL GETADD('USRBCS','PERMR ','USRDC ',ILEVEL,IUSRDC)

DO...

WRITE(70,*) WORK(IUSRDC+INODE-1)

CONTINUE

The WORK(IUSRDC+INODE-1) in the 2nd case produces a value of zero!

There is obviously I am doing something wrong...Can anyone help!...

Many Thanks,

RK
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help me understand porous media in fluent~ pls pls.. :( naftalena FLUENT 0 February 28, 2010 13:20
i need help following problem pls pls help gmani CFX 4 March 31, 2009 09:39
Pls. help with particle tracking Daddy CFX 4 August 16, 2007 04:34
Pls reply how to do multizone in icem Michael CFX 0 October 15, 2006 23:29
multi phase flows....pls help... karthik FLUENT 0 November 16, 2005 10:15


All times are GMT -4. The time now is 23:28.