CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

problems with UDMI... !!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2007, 02:38
Default problems with UDMI... !!!
  #1
Nady
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); }
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 11:12
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 12:13
UDMI error when memorizing Dissipation of TKE Lohen FLUENT 0 June 23, 2005 09:59
F_UDMI Problems stephen e FLUENT 1 January 17, 2004 09:01
Some problems with Star CD Micha Siemens 0 August 6, 2003 13:55


All times are GMT -4. The time now is 18:59.