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

UDS BCs at wall

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2004, 06:50
Default UDS BCs at wall
  #1
Giordano Bruno
Guest
 
Posts: n/a
Hello to all FLUENT's people, I've to define the boundary conditions for an UDS at a wall by using the Specified Flux option, but I haven't found which is the macro ( ...maybe something as DEFINE_PROFILE...) that I have to use for this case ....could anyone give me some information about this argument???

Thanks in advance!!!

Giordano Bruno
  Reply With Quote

Old   November 17, 2004, 09:10
Default Re: UDS BCs at wall
  #2
Andrew Garrard
Guest
 
Posts: n/a
Yes, you have to use a DEFINE_PROFILE. When it is complied you can link it in the FLUENT GUI by changing the drop down that says constant to your UDF. There is infromation about define profile in the UDF manual.
  Reply With Quote

Old   November 17, 2004, 14:48
Default Re: UDS BCs at wall
  #3
Giordano Bruno
Guest
 
Posts: n/a
Thank you for your response... according to me the UDF manual isn't very clear about this argument.

Regards,

Giordano Bruno
  Reply With Quote

Old   November 18, 2004, 05:22
Default Re: UDS BCs at wall
  #4
Andrew Garrard
Guest
 
Posts: n/a
OK, well I am using a DEFIN_PROFILE for flux and value BC's for UDS's all the time, and they do work. There is an example in the manual for pressure profile, but this can just as easily be used for any other variable, such as temperature, velocity or, indeed, a UDS. Here is an example of how you would use it, it is almost identical to the manual:

#include "udf.h"

DEFINE_PROFILE(UDS_profile, t, i)

{

face_t f;

begin_f_loop(f, t)

{

F_PROFILE(f, t, i) = 10; // or whatever funciton you want

}

end_f_loop(f, t)

}
  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
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 00:04
Very technical question about solving wall boundary layer ... jlb001 FLUENT 6 December 27, 2014 05:56
Opening Vs outlet BCs and temporary wall issue Sam CFX 0 January 16, 2008 18:59
AMG versus ICCG msrinath80 OpenFOAM Running, Solving & CFD 2 November 7, 2006 15:15
Quick Question - Wall Function D.Tandra Main CFD Forum 2 March 16, 2004 04:29


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