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

UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2003, 07:35
Default UDF
  #1
Asad
Guest
 
Posts: n/a
Hi

In our problem we have 4 user scalar.We want to assign boundary condition as S0 and S1 to constant, and (ds2/dn)=0 ,(ds3/dn)=0 (that n is normal to boundary). How can we do it with fluent?

Thanks
  Reply With Quote

Old   July 4, 2003, 09:46
Default Re: UDF
  #2
Adam
Guest
 
Posts: n/a
Setting values to a constant is easy from the BC panel. Change the option "Specified Flux" to "Specified Value"

If your scalars S2 & S3 are diffusive and do not pass through the boundary in another way, then dS/dn=0 is achieved by setting flux to 0.0. Try it in your case to see if it does set gradient to zero. Alternatively, you can write a PROFILE UDF that sets the Specified Value at the face to the Cell value in the adjacent cell.
  Reply With Quote

Old   July 10, 2003, 04:24
Default Re: UDF
  #3
Asad
Guest
 
Posts: n/a
Hi dear Adam I used flux=0 at wall but I saw that it didn't mean ds/dn=0; So I wan't to know that how I can use define profile for making gradient to zero. Please write in detail.

Thanks
  Reply With Quote

Old   July 13, 2003, 10:50
Default Re: UDF
  #4
Asad
Guest
 
Posts: n/a
Dear All I wrote a UDF to change values in boundary so that the gradiant would be zero. but it did not work well. please help me about definition of UDF to change boundary values or set gradient zero. thanks in advance
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


All times are GMT -4. The time now is 00:07.