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

Entropy Calculations with Fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2015, 11:25
Default Entropy Calculations with Fluent
  #1
Member
 
Mochibaru
Join Date: Jan 2015
Location: Japan
Posts: 41
Rep Power: 11
mohibanwar is on a distinguished road
Hello,May you have a nice Day a head.

I am new user of Fluent Coding and UDf programming and i need your help for my case.May be my case is simple for you guys so kindly help me out and give me urgent help i will be very thankful to you guys.

My problem is that I need to find Entropy due to heat and Friction seperatly by the equations which i have attached over a flate plate having 3d domain.
As i have done a lot of research on this and uptill now i got an idea that it can be found with custom field function of Fluent by writing an equation in it.But i am not able to write that equation plus i also need to know how to get temperature gradients values that will be further used in the custom field function?

Kindly Help me Briefly i am really thankful to you guys for help.

Entropy.jpg
mohibanwar is offline   Reply With Quote

Old   August 5, 2015, 13:38
Default
  #2
New Member
 
hadi
Join Date: Aug 2015
Posts: 8
Rep Power: 11
hadii is on a distinguished road
dear Mohib Khan,
you can easily write these equation using fluent/define/custom field functions.
to access to temperature gradients:
in fluent command window 1-press enter 2- type solve 3-
press enter
4-type set.5-
press enter. Then select yes to all questions.
note that to access
temperature gradients you must run your problem at least 1 iteration.

hadii is offline   Reply With Quote

Old   August 6, 2015, 01:29
Default
  #3
Member
 
Mochibaru
Join Date: Jan 2015
Location: Japan
Posts: 41
Rep Power: 11
mohibanwar is on a distinguished road
Quote:
Originally Posted by hadii View Post
dear Mohib Khan,
you can easily write these equation using fluent/define/custom field functions.
to access to temperature gradients:
in fluent command window 1-press enter 2- type solve 3-
press enter
4-type set.5-
press enter. Then select yes to all questions.
note that to access
temperature gradients you must run your problem at least 1 iteration.

Hello Hadii,
Thanks a lot for your response and your step by step procedure.
Can you please explain me one further thing that in order to find the entropy generation rate we need to apply this to surface integral or volume integral?And can this equation can find the entropy generation rate of fluid domain or it will give me the entropy generation rate of solid surface?
Thanks a lot once again for your help.
Mohib Khan
mohibanwar is offline   Reply With Quote

Old   August 6, 2015, 16:04
Default reply
  #4
New Member
 
hadi
Join Date: Aug 2015
Posts: 8
Rep Power: 11
hadii is on a distinguished road
hello my friend
You can see the units of entropy generation are W/(m3.K).
therefore, you should compute volume integrals of your custom field function using: report/volume integrals/volume integral
in cell zones you able to choose fluid or solid(if exists) and then click on compute.
have a good times
hadii is offline   Reply With Quote

Old   October 6, 2022, 00:05
Default user defined function
  #5
New Member
 
Join Date: Oct 2022
Posts: 2
Rep Power: 0
MONA GAD is on a distinguished road
Hello Mohib Anwar,
from your experience do you know how to write in user define function (1/density n x ∇p) or pressure gradient
where n is the unit vector of the outside normal
MONA GAD 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
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 7 March 23, 2018 04:22
heat transfer with RANS wall function, over a flat plate (validation with fluent) bruce OpenFOAM Running, Solving & CFD 6 January 20, 2017 07:22
Suggest good book for FLUENT mathematical calculations background Milo FLUENT 1 April 20, 2012 22:04
Fluent 6.3 32bit vs Fluent 12.0 64bit ibex7 FLUENT 7 April 18, 2011 03:44
Fluent 12.0 is worst then Fluent 6.2 herntan FLUENT 5 December 14, 2009 03:57


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