CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Linearly varying heat flux

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

LinkBack Thread Tools Display Modes
Old   April 14, 2006, 13:03
Default Linearly varying heat flux
Ankit Tayal
Posts: n/a
i problem has linearly varying heat flux at the wall(flux a function of x co ordinate only) i have written the udf but it gives FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()

my udf program is as folows

#include #DEFINE C1 39682.5 #DEFINE C2 2645502.646

DEFINE_PROFILE( heat_flux,thread,i) { real pos_vec[ND_ND]; real x; face_t f; begin_f_loop(f,thread) { F_CENTROID(pos_vec,f,thread); x=pos_vec[1]; F_PROFILE(f,thread,i)=C1 - C2*x; } end_f_loop(f,thread) }

please help me thanks in advance
  Reply With Quote

Old   April 16, 2006, 10:12
Default Re: Linearly varying heat flux
Chandra Murthy
Posts: n/a
You are using a big weapon on a small problem. Heat flux boundary condition varying along x coordinate can be applied by boundary profiles instead of UDF. Read the fluent user's guide for further details.
  Reply With Quote


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
Sign of Heat Flux at wall Kyung FLUENT 2 February 26, 2016 17:25
Heat Flux at wall in a conjugate heat transfer problem Chander CFX 2 July 9, 2011 22:22
Heat Flux Wall Boundary Confusion. Joee FLUENT 1 August 21, 2010 12:20
CFX - wall heat flux divarano CFX 2 December 4, 2006 17:14
Total heat transf. rate vs Total surface heat flux Renato Sousa FLUENT 0 August 22, 2005 10:34

All times are GMT -4. The time now is 06:40.