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

How to input mass flux(kg/mēs) of a species on the boundary

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By AlexanderZ
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2020, 10:20
Default How to input mass flux(kg/mēs) of a species on the boundary
  #1
New Member
 
THA SEANGHAI
Join Date: Aug 2020
Location: Cambodia
Posts: 25
Rep Power: 6
THA SEANGHAI is on a distinguished road
Helllo! I am really struggling with using ANSYS FLUENT, I input x-velocity of air from inlet and I want to input mass flux or molar flux of a species on a boundary , but there are only some options such as mass fraction, mole fraction or we can write expression in the new verson of fluent that we can input molar concentration (kmol/mģ), but there is no the option for the mass flux(kg/mēs) or molar flux(kmol/mēs). How can I do? Or do i need to write UDF? I never learn code programming before, so UDF is really difficult for me.Please help me! I do not know how to do now! Thank you!

THA SEANGHAI is offline   Reply With Quote

Old   August 10, 2020, 02:19
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
in Fluent there is mass-flow-inlet boundary condition
Unit is kg/s
If you want to define mass-flow-inlet as mass flux(kg/mēs) you need to multiply your mass flux value on area of inlet

kg/mēs * mē = kg/s

to get area you may do:
press initialize
reports-> surface integrals -> report type: area | select your inlet -> compute
THA SEANGHAI likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   August 10, 2020, 05:41
Default
  #3
New Member
 
THA SEANGHAI
Join Date: Aug 2020
Location: Cambodia
Posts: 25
Rep Power: 6
THA SEANGHAI is on a distinguished road
Thank for your reply, but my purpose is just to input the mass flux of a species without velocity, if I chose the mass flow inlet BC, it will include velocity. I knew that mass flux depends on velocity, and it also depends on the diffusion coefficient of a species. In my case mass flux of a species= -Diffusion coefficient*concentration gradient. I mean that I want my species spreading out to the whole domain by diffusion coefficient, not by velocity. Thank you! Do you have any idea that I can input the mass flux of a species on a boundary without velocity? I will appreciate your help!
THA SEANGHAI is offline   Reply With Quote

Old   August 10, 2020, 06:37
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
had never made it before, but you may try:
1. Once species model is ON, you may specify mass source [kg/m3 s] and concentration
2. You may create very thin volume (but take care about mesh quality) , so you will get almost flux, not volumetric source -> [kg/m2 s]


I don't know other ways, but definitely there should be
THA SEANGHAI likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   August 10, 2020, 22:05
Default
  #5
New Member
 
THA SEANGHAI
Join Date: Aug 2020
Location: Cambodia
Posts: 25
Rep Power: 6
THA SEANGHAI is on a distinguished road
Thank again for your reply! Yes, I already input the concentration once the species model is on. I cannot input the concentration directly, because there is only two options that we can input in the species, they are mass fraction and mole fraction, however in the New version starting from ANSYS 18.0 up, there is an expression of mass fraction that we can write the amount of concentration instead of mass fraction only, because we know the relation between mass fraction and concentration that mass fraction=((molar weight of the component*molar concentration)/(mixture density)).
But one thing that I am really curious about is that: when we input the concentration on a boundary, so will ANSYS FLUENT calculate the mass flux automatically by computing the concentration from the equation that ANSYS has? If so, I do not need to write mass flux on the boundary, I just input the concentration and then calculate mass flux from the equation. Do you have any idea? Thank you!
THA SEANGHAI is offline   Reply With Quote

Old   September 16, 2020, 11:04
Default
  #6
New Member
 
THA SEANGHAI
Join Date: Aug 2020
Location: Cambodia
Posts: 25
Rep Power: 6
THA SEANGHAI is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
had never made it before, but you may try:
1. Once species model is ON, you may specify mass source [kg/m3 s] and concentration
2. You may create very thin volume (but take care about mesh quality) , so you will get almost flux, not volumetric source -> [kg/m2 s]


I don't know other ways, but definitely there should be
Hello! @Alexander! Thank you very much! I have just understood your idea, now I have been giving the mass source to the cell next to my boundary, but it is very thin volumetric cell, so it is almost area source [kg/mēs], but in order to input mass source, I saw the material name, when I select mixture, species transport is still on, and that is fine, but when I select only the chemical species that I want to add, not mixture, then i realized that species transport is off. What is this problem?
Another one problem that I realized is that even though I add mass source or not, the results of my species are still the same, is there something wrong in my program or not? Note that: to add source to the cell, I just input the constant value, not UDF, so because of being no UDF that make the results not effected? Thank you! I will always appreciate your help!
THA SEANGHAI 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
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 18:38
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 09:16


All times are GMT -4. The time now is 19:06.