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 heat and mass transfer, transient simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By AlexanderZ
  • 1 Post By AlexanderZ
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2018, 00:46
Post UDF for heat and mass transfer, transient simulation
  #1
New Member
 
Akash Siddique
Join Date: Apr 2018
Posts: 10
Rep Power: 8
Akash Siddique is on a distinguished road
Hi Everyone !!!
I'm stuck with the UDF for heat and mass transfer between air and desiccant material.
In this problem, air passes between the desiccant block, heat & mass transfer happen due to the humidity of air adsorbed by desiccant material on its surface
I'm facing difficulty in writing UDF for this problem
Equations are given as:


dfsfd.PNG
Equation 1: Variable Air Temperature(Ta) = 1162 – (100/z),
(z = distance along axis=0.01-0.4m)

Equation 2: Variable Adsorbent Temperature = .06+ (.05/t^.19),
(t=time duration =0-3600)

Equation 3: Variable Air Humidity Ratio = -22(41*t^.1)-.625(4/z),
(z= distance along axis, t=time)

I need your help badly, and I hope you will cooperate
afzalkhangm001@gmail.com Here is my email address
Akash Siddique is offline   Reply With Quote

Old   November 13, 2018, 01:08
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
imagine, you have codes for those tree equations
Code:
Equation 1: Variable Air Temperature(Ta) = 1162 – (100/z), 
(z = distance along axis=0.01-0.4m)

Equation 2: Variable Adsorbent Temperature = .06+ (.05/t^.19),	 
(t=time duration =0-3600)

Equation 3: Variable Air Humidity Ratio = -22(41*t^.1)-.625(4/z), 
(z= distance along axis, t=time)
what will you do with them? How are you going to connect them to fluent solver?

best regards
Akash Siddique likes this.
AlexanderZ is offline   Reply With Quote

Old   November 13, 2018, 06:43
Default
  #3
New Member
 
Akash Siddique
Join Date: Apr 2018
Posts: 10
Rep Power: 8
Akash Siddique is on a distinguished road
Well, I will interpret the UDF in fluent and complete my simulation. I hope this will get good results.
I will be thankful to you if you help me in any way.
Akash Siddique is offline   Reply With Quote

Old   November 13, 2018, 21:47
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
I mean, which model you a going to use for this simulation?
So you have:
- Variable Air Temperature(Ta), function of coordinate
- Variable Adsorbent Temperature, function of time
- Variable Air Humidity Ratio, function of both time and coordinate

Fluent has only one temperature, which is calculated using energy equation.
So I can imagine you will initialize temperature field according to Variable Air Temperature(Ta).
But what you are going to do with Variable Adsorbent Temperature and Variable Air Humidity Ratio

How they are connected to energy/flow equations?

best regards
Akash Siddique likes this.
AlexanderZ is offline   Reply With Quote

Old   November 27, 2018, 01:28
Post
  #5
New Member
 
Akash Siddique
Join Date: Apr 2018
Posts: 10
Rep Power: 8
Akash Siddique is on a distinguished road
Thanks for your kind reply

I must say this is a good question. I'm at the beginning level in Ansys. So, I will try to explain it according to my abilities. Kindly correct me if you find my reasoning inappropriate.

I'm learning Ansys by watching youtube videos on similar topics. So, as per my understanding, I need to use " Species model" for air humidity ratio.
I think these Two models (Energy, Species) are enough to complete my simulation.
Am I on right Track ?? Please enlighten me

And I'm extremely sorry for late reply. I hope you will cooperate
Akash Siddique is offline   Reply With Quote

Old   December 5, 2018, 09:12
Default
  #6
New Member
 
Akash Siddique
Join Date: Apr 2018
Posts: 10
Rep Power: 8
Akash Siddique is on a distinguished road
please somebody help me with UDF
Akash Siddique is offline   Reply With Quote

Old   December 6, 2018, 23:57
Default
  #7
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
As I understand, your problem is some kind of condensation/evaporation simulation.
SO I suggest you to start with regular condensation/evaporation simulation, later you may move to implementation of UDF inside, which is not a big deal, actually

best regards
Akash Siddique likes this.
AlexanderZ is offline   Reply With Quote

Old   December 7, 2018, 07:32
Default
  #8
New Member
 
Akash Siddique
Join Date: Apr 2018
Posts: 10
Rep Power: 8
Akash Siddique is on a distinguished road
Thanks for your reply

Actually, I have already completed my work but only missing piece in completing the simulation is UDF. I'm also in the process of learning how to write code but it is taking too much time and I want to complete my simulation soon.
So any help will be appreciated

Best Regards
Akash Siddique is offline   Reply With Quote

Reply

Tags
heat and mass transfer, transient simulations, udf


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
Inconsistencies in reading .dat file during run time in new injection model Scram_1 OpenFOAM 0 March 23, 2018 23:29
UDF for mass and heat source with heat transfer rajendra1 Fluent UDF and Scheme Programming 35 October 13, 2017 05:04
Interphase mass transfer of a reaction cfx_ws1992 Main CFD Forum 0 May 15, 2017 22:42
Mass transfer UDF expecting void return Quinos Fluent UDF and Scheme Programming 0 January 8, 2014 19:36
UDF for transient pressure inlet, mass flow check at nozzle exit and volumetric heat kokoory FLUENT 0 August 17, 2011 03:07


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