|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
David Jiang
Join Date: Oct 2010
Posts: 1
Rep Power: 0 ![]() |
Hello everyone,
I was trying to implement the following UFD into FLUENT to fix uv in RSM, #include "udf.h" DEFINE_PROFILE(fixed_uv, t, i) { cell_t c; begin_c_loop (c,t) { F_PROFILE(c,t,i) = - 2.*C_MU_T(c,t)/C_R(c,t)* 0.5 * (C_DUDY(c,t)+C_DVDX(c,t)); } end_c_loop (c,t) } however, an error happens when hooking the profile, Error: CAR: invalid argument [1]: wrong type [not a pair] Error Object: () Please give me some suggestions! Many thanks! David |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fan Boundary Condition OR Fixed Values or Source Terms | SolarX | FLUENT | 1 | June 9, 2011 05:13 |
| Fixed bed reactor.....you can help...I am sure!! | Amrrefay | FLUENT | 0 | June 6, 2009 07:58 |
| Fixed temperature for domain | seojaho | CFX | 8 | June 4, 2009 14:21 |
| UDF: source, fixed value for a given region | Ming | FLUENT | 1 | March 4, 2003 18:23 |
| Has the pressure to be fixed at one node? | Steve Song | Main CFD Forum | 5 | February 9, 2003 14:14 |