CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to define PDE BC with UDF?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2004, 01:10
Default How to define PDE BC with UDF?
  #1
KKLAU
Guest
 
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...

KKLAU
  Reply With Quote

Old   April 6, 2004, 03:28
Default Re: How to define PDE BC with UDF?
  #2
FJ
Guest
 
Posts: n/a
Hi,

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

FJ

  Reply With Quote

Old   April 6, 2004, 09:35
Default Re: How to define PDE BC with UDF?
  #3
thomas
Guest
 
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.

Thomas
  Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! DMFC UDF problems Biao FLUENT 1 November 2, 2020 08:39
define wall functions (UDF) in Fluent 6.3 Alex FLUENT 6 August 3, 2017 08:45
How to use UDF to define a moving wall lingo FLUENT 9 August 19, 2014 10:14
Help: using udf to define direction Bo FLUENT 1 July 16, 2008 07:47
Define wall using UDF Abhijit FLUENT 3 October 26, 2007 11:16


All times are GMT -4. The time now is 19:53.