![]() |
Can I accesses the Output Parameters in UDF ?
2 Attachment(s)
Hello
In fluent Report Definitions Attachment 75456 The force on the object be created as a output parameter Attachment 75455 The question is: can I accesses this/these output parameters in UDF? Thanks |
Code:
RP_Get_Input_Parameter("variablename") For parallel solver must be executed on host |
1 Attachment(s)
Quote:
I tried this method before but the GUI show Attachment 75460 when the parameter use as "Input Parameters" so I use "Output Parameter" instead |
Output Parameter
As of today, Fluent does not provide option to access output parameter value in C or Scheme Based UDF. So, there are at least two alternatives. One is to define the output parameter within the UDF, i.e., whatever output parameter is pointing to can be extracted within C UDF using DEFINE_ functions. Second is to define an rpvar and fetch value of output parameter and assign it to newly defined rpvar. rpvar value can be fetched in a UDF using RP_Get_Real or RP_Get_Integer.
|
All times are GMT -4. The time now is 20:22. |