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

UDF species transport

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2021, 18:26
Default UDF species transport
  #1
New Member
 
qntldoql
Join Date: Sep 2020
Posts: 15
Rep Power: 5
qntldoql is on a distinguished road
Hello, I am currently building a frost model and I wanted to clarify few things. (I have read fluent theory, user and UDF guides and could not find the answers).
First of all, I currently have a species transport set up for the phase 1 (humid air = water vapor + dry air). (phase 2 = ice droplets)
If I only able species transport model, and disable reaction in the materials as well as does not select volumetric reaction + options, etc. Would the equation still be applied? (One with the diffusivity term)

d/dt (rho^q alpha^q y^q) + grad( rho^q alpha^q v_bar^q, y^q) = - grad (alpha^q J^q) + S +R + HR .
(Basically, I want R = HR = 0 and implement the source term S via UDF)


Secondly, how do I apply a UDF source term into the species transport equation. From what I gather, its from Cell zone condition > phase 1 > h20 (for my case). Would it be something else? or is this correct?

Lastly, when designing UDF for a source term.
For example, I have a source term for the momentum equation based on the mass transfer UDF.
S_momentum = -mlg*u_air
where mlg = mass transfer rate.

but the source term UDF is:
DEFINE_SOURCE(S_momentum,c,t,sd,eq)
{
}
From my understanding, C_U(c,t) would be calling for velocity of the entire thread, including ice + humid air.

To only call for the velocity of air, I have used a global parameter
thread* index_air;
and set it equal to the
Thread* air = THREAD_SUB_THREAD(thread, from_phase_index);
from the mass transfer section UDF.
And called the velocity via C_U(c,index_air);
Does this work as how I have intended in FLUENT?


I apologize in for the bombardment of questions and thank you in advance.

Last edited by qntldoql; February 2, 2021 at 18:31. Reason: equations
qntldoql is offline   Reply With Quote

Old   June 5, 2021, 22:25
Default
  #2
New Member
 
sunil kumar
Join Date: Mar 2019
Posts: 2
Rep Power: 0
ksunil is on a distinguished road
Hi qntldoql,

I am also looking for a similar problem in which moist air and water droplets enter the large domain from the inlet source cells.
could you find a solution to this problem?

Thank you
ksunil 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
UDF for Sorption in Species Transport through Porous Medium Kosch Fluent UDF and Scheme Programming 6 October 21, 2020 17:46
Moisture diffusion by species transport between air and porous desiccants jas123 FLUENT 1 April 14, 2019 13:51
Please help!! Patch and Species transport Julie FLUENT 5 August 3, 2016 03:10
A question about species box of species transport model tjushang FLUENT 2 June 25, 2014 07:56
user defined scalar vs species transport gvj_mech FLUENT 0 March 27, 2014 14:33


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