|
[Sponsors] |
March 4, 2007, 00:51 |
UDF DEFINE_UDS_FLUX problem
|
#1 |
Guest
Posts: n/a
|
Hi,
I am trying to add a uds equation into my simulation of two phase flow. I define my flux term with DEFINE_UDS_FLUX, the result is awful. I compared the result of default "mass flow rate" and a very simple flux function, which are supposed to yield similar results. But the difference is very big, the UDF even don't converge. Could you please help me out with it? DEFINE_UDS_FLUX(my_uds_flux,f,t,i) { return F_FLUX(f,t); } Thank you very much. Tim |
|
March 4, 2007, 15:55 |
Re: UDF DEFINE_UDS_FLUX problem
|
#2 |
Guest
Posts: n/a
|
I am using Fluent 6.3. Here, my uds is hooked to the dispersed phase. I tried it on the continue phase, the "mass flow rate" option and F_FLUX gave consistent results. only when i hook it to the solid phase with the udf difined flux, the computation blow out. Any suggestion will be heartily appreciated.
Tim |
|
March 5, 2007, 13:12 |
Re: UDF DEFINE_UDS_FLUX problem
|
#3 |
Guest
Posts: n/a
|
hi, someone told me that to get the right flux, the return value of F_FLUX must time the area of the face. Is it correct, I could not find it in the user guide.
|
|
October 28, 2012, 08:56 |
|
#4 |
New Member
Leon Chen
Join Date: Aug 2012
Location: ShenZhen, China
Posts: 9
Rep Power: 14 |
Hi,Tim
I am checking what does F_FLUX return now. I have noticed that F_FLUX is a scalar rather than a vector. In udf manual of fluent 6.3, there is a paragram that use vec(velocity) dot vec(Face Area) to represent F_FLUX, according to this, it seems that F_FLUX itself returns the value of mass flow rate through the given face, its unit might be kg/s. But when I use the code in the udf mannul to check this idea, i found that F_FLUX(f,tf) is not equal to vec(velocity) dot vec(Face Area). if you get some useful information about F_FLUX, i hope you can share with us. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
what's the problem with my udf | zzyan | FLUENT | 0 | November 4, 2010 04:56 |
Problem with my udf | july | Fluent UDF and Scheme Programming | 3 | June 20, 2010 07:56 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 10:58 |