|
[Sponsors] |
October 24, 2016, 04:04 |
problem with UDF compile
|
#1 |
New Member
Tamilnadu
Join Date: Oct 2016
Posts: 7
Rep Power: 10 |
Hello everyone,
I'm trying to compile UDF in the fluent but at the time of compiling it is showing the following error to each UDF at assigning the function everytime. UDF 1 for n = no * exp(-(R*T/(Alpha+(beta*T))^2)*ln(p_o/p)^2) #include "udf.h" DEFINE_ADJUST(ads,domain) { Thread *t; real E,A,P; cell_t c; thread_loop_c (t,domain) { begin_c_loop (c,t) { real tem = C_T(c,t); P=C_P(c,t)+RP_Get_Real("operating-pressure"); E=3080+18.9*tem; A=8.314*tem*log(1.47E9/P); C_UDSI(c, t, ads) = 71.6*(exp(-((A*A) / (E*E)))); error is in this line } end_c_loop (c,t) } } error in compiling this file is error C2296: '*' : illegal, left operand has type 'void (*)(Domain *)' Can anyone please help me with this? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent 6.3.26 on Linux does not compile an UDF | Entwistle | Fluent UDF and Scheme Programming | 1 | March 4, 2014 15:49 |
Mesh UDF problem | kornetka | Fluent UDF and Scheme Programming | 4 | July 25, 2013 07:54 |
compile a udf or interpret it? | ndabir | Fluent UDF and Scheme Programming | 1 | July 14, 2012 03:49 |
Help! Compiled UDF problem 4 Wave tank tutorial | Shane | FLUENT | 1 | September 3, 2010 03:32 |
udf compile in parallel system | tahereh | FLUENT | 1 | December 9, 2008 10:48 |