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

species transport with UDS in 2D channel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2020, 08:59
Default species transport with UDS in 2D channel
  #1
New Member
 
Andrea
Join Date: Jun 2019
Posts: 12
Rep Power: 7
Ritah is on a distinguished road
Hello,

I study liquid Zn with some Al (0.2 wt%) flowing in a 2D channel and I apply an Al mass flux at the lower wall of the channel.The mass transport is computed in the User Defined Scalar frame. I want to use a course mesh (y+>30) , but the results from the course mesh differ a lot from a y+1 mesh (see Fig.1 in Attachments), so the modelling in UDS is not mesh independent. Probably the solution of the implemented UDS mass transport equations doesn't take into account the near wall/ wall function modelling.

In the case of heat Transport, the solution to Energy equation is mesh independent (see Fig.2 in Attachments), where a heat flux is applied at the lower wall.

Does anyone have an idea how I could implement a mesh independent mass Transport solution in UDS Frame?

Thank you,
Andreea
Attached Images
File Type: png Fig.1.png (34.1 KB, 18 views)
File Type: png Fig2.png (33.4 KB, 17 views)
Ritah is offline   Reply With Quote

Old   March 20, 2020, 09:07
Default Uds
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
You are partly right in saying that UDS equation doesn't take into account the wall model or wall function model. The fact is that by default the eddy diffusivity is not considered for the diffusion of UDS. User needs to add it. So, you have to write a UDF that returns the sum of the molecular diffusivity and the ratio of eddy diffusivity and turbulent Schmidt number.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 22, 2020, 08:42
Default
  #3
New Member
 
Andrea
Join Date: Jun 2019
Posts: 12
Rep Power: 7
Ritah is on a distinguished road
Thank you for your answer, Vinerm.

The turbulent diffusivity is already included (D_eff= rho*D_mol+mu_t/Sc , in Kg/m*s as Fluent uses). So there should be something else that is not working or should be taken into account.

But again, thank you
Ritah is offline   Reply With Quote

Old   March 22, 2020, 08:59
Default Diffusivity UDF
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Do you mean you are already using UDF for applying diffusivity for the UDS?
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 22, 2020, 09:47
Default
  #5
New Member
 
Andrea
Join Date: Jun 2019
Posts: 12
Rep Power: 7
Ritah is on a distinguished road
yes, we use a UDF for diffusivity of Al /Zn.
Ritah is offline   Reply With Quote

Old   March 22, 2020, 15:09
Default Diffusion of UDS
  #6
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Turbulent viscosity inherently takes into account everything it needs for the wall modeling. Furthermore, you have density multiplying the molecular diffusion. Though it won't have much effect in the core if eddy viscosity is significant but it would apply about two orders of magnitude higher diffusion coefficient in the near wall region. Higher diffusion coefficient implies smaller gradient and that's what the simulation seems to predict.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 23, 2020, 08:57
Default
  #7
New Member
 
Andrea
Join Date: Jun 2019
Posts: 12
Rep Power: 7
Ritah is on a distinguished road
Hello,

We have multiplied the molecular Diffusion coeff by Density because Fluent works this way: the Units of mass Diffusion coefficient in fluent are Kg/ms (normally it should have been m^2/s).

The problem is that the Al concentration profile across the channel looks different for different meshes (resp. y+ values), which shouldn't be the case (as seen in Fig2 with temperature profiles).

Thanks
Ritah is offline   Reply With Quote

Old   March 23, 2020, 09:23
Default Diffusion Coefficient
  #8
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Yes, you are right. Fluent expects kg/m-s because that is the unit for dynamic coefficient; the one used in conservation equations. m^2/s is kinematic coefficient and valid only for constant density systems. But I suppose the value you have available for D_mol is kinematic value and not dynamic one. In that case, you are doing it correctly.

I looked at the attached images and yes, the gradient is very low for the scalar. But any particular reason for using UDS instead of species transport? That can certainly be used for validation purpose. You used energy equation, however, for the energy equation, Reynolds analogy is used and a similar law is implemented for species. No such law is applied for UDS, however. So, you have to either use species transport or use the law used for species.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 24, 2020, 04:15
Default
  #9
New Member
 
Andrea
Join Date: Jun 2019
Posts: 12
Rep Power: 7
Ritah is on a distinguished road
Thank you for answer.

Yes, we use UDS since this will be part of a bigger Simulation and UDS Frame is more flexible than Species Transport (like defining mass fluxes on the walls,etc)
But at least for the 2D channel it makes sense to compare the results from UDS with those from Species Transport.
So, thank you for suggestion.
Ritah is offline   Reply With Quote

Old   March 24, 2020, 04:20
Default Modeling in the first cell
  #10
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
UDS will show differences with respect to species as well because species also has modeling similar to energy. So, I suppose you have to include the effect as you initially thought of. The equation used in the first cell is given in the manual.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
Mixing between two fluids (species transport) Hong M.H Main CFD Forum 6 March 1, 2018 01:12
Transient species transport case Hong M.H FLUENT 2 March 1, 2018 01:07
UDS transport in a curved channel alinik Fluent UDF and Scheme Programming 5 October 18, 2017 22:42
species transport uds ehsan890 FLUENT 0 May 11, 2014 15:18
user defined scalar vs species transport gvj_mech FLUENT 0 March 27, 2014 15:33


All times are GMT -4. The time now is 14:37.