|
[Sponsors] |
July 20, 2011, 10:30 |
Question about passing Data and calling UDFs
|
#1 |
New Member
Jack cosby
Join Date: Jul 2011
Posts: 15
Rep Power: 15 |
Hey guys, Im using Fluent 6.23, and im facing a problem and would appreciate your input. So basically I have 2 questions that have been puzzling me, 1st of them being: How do you call a UDF from with in another UDF? say you have a conditional situation with in a UDF where if 1st condition happens you need to return but if second condition happens you need to call another UDF to operate on the data from thr current UDF?
My second question is how do you save a scalar Value to use in next UDFs? Im not sure what happens when you declare a variable Global and then call it using Extern variable capability from another source file... How long does this variable live before it is reset? Or can I Use DEFINE_RW to write the data in file and then read it back in the next macro? note: I need these UDFs to be in different source files because they are called in different stages of the run. OR CAN I? is it ok(possible) to call different macros within the same source file in different stages of an automated(journal) Run? Thanks for your inputs, A.A Last edited by 3DmaniacSLDWRKS; July 20, 2011 at 10:46. |
|
Tags |
calling udfs reading data |
|
|