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

 April 12, 2003, 21:39 UDF about source term #1 tian Guest   Posts: n/a hi,all, i want to add a constant value A to u equation source, the udf is low, it's right? DEFINE_SOURCE(p1_source, c, t, dS, eqn) { real A; real source; source += A; /* A- constant */ return source; } thanks. tian

 April 12, 2003, 23:50 Re: UDF about source term #2 Sebeci Guest   Posts: n/a Hi It is right, but you should add dS[eqn]=0 and only it's need to wiite source=A on your code.(if A is constant (dS/du)=0) I hope this help you

 April 17, 2003, 00:34 Re: UDF about source term #3 tian Guest   Posts: n/a Hi, Sebeci, thank you. you said that if A is constant,dS/du =0, but in fact, in my u equation, add A to the U equation source, if the dS/du not equal 0, how to do? tian

 May 2, 2003, 09:17 Re: UDF about source term #4 Senthil Guest   Posts: n/a that derivative dS is the derivative of the source term w.r.t. the corresponding variable(in single/multi phase flow-both).. So if A is constant, then the derivative should be zero for any transport eqn. bye

 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 stage81 FLUENT 0 September 27, 2010 07:20 Christian FLUENT 4 August 1, 2009 05:53 summer FLUENT 0 August 24, 2006 17:44 Greg Perkins FLUENT 0 October 13, 2000 23:03 Greg Perkins FLUENT 0 October 11, 2000 03:43

All times are GMT -4. The time now is 23:33.