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

Moving heat Source

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2008, 00:53
Default Moving heat Source
  #1
AB
Guest
 
Posts: n/a
Can anyone help me in writing a UDF to incorporate a moving heat source. The heat source is Gaussian in nature and when it is stationery, the following UDF works fine. Can anyone tell me how I can move this heat source along the x direction.

Stationery Heat Source UDF:

#include "udf.h"

#define rb 0.00235

#define f1 0.5

#define Q 1900

DEFINE_PROFILE(gauss_heat_flux,t,i)

{

real x[ND_ND];

real y,y1;

face_t f;

begin_f_loop(f,t)

{

F_CENTROID(x,f,t);

y = x[1];

y1=x[0];

F_PROFILE(f,t,i) = (Q/rb*rb)*exp(-(f1*(y*y+y1*y1))/rb*rb);

}

end_f_loop(f,t)

}

  Reply With Quote

Old   July 22, 2009, 19:50
Default ?
  #2
New Member
 
Nadim Sanjakdar
Join Date: Apr 2009
Posts: 4
Rep Power: 17
nadeemxs is on a distinguished road
Hello,
do u still need help with that?
guess not but thought i'd ask.
nadeemxs is offline   Reply With Quote

Old   January 30, 2012, 07:06
Default 2D gaussian beam
  #3
New Member
 
U.Magarajan
Join Date: Nov 2011
Location: Vellore
Posts: 7
Rep Power: 14
magarajan84 is on a distinguished road
hi,
in the above program can u please explain the function of "i" in line DEFINE_PROFILE(gauss_heat_flux,t,i)
and how would you write the same program for moving heat source in 2D?
magarajan84 is offline   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
How to model a moving heat source? James FLOW-3D 14 June 29, 2020 08:46
moving heat source on fluent isaac FLUENT 3 February 2, 2017 04:21
moving heat source Mehdi FLUENT 0 March 24, 2008 17:32
moving heat source raj FLUENT 1 May 13, 2006 12:54
udf with moving heat source Ryan FLUENT 0 April 10, 2003 19:13


All times are GMT -4. The time now is 21:51.