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

Linearly varying heat flux

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2006, 13:03
Default Linearly varying heat flux
  #1
Ankit Tayal
Guest
 
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
  #2
Chandra Murthy
Guest
 
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

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
Total heat transf. rate vs Total surface heat flux Renato Sousa FLUENT 1 April 14, 2020 03:27
Sign of Heat Flux at wall Kyung FLUENT 2 February 26, 2016 16: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 16:14


All times are GMT -4. The time now is 14:37.