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

Diffusion in solids

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2020, 10:00
Default Diffusion in solids
  #1
New Member
 
Anne-Sophie
Join Date: Feb 2020
Location: Belgium
Posts: 17
Rep Power: 6
Anne-Sophie is on a distinguished road
Hi all,

I am looking for a way to implement the mass diffusion coefficient for a solid in Fluent.
In my case, I am modelling a stack of potatoes as a porous medium (fluid= mixture of air and water, solid=potatoes) and I want to define the diffusivity of water in the potatoes.

Does anyone know where to define this property?

Thanks in advance for your advice!
Anne-Sophie is offline   Reply With Quote

Old   March 10, 2020, 10:44
Default Potatoes as solid or fluid
  #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
Are you modeling potatoes as real solid or as fluid? For a real solid, one option would be to use UDS. Another one is too use energy equation to represent the diffusion of water, i.e., assume temperature to represent water concentration in potato.
__________________
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 11, 2020, 08:45
Default
  #3
New Member
 
Anne-Sophie
Join Date: Feb 2020
Location: Belgium
Posts: 17
Rep Power: 6
Anne-Sophie is on a distinguished road
Thank you for the tips, Vinerm! I am new to the concept of user defined scalars (actually, I am pretty new to cfd in general). Do I understand it correctly that this uds will represent the water content in the potato and will be distinct from the water in the air? I mean: in this way there is no link between the water in the potato and the water in the air?
Anne-Sophie is offline   Reply With Quote

Old   March 11, 2020, 10:11
Default Depends on User
  #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
You can have scalars that are different in both or a scalar that is continuous. It depends on the user.
__________________
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 11, 2020, 10:23
Default
  #5
New Member
 
Anne-Sophie
Join Date: Feb 2020
Location: Belgium
Posts: 17
Rep Power: 6
Anne-Sophie is on a distinguished road
So if I want the moisture in the air to be coupled with the moisture in the potato, I should not use species transport with a mixture of air and water vapor, but I should use only air and a uds, to represent the moisture, that is solved in all zones? Is that correct?
Anne-Sophie is offline   Reply With Quote

Old   March 11, 2020, 10:30
Default Species Transport
  #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
If you want to use species transport, then you have to model potato as a fluid zone. A species cannot enter a solid by the definition of solid in Fluent. Usually, the former method is preferred, i.e., if someone wants to study diffusion of moisture or some other species in a solid, then the solid is represented as a porous zone. Specie can diffuse as well as get convected in a porous zone. If you want to model potato as a solid, then UDS is a good option and you do not need species transport. Do note that by default diffusion coefficient of UDS is assumed as laminar; without the effects of turbulence. As far as solid is concerned, this should not worry you though.
__________________
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 11, 2020, 10:41
Default
  #7
New Member
 
Anne-Sophie
Join Date: Feb 2020
Location: Belgium
Posts: 17
Rep Power: 6
Anne-Sophie is on a distinguished road
Ok, I will try that out. Since I want to model the entire pile of potatoes as a porous zone, I think the UDS is my best option, since a porous zone inside a porous zone is probably not an option.



Thank you for al the information and advice, Vinerm!


Kind regards,

Anne-Sophie
Anne-Sophie is offline   Reply With Quote

Old   March 11, 2020, 10:47
Default Porous inside porous
  #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
Actually, porous inside porous inside porous is always there. If same values are used for resistance coefficients, then it behaves like one porous zone. However, if you specify resistance coefficients as functions of space, then you can develop any kind of porous zone.

If we look at the real physics, then it is actually capillary phenomenon that makes the moisture flow in potato and not diffusion. However, the effects can be modeled using diffusion.
granzer likes this.
__________________
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   December 27, 2020, 10:30
Default moisture diffusion
  #9
New Member
 
Elwin Heng
Join Date: May 2020
Posts: 4
Rep Power: 6
elwinxavier is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Actually, porous inside porous inside porous is always there. If same values are used for resistance coefficients, then it behaves like one porous zone. However, if you specify resistance coefficients as functions of space, then you can develop any kind of porous zone.

If we look at the real physics, then it is actually capillary phenomenon that makes the moisture flow in potato and not diffusion. However, the effects can be modeled using diffusion.
Hi Vinerm, I'm also doing moisture diffusion (moisture diffuse into electronics packaging, like PCB), I've set the geometry as Fluid, and use UDF on diffusivity, but the moisture get get fully absorbed in <3 second as compared to hours (it suppose to happen gradually in hours)
I've turn on Species Transport, Use Porosity, use Viscous Resistance

What could be the reason for this? Do I need to use VOF, Eulerian Model?
elwinxavier is offline   Reply With Quote

Reply

Tags
diffusion coefficient, fluent, porous media, solid


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
is it possible to define different mass diffusion coefficients in different zones? Weiqiang Liu Main CFD Forum 0 June 3, 2019 21:24
Problem simulating the temperature rise in a composite material (chtMultiRegionFoam) Adam_K OpenFOAM Running, Solving & CFD 2 March 27, 2019 07:51
Harmonic average of Diffusion Tensors in Finite Volume Method Yurie_Breschnef Main CFD Forum 4 September 6, 2018 05:51
Diffusion in Porous Media kdep FLUENT 1 March 28, 2016 17:50
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20


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