CFD Online Logo CFD Online URL
Home > Forums > FLUENT

How to define PDE BC with UDF?

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

LinkBack Thread Tools Display Modes
Old   April 6, 2004, 00:10
Default How to define PDE BC with UDF?
Posts: n/a
To all Fluent experts all over the world,

I am facing problem for defining BC involved PDE with UDF. Can somebody give me a hand? My PDE BC is

div(v)/div(y) = v + constant

where v = velocity in y direction

Thanks alot...

  Reply With Quote

Old   April 6, 2004, 02:28
Default Re: How to define PDE BC with UDF?
Posts: n/a

We can define it via UDF.

div(v)/div(y) is defined as C_DVDY(c, t) in UDF macro and this macro is for cell values .

So when we use this macro at a specified face via DEFINE_PROFILE , we have to define C0 and THREAD_T0 in the macro.

Thank you


  Reply With Quote

Old   April 6, 2004, 08:35
Default Re: How to define PDE BC with UDF?
Posts: n/a
Hello, Before asking all those question you should read the fluent documentation in order to knwo what are the BC you can use, and then how to modify them using a UDF. To answer your first message about how to fix the BC div(v)/div(y) = v + constant. What I am proposing to you is to use a Velocity inlet. From there you can descretize your equation div(v)/div(y) = v + constant and easily calculate via UDF your velocity v. Then using a Velcoity Inlet you are gonna attached this velocity to your BC.

  Reply With Quote


Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
define wall functions (UDF) in Fluent 6.3 Alex FLUENT 3 September 20, 2014 12:37
How to use UDF to define a moving wall lingo FLUENT 9 August 19, 2014 09:14
Help! DMFC UDF problems Biao FLUENT 0 August 26, 2011 13:21
Help: using udf to define direction Bo FLUENT 1 July 16, 2008 06:47
Define wall using UDF Abhijit FLUENT 3 October 26, 2007 10:16

All times are GMT -4. The time now is 13:26.