# BC problem with UDF.......

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

 April 15, 2004, 04:12 BC problem with UDF....... #1 KKLAU Guest   Posts: n/a To all fluent experts all over the world, Thank you for those who willing to send the UDF manual to me especially David and Mukkaram. I am facing a big problem. I need to define a BC for mass fraction for a wall BC which : Mass fraction in the BC not change with the mass fraction from the previuos cell. C_YI (BC) = C_YI (before/adjacent with BC) When i iterate, BC wall mass fraction = initiate guess value. May i know how to solve this problem?? Here is the UDF..... DEFINE_PROFILE(solute, thread, position) { real z; face_t f; cell_t c = F_C0(f,thread) ; Thread *t= THREAD_T0(thread); begin_f_loop(f,thread); {z = C_YI(c,t,i); F_PROFILE(f, thread, position) = z ;} end_f_loop(f, thread);} Thank you . From KKLAU

 April 19, 2004, 06:02 Re: BC problem with UDF....... #2 FJ Guest   Posts: n/a Hi, you have to specify "i" of C_YI(c,t,i). This "i" shows species number and should be specified by you. And z=C_YI(c,t,i) should be changed as z=C_YI(c,thread,i). Thank you. FJ

 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 Rizwan Fluent UDF and Scheme Programming 32 May 8, 2015 06:05 july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56 mansha goraya FLUENT 0 October 29, 2007 01:31 akr FLUENT 3 August 22, 2007 07:14 chiseung FLUENT 4 January 10, 2002 10:58

All times are GMT -4. The time now is 04:46.