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

how to calculate Tmean over the entrance length in a pipe?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2016, 21:15
Default how to calculate Tmean over the entrance length in a pipe?
  #1
New Member
 
Join Date: Apr 2016
Posts: 1
Rep Power: 0
sharmann2 is on a distinguished road
Hey, I want to calculate Tmean over the entrance length in a pipe, in fluent.
I guess UDF is the only way to do it.
Is there some PDF or material, which can help me understand how to make UDF for mean temp
sharmann2 is offline   Reply With Quote

Old   April 24, 2016, 18:17
Default
  #2
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13
Bruno Machado is on a distinguished road
Quote:
Originally Posted by sharmann2 View Post
Hey, I want to calculate Tmean over the entrance length in a pipe, in fluent.
I guess UDF is the only way to do it.
Is there some PDF or material, which can help me understand how to make UDF for mean temp
You can go to report > surface integral and integrate the temperature at the surface you want.
Bruno Machado is offline   Reply With Quote

Old   April 25, 2016, 00:52
Default
  #3
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
Example 1 shows how you can integrate a variable: https://www.sharcnet.ca/Software/Flu...udf/node20.htm

The simplest way would be to create a fluid zone in the mesh that corresponds to the entrance length of the pipe, then you just have to loop over this zone.
macfly is offline   Reply With Quote

Old   June 25, 2016, 02:52
Default
  #4
New Member
 
Williams
Join Date: Sep 2015
Posts: 17
Rep Power: 11
gearman is on a distinguished road
Quote:
Originally Posted by macfly View Post
Example 1 shows how you can integrate a variable: https://www.sharcnet.ca/Software/Flu...udf/node20.htm

The simplest way would be to create a fluid zone in the mesh that corresponds to the entrance length of the pipe, then you just have to loop over this zone.
Dear macfly!
Why we can't surface integral and integrate the temperature at the surface we want as Bruno Machado said? why we must use the udf?Thank you very much!
gearman is offline   Reply With Quote

Old   June 26, 2016, 11:20
Default
  #5
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
Yes gearman, you can postprocess surface or volume integrals as Bruno explained, but you got to use UDFs if you want to calculate and use integrals during solving.
macfly is offline   Reply With Quote

Old   June 27, 2016, 07:19
Default
  #6
New Member
 
Williams
Join Date: Sep 2015
Posts: 17
Rep Power: 11
gearman is on a distinguished road
Quote:
Originally Posted by macfly View Post
Yes gearman, you can postprocess surface or volume integrals as Bruno explained, but you got to use UDFs if you want to calculate and use integrals during solving.
Thank you very much!
gearman 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
how to calculate the viscous dissipation rate for a turbulent pipe flow Yakamoz Main CFD Forum 1 June 16, 2012 14:35
Turbulence length scale in pipe flow lei Main CFD Forum 0 September 26, 2002 05:07
My Revised "Time Vs Energy" Article For Review Abhi Main CFD Forum 2 July 9, 2002 10:08
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31


All times are GMT -4. The time now is 22:23.