|
[Sponsors] |
August 11, 2004, 15:33 |
user-defined function hooks pannel
|
#1 |
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.
|
|
August 12, 2004, 12:33 |
Re: user-defined function hooks pannel
|
#2 |
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.
|
|
August 12, 2004, 15:46 |
Re: user-defined function hooks pannel
|
#3 |
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 |
|
August 12, 2004, 16:31 |
Re: user-defined function hooks pannel
|
#4 |
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- |
|
August 12, 2004, 18:10 |
Re: user-defined function hooks pannel
|
#5 |
Guest
Posts: n/a
|
thank you so much, Alex
|
|
|
|
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 06: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 |