|
[Sponsors] |
April 14, 2006, 14:03 |
Linearly varying heat flux
|
#1 |
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 |
|
April 16, 2006, 11:12 |
Re: Linearly varying heat flux
|
#2 |
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.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 04:27 |
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 23:22 |
Heat Flux Wall Boundary Confusion. | Joee | FLUENT | 1 | August 21, 2010 13:20 |
CFX - wall heat flux | divarano | CFX | 2 | December 4, 2006 17:14 |