# Using UDF to define boundary conditions

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

 April 21, 2005, 17:24 Using UDF to define boundary conditions #1 Forest Guest   Posts: n/a Hi all, I was wondering how Fluent defines Neumann boundary condition(first derivative is zero)? I am thinking it should be done by UDF, is there an example in Fluent help? thanks a lot. best,F

 April 22, 2005, 03:26 Re: Using UDF to define boundary conditions #2 P Guest   Posts: n/a Could you please explain more for which equation you want newmann boundary condition?

 April 22, 2005, 11:30 Re: Using UDF to define boundary conditions #3 Forest Guest   Posts: n/a Actually I intended to set 3 comp of velocities's 1st derivatives as zero at a velocity_outlet boundary. I tried to use "DEFINE_ADJUST" to take out the velocities at the cells next to the boundary cells and use "PROFILE_DEFINE" to set the boundary velocities same as those I took. Good news was it worked! the derivatives were almost zero. Bad news was that results were not convergent due to continuity residue. Probabley my model was not that good. Any better way to do the Neumann BC for velocities? thanks!

 April 22, 2005, 17:58 Re: Using UDF to define boundary conditions #4 Saad Guest   Posts: n/a If you are using the Neumann B.Cs to simulate a fully developed flow then you should know that a fully developed flow boundary condition (which means all normal derivatives of all orders are zero at a boundary) is not mathematically consistent with the N-S equations. You should use the 'Outflow' Boundary Condition in the FLUENT instead of writing a udf, which in addition to putting the normal derivatives equal to zero does some other things to ensure a consistent solution. Sincerely, Saad

 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 Saturn CFX 32 October 8, 2013 07:53 saii CFX 2 September 18, 2009 08:07 Fan Main CFD Forum 10 September 9, 2006 12:24 Dan CFX 0 April 3, 2006 11:32 Sheenu Main CFD Forum 4 May 12, 2000 12:52

All times are GMT -4. The time now is 03:28.