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

UDF for non uniform heat flux around cylinder

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 28, 2017, 22:47
Default UDF for non uniform heat flux around cylinder
  #1
New Member
 
Binjo Geo
Join Date: Dec 2017
Posts: 4
Rep Power: 8
binjoes is on a distinguished road
Hi,
I am currently working on analysis of Parabolic Trough Collector. I have an an equation for heat flux with respect to angle. Can anyone help me regarding this problem.

LCR = b3*f^3+b2*f^2+b1*f+b0

f- angle in 0-360
binjoes is offline   Reply With Quote

Old   April 20, 2018, 01:52
Default CFD modelling with UDF
  #2
KAA
New Member
 
arshad ahmed
Join Date: Apr 2018
Posts: 4
Rep Power: 8
KAA is on a distinguished road
Dear binjo,
I am also working on writing UDF codes for an PTC absorber tube i.e., UDF for implementing non uniform heat flux around the absorber section. Can u please help me in it.
KAA is offline   Reply With Quote

Old   April 22, 2018, 00:27
Default
  #3
New Member
 
Binjo Geo
Join Date: Dec 2017
Posts: 4
Rep Power: 8
binjoes is on a distinguished road
Mr. Arshad, somehow i wrote the program for non uniform heat flux by myself. How good are you in c programming? Do you have any profile with you to convert it into boundary condition like Concentration ratio profile or Heat flux profile? Reply asap. I can guide you.
binjoes is offline   Reply With Quote

Old   April 22, 2018, 11:12
Default Dear Mr. Binjo,
  #4
KAA
New Member
 
arshad ahmed
Join Date: Apr 2018
Posts: 4
Rep Power: 8
KAA is on a distinguished road
I'm some 40% good with C language. But exactly I do not have any Heat Flux profile with me. Arbitrarily I wrote a program, but it does not hold good.
KAA is offline   Reply With Quote

Old   April 22, 2018, 11:43
Default
  #5
New Member
 
Binjo Geo
Join Date: Dec 2017
Posts: 4
Rep Power: 8
binjoes is on a distinguished road
Ok, Find(From journals) or prepare a profile (using a software like Soltrace, more authentic method)

Convert the profile into set of curves with 3rd degree polynomeal equation using excel or any other software.

Write the code for polynomial equation.
binjoes is offline   Reply With Quote

Old   April 22, 2018, 20:36
Default
  #6
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
If you want to apply heat flux as a boundary condition, than go to manual Ansys Fluent Customization Manual and check DEFINE_PROFILE macro

best regards
KAA likes this.
AlexanderZ is offline   Reply With Quote

Old   September 9, 2018, 13:33
Default
  #7
KAA
New Member
 
arshad ahmed
Join Date: Apr 2018
Posts: 4
Rep Power: 8
KAA is on a distinguished road
y = -9E-07x5 + 0.001x4 - 0.393x3 + 64.07x2 - 3725.x + 53733
How to start with the heat flux UDF for this equation around the absorber tube. kindly help me with it.

KAA is offline   Reply With Quote

Old   September 10, 2018, 21:03
Default
  #8
Senior Member
 
Join Date: Feb 2010
Posts: 164
Rep Power: 17
gearboy is on a distinguished road
Quote:
Originally Posted by binjoes View Post
Hi,
I am currently working on analysis of Parabolic Trough Collector. I have an an equation for heat flux with respect to angle. Can anyone help me regarding this problem.

LCR = b3*f^3+b2*f^2+b1*f+b0

f- angle in 0-360
Is it a boundary condition? if yes, use DEFINE_PROFILE to define it. If no, you should use DEFINE_SOURCE to specify the heat source for the first cell layer.
gearboy is offline   Reply With Quote

Old   June 14, 2019, 04:54
Default
  #9
New Member
 
nima shirani
Join Date: May 2018
Posts: 3
Rep Power: 7
nima.shirani is on a distinguished road
Quote:
Originally Posted by binjoes View Post
Hi,
I am currently working on analysis of Parabolic Trough Collector. I have an an equation for heat flux with respect to angle. Can anyone help me regarding this problem.

LCR = b3*f^3+b2*f^2+b1*f+b0

f- angle in 0-360
hi
could you plz link your valid paper to me ... i have same problem and need to find a non uniform eq for heat flux
nima.shirani is offline   Reply With Quote

Old   October 19, 2019, 16:36
Default
  #10
New Member
 
Nourhan Bahgat
Join Date: Aug 2019
Posts: 13
Rep Power: 6
Nourhan Bahgat is on a distinguished road
please how write udf code for heat flux change with angle as a BC in fluent.
Nourhan Bahgat is offline   Reply With Quote

Old   November 11, 2019, 04:09
Default
  #11
New Member
 
Nourhan Bahgat
Join Date: Aug 2019
Posts: 13
Rep Power: 6
Nourhan Bahgat is on a distinguished road
Quote:
Originally Posted by binjoes View Post
Mr. Arshad, somehow i wrote the program for non uniform heat flux by myself. How good are you in c programming? Do you have any profile with you to convert it into boundary condition like Concentration ratio profile or Heat flux profile? Reply asap. I can guide you.
please , can you guide me to write code in c for this graph Screenshot (37).jpg
Nourhan Bahgat is offline   Reply With Quote

Old   February 22, 2022, 02:26
Smile
  #12
New Member
 
dhiraj
Join Date: Nov 2021
Posts: 6
Rep Power: 4
dhiraj kumar is on a distinguished road
hello everyone. I have a solar receiver in which at outer surface of the receiver i have to apply non-uniform heat flux [cosine profile - q(θ) = qnet ·
cos θ(−90 ≤ θ ≤ 90)] with radiation and convection losses to ambient. can anyone give me the idea for writing the UDF for this condition. thanks !
dhiraj kumar is offline   Reply With Quote

Reply


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
wallHeatFlux utility for an incompressible case Mr.Jingles OpenFOAM Post-Processing 67 April 6, 2023 03:25
multiphaseEulerFoam/tank discharge ves OpenFOAM Running, Solving & CFD 8 December 31, 2017 14:59
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
modelling heat flux in udf dzuodoka Fluent UDF and Scheme Programming 0 November 24, 2010 05:10
rhoSimpleFoam claco OpenFOAM 7 April 20, 2010 04:32


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