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

SETWRK & GETWRK (CFX4)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2004, 14:45
Default SETWRK & GETWRK (CFX4)
  #1
RK
Guest
 
Posts: n/a
Dear Someone:

I have calculated a new density value in USRDEN. Now, I would like to use the calculated DENN from USRDEN in USRCND. This is what I have been recommended to implement: put the values in user work space in USRDEN & then use it in USRCND. But the way I have done using SETWRK in USRDEN and GETWRK in USRCND does not do the job. Can anyone suggest anything?

Thanks in advance.

RK
  Reply With Quote

Old   August 5, 2004, 11:34
Default Re: SETWRK & GETWRK (CFX4)
  #2
Dougal McQueen
Guest
 
Posts: n/a
Use USRWRK to set the work spacre for the variable. Then GETWRK to find the pointer to where the memory has been allocated, and either set or call the variable from that position in the stack.
  Reply With Quote

Reply


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
CFX4 dump file format Glenn Horrocks CFX 2 October 12, 2003 20:16
remote user of CFX4 John CFX 5 September 7, 2003 19:20
how can I get the granular temperature in cfx4? danney CFX 0 September 3, 2003 00:06
OpenDX with CFX4 Brett Towler CFX 0 December 3, 2001 18:31
CFX4 Validation Glenn Horrocks CFX 0 January 30, 2001 23:56


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