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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: blackmask
Forum: Fluent UDF and Scheme Programming September 14, 2018, 20:31
Replies: 6
Views: 2,081
Posted By blackmask
Since [DEFINE_PROPERTY] is invoked for each cell,...

Since [DEFINE_PROPERTY] is invoked for each cell, it is quite inefficient to read scheme variable in the host node (RP_Get_Input_Parameter) and broadcast it to all compute nodes...
Forum: Fluent UDF and Scheme Programming September 14, 2018, 00:26
Replies: 6
Views: 2,081
Posted By blackmask
My bad. I have updated my solution. You need to...

My bad. I have updated my solution. You need to hook the execute-at-end function. Does the variable "real-1" change frequently?
Forum: Fluent UDF and Scheme Programming September 13, 2018, 20:06
Replies: 6
Views: 2,081
Posted By blackmask
Try this one instead. #include "udf.h" ...

Try this one instead.

#include "udf.h"

real in_vel = 1.0;

DEFINE_EXECUTE_AT_END(execute_at_end)
{
#if !RP_NODE
in_vel = RP_Get_Input_Parameter("real-1");
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 15:35.