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

Modeling double diffusion in a cavity with CFX

Register Blogs Community New Posts Updated Threads Search

Like Tree9Likes
  • 1 Post By mariam.sara
  • 2 Post By ghorrocks
  • 1 Post By mariam.sara
  • 1 Post By Светлана
  • 1 Post By ghorrocks
  • 1 Post By Opaque
  • 1 Post By mariam.sara
  • 1 Post By mariam.sara

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2019, 11:13
Default Modeling double diffusion in a cavity with CFX
  #1
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Dear all,
I am attempting to simulate a double diffusion (Heat trasnfer+Mass transfer) problem in a square enclosure in which there is a high concentration at the left wall (a thin film where the evaporation occurs) and low concentration at the right wall (cold wall where the condensation occurs) as illustrated in picture. May somebody guides me if I it is possible to solve this problem in CFX and which model I can use at the simulations.

Mariam
Attached Images
File Type: jpg sp.jpg (22.5 KB, 16 views)
Светлана likes this.
mariam.sara is offline   Reply With Quote

Old   August 1, 2019, 17:09
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,710
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, you can do this in CFX.

The heat transfer is modelled using the normal heat transfer methods in CFX.

The mass transfer can be modelled by a few approaches:
* If the mass transfer does not affect material properties then you can use an additional variable approach.
* If the mass transfer affects material properties then use a multicomponent mixture approach.

In both of these mass transfer approaches you can apply similar boundary conditions to the heat model - dirichlet, neumann etc.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 1, 2019, 17:22
Default
  #3
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Thanks for the valuable answer. May you tell me where I can find the multicomponent mixture approach? Is there any tutorial assist me at the problem setup?
Светлана likes this.
mariam.sara is offline   Reply With Quote

Old   August 1, 2019, 17:33
Default
  #4
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
https://www.sciencedirect.com/scienc...29549317304478 for example ?


https://www.youtube.com/watch?v=BfdbkNTkElo
mariam.sara likes this.
Светлана is offline   Reply With Quote

Old   August 2, 2019, 02:30
Default
  #5
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Many thanks guys for the answer. Can I make the flow as Boussinesq? i.e. I want to model Boussinesq flow with different fluid concentrations at the cavity side walls? knowing that the cavity is filled with humid air?

Mariam
mariam.sara is offline   Reply With Quote

Old   August 2, 2019, 02:44
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,710
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Boussinesq was a wide ranging researcher. Which Boussinesq approximation are you talking about? Buoyancy linearly varies with temperature, surface waves or eddy viscosity in turbulent flows? (https://en.wikipedia.org/wiki/Boussinesq_approximation)
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 2, 2019, 03:13
Default
  #7
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Boussinesq was a wide ranging researcher. Which Boussinesq approximation are you talking about? Buoyancy linearly varies with temperature, surface waves or eddy viscosity in turbulent flows? (https://en.wikipedia.org/wiki/Boussinesq_approximation)
The buoyancy caused by temperature difference only.
mariam.sara is offline   Reply With Quote

Old   August 2, 2019, 03:26
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,710
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
OK, in that case it is easy. Use a thermal energy model with a material which has a constant density but a thermal expansivity defined. That is all you need for that buoyancy model.
mariam.sara likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 2, 2019, 03:39
Default
  #9
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
OK, in that case it is easy. Use a thermal energy model with a material which has a constant density but a thermal expansivity defined. That is all you need for that buoyancy model.
OK what about mass transfer among the boundaries (as my illustration on my first post) can I couple it with the Boyonancy effect?
mariam.sara is offline   Reply With Quote

Old   August 2, 2019, 06:44
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,710
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
As I said in my previous post, you can do the mass transfer by either an additional variable or multicomponent mixture depending on how the mass transfer affects material properties.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 2, 2019, 08:12
Default
  #11
Senior Member
 
Join Date: Jun 2009
Posts: 1,806
Rep Power: 32
Opaque will become famous soon enough
Quote:
Originally Posted by mariam.sara View Post
OK what about mass transfer among the boundaries (as my illustration on my first post) can I couple it with the Boyonancy effect?
You can do it, but you need to use the multicomponent approach. That is,

define a variable composition mixture material
assign the material as a fluid to your domain
activate the buoyancy model, set gravity
activate the model for each of the mixture components
set appropriate boundary conditions
mariam.sara likes this.
Opaque is offline   Reply With Quote

Old   August 4, 2019, 16:27
Default
  #12
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
I attempting to follow the steps you mentioned but I face a problem in setting the mass fraction of H2O vapor at the side boundaries of my geometry because all boundaries in it are walls? and in wall BC I think adding mass fraction is unavailable?


Quote:
Originally Posted by Opaque View Post
You can do it, but you need to use the multicomponent approach. That is,

define a variable composition mixture material
assign the material as a fluid to your domain
activate the buoyancy model, set gravity
activate the model for each of the mixture components
set appropriate boundary conditions
mariam.sara is offline   Reply With Quote

Old   August 4, 2019, 16:29
Default
  #13
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
Can you specify it in the initial conditions? Then it will be conserved during the simulation.
Светлана is offline   Reply With Quote

Old   August 4, 2019, 16:38
Default
  #14
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
But if I defined it at the initial conditions it will take it to the whole domain? I want a specified value at the right and left walls?

Quote:
Originally Posted by Светлана View Post
Can you specify it in the initial conditions? Then it will be conserved during the simulation.
Светлана likes this.
mariam.sara is offline   Reply With Quote

Old   August 4, 2019, 16:43
Default
  #15
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
Initial conditions are for the whole domain, not only on the boundaries.
Светлана is offline   Reply With Quote

Old   August 4, 2019, 16:50
Default
  #16
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
But I do not want set it to the whole domain? I want to specify it just at the boundaries? Each BC has a different concentration.

Quote:
Originally Posted by Светлана View Post
Initial conditions are for the whole domain, not only on the boundaries.
Светлана likes this.
mariam.sara is offline   Reply With Quote

Old   August 4, 2019, 17:12
Default
  #17
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
Sorry, I did not realize that each BC has a different concentration.

Enable 'Species transport' in your models. Then your wall boundaries will have a 'Species' tab, where instead of 'zero diffusive flux' you can specify the mass fraction of the species. (Please note that someone may need to check this is correct, I have not modeled this kind of physics before.)
Светлана is offline   Reply With Quote

Old   August 5, 2019, 04:23
Default
  #18
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
mariam.sara is on a distinguished road
Sorry I did not know how to enable the "Species transport" I went through default domain> fluid models it not exist? May you send me illustrated picture?


Quote:
Originally Posted by Светлана View Post
Sorry, I did not realize that each BC has a different concentration.

Enable 'Species transport' in your models. Then your wall boundaries will have a 'Species' tab, where instead of 'zero diffusive flux' you can specify the mass fraction of the species. (Please note that someone may need to check this is correct, I have not modeled this kind of physics before.)
mariam.sara 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
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 07:31
condensation kz21 Fluent Multiphase 3 February 23, 2018 04:56
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Modeling Fluid Drop in CFX taywrex CFX 1 November 6, 2013 06:08
Multicomponent diffusion modeling gsbhatia89 CFX 2 June 8, 2010 18:31


All times are GMT -4. The time now is 17:59.