|
[Sponsors] |
May 16, 2007, 03:38 |
problems with UDMI... !!!
|
#1 |
Guest
Posts: n/a
|
Dear all... i've got a problem with UDMI... THe first define_profile is defining the average temperature on the outflow boundary, and i wanna sign this temperature to another inlet boundary... i'm recording this temperature to UDMI, and when i'm reading it from UDMI in another define_profile the program shows me zero... what am i doing wrong? F_PROFILE(f,th,i)=0 as the result but i want F_PROFILE(f,th,i)=tavg1. Please help me...
DEFINE_PROFILE(av_temp_out,th,i) { real tavg; face_t f; real x[ND_ND],y,tavg1,s,s1; cell_t c0 = F_C0(f, th); Thread *thread_c = THREAD_T0(th); s=0; tavg1=0; begin_f_loop(f,th) { F_CENTROID(x,f,th); y=x[1]; tavg=F_T(f,th); s1=y*y*3.14; s+=s1; tavg1 +=tavg*s1; } end_f_loop(f,th) tavg1/=s; C_UDMI(c0, thread_c, 0) = tavg1; } DEFINE_PROFILE(av_temp_in,th,i) {face_t f; cell_t c0 = F_C0(f, th); Thread *thread_c = THREAD_T0(th); F_PROFILE(f,th,i)=C_UDMI(c0, thread_c, 0); } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 12:12 |
Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 13:13 |
UDMI error when memorizing Dissipation of TKE | Lohen | FLUENT | 0 | June 23, 2005 10:59 |
F_UDMI Problems | stephen e | FLUENT | 1 | January 17, 2004 10:01 |
Some problems with Star CD | Micha | Siemens | 0 | August 6, 2003 14:55 |