# Temperature boundary condition at the pipe outlet

 Register Blogs Members List Search Today's Posts Mark Forums Read

 July 7, 2011, 14:11 Temperature boundary condition at the pipe outlet #1 New Member   Jerry Mcquire Join Date: Jul 2011 Posts: 2 Rep Power: 0 .................. Last edited by j. mcquire; July 13, 2011 at 12:35. Reason: no reply

July 7, 2011, 15:06
#2
Senior Member

Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 739
Blog Entries: 1
Rep Power: 15
Hi,
Quote:
 #include "udf.h" DEFINE_PROFILE(out_temp, t, i) { real x[ND_ND]; face_t f; Thread *t0; begin_f_loop (f,t) { F_CENTROID(x,f,t); F_PROFILE(f,t,i) = C_T(F_C0(f,t),THREAD_T0(t)); } end_f_loop (f,t) }
I didn't check that, it may have some syntax errors.

 July 7, 2011, 16:25 #3 New Member   Jerry Mcquire Join Date: Jul 2011 Posts: 2 Rep Power: 0 ................. Last edited by j. mcquire; July 13, 2011 at 12:36. Reason: no reply

July 8, 2011, 02:33
#4
Senior Member

Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 739
Blog Entries: 1
Rep Power: 15
Dear Jerry,
I checked that and it was compiled without any error:
Quote:
 #include "udf.h" DEFINE_PROFILE(out_temp, t, i) { real x[ND_ND]; face_t f; Thread *t0; begin_f_loop (f,t) { F_CENTROID(x,f,t); F_PROFILE(f,t,i) = C_T(F_C0(f,t),THREAD_T0(t)); } end_f_loop (f,t) }
you can see modifications if you compare it with your UDF!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post HMR CFX 5 October 10, 2016 05:57 Arnoldinho OpenFOAM 8 May 23, 2012 06:25 Michiel CFX 17 April 21, 2010 10:14 Asghari FLUENT 2 July 14, 2006 01:02 neil CFX 1 June 17, 2002 00:57

All times are GMT -4. The time now is 12:17.