|
[Sponsors] |
March 27, 2016, 05:01 |
Varying speed of disk through UDF Fluent
|
#1 |
Senior Member
AH
Join Date: Apr 2014
Posts: 287
Rep Power: 0 |
Hello everyone
Tried to vary speed of disk in Fluent using this code #include "udf.h" DEFINE_PROFILE(inlet_mf,thread,i) { float t = CURRENT_TIME; face_t f; begin_f_loop(f, thread) { F_PROFILE(f,thread,i) = t*5; } end_f_loop(f,thread) } ------ error message " ... inlet-mf : wrong return type: double udf function expected". Yes the inlet_mf is for inlet mass flow rate, but why wouldn't this work. What is the correct alternative? Please, thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent rp var to modify rotation speed of a boundary | QBeast | FLUENT | 2 | August 12, 2015 16:58 |
solving a conduction problem in FLUENT using UDF | Avin2407 | Fluent UDF and Scheme Programming | 1 | March 13, 2015 03:02 |
LSR (Land speed record) car simulation on FLUENT | Maxime31850 | FLUENT | 2 | May 1, 2013 12:15 |
fluent UDF external library lapack problem | Rick | FLUENT | 0 | May 7, 2008 11:16 |
UDF of Zimont model in fluent | Z | Main CFD Forum | 0 | February 17, 2005 04:07 |