CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Help needed with UDF writing (CREATIVITY WELCOME!)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 13, 2011, 12:13
Default Help needed with UDF writing (CREATIVITY WELCOME!)
  #1
New Member
 
Join Date: May 2011
Posts: 18
Rep Power: 6
ximik is on a distinguished road
Hello,I am working on writing a UDF that does the following steps:

1) Gets the face value for the solar and total radiation flux. I have been trying to use the call function : solar_flux=F_SOLAR_SOURCE(f,t);rad_flux=BOUNDARY_R AD_HEAT_FLUX(f,t);

2) Stores the face information (F_UDMI (c,t,1)= solar_flux) in the adjacent cell ( cell_t c0=F_C0(c,t,); Thread *t0 = THREAD_T0(t); C_UDMI(c0,t0,1) = F_UDMI (c,t,1)

3) Performs some internal calculations using C_UDMI(1) and some other cell properties that are pulled.I am using the DO model, with solar load model. I have a thread that is dedicated to the object of concern, but not sure what to do with that, i.e. should I make it as a solid and apply the UDF to it, or are there ways of just extracting this information from a surface (with the necessary boundary conditions applied to it).

Thank you
ximik is offline   Reply With Quote

Reply

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
Help needed with UDF writing (CREATIVITY WELCOME!) ximik Main CFD Forum 0 May 13, 2011 12:11
Parse error in UDF, URGENT HELP NEEDED!!! Boris Kloser FLUENT 2 December 12, 2009 04:16
writing UDF for modelig mass transfer for VOF ardalan soleymani FLUENT 0 July 11, 2007 01:09
Seek help in writing UDF Jack Martinez FLUENT 9 June 14, 2007 10:24
New to writing UDF Sandilya FLUENT 0 May 31, 2007 12:03


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