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

user-defined function hooks pannel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 11, 2004, 15:33
Default user-defined function hooks pannel
  #1
kevin
Guest
 
Posts: n/a
Anybody can explain what's the "Read/write Case Function" used for in the hooks pannel? it's better to give a example here, thanks.
  Reply With Quote

Old   August 12, 2004, 12:33
Default Re: user-defined function hooks pannel
  #2
Alex Chirokov
Guest
 
Posts: n/a
Read/Write case UDF are for saving/loading you UDF specific data. For example your UDF uses some internal data in calculations, and these data can change during iterations. If you close your case these changes will be lost. I used it once for solving inductive coupled plasma in fluent (ICP plasma torch). Calculations of EM field depend on current in the coil which is changeable parameter. In order to save this parameter with the case I used Read/Write case UDF. So case will remember what current was used in calculations.
  Reply With Quote

Old   August 12, 2004, 15:46
Default Re: user-defined function hooks pannel
  #3
kevin
Guest
 
Posts: n/a
Thank you,Alex, then when will these UDF be invoked? at each iteration? And would you please clarify for me what's the difference betweeen read/write case and read/write data, it doesn't mention much in the manual. Thanks,

kevin
  Reply With Quote

Old   August 12, 2004, 16:31
Default Re: user-defined function hooks pannel
  #4
Alex Chirokov
Guest
 
Posts: n/a
They will be invoked at each Read/Write case/data event that you initiate from file menu in Fluent. you can put this line in your code to see what UDF is executed and to check whether it is executed at all.

Message("This is my Read/Write UDF Function number %d \n", 3);

Alex-
  Reply With Quote

Old   August 12, 2004, 18:10
Default Re: user-defined function hooks pannel
  #5
kevin
Guest
 
Posts: n/a
thank you so much, Alex
  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
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
solving passive scalar by user function in AVLFIRE huyp Main CFD Forum 0 September 4, 2008 10:21
User defined function - CO level hari FLUENT 0 October 24, 2007 00:11
User defined function of mass flow rate Eric FLUENT 1 April 22, 2005 18:15


All times are GMT -4. The time now is 10:29.