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 Svetlana
  • 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, 12: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)
Svetlana likes this.
mariam.sara is offline   Reply With Quote

Old   August 1, 2019, 18:09
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
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.
mariam.sara and Svetlana like 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 1, 2019, 18: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?
Svetlana likes this.
mariam.sara is offline   Reply With Quote

Old   August 1, 2019, 18:33
Default
  #4
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 416
Rep Power: 15
Svetlana is on a distinguished road
https://www.sciencedirect.com/scienc...29549317304478 for example ?


https://www.youtube.com/watch?v=BfdbkNTkElo
mariam.sara likes this.
Svetlana is offline   Reply With Quote

Old   August 2, 2019, 03: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, 03:44
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
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, 04: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, 04:26
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
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, 04: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, 07:44
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
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, 09:12
Default
  #11
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
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, 17: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, 17:29
Default
  #13
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 416
Rep Power: 15
Svetlana is on a distinguished road
Can you specify it in the initial conditions? Then it will be conserved during the simulation.
Svetlana is offline   Reply With Quote

Old   August 4, 2019, 17: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.
Svetlana likes this.
mariam.sara is offline   Reply With Quote

Old   August 4, 2019, 17:43
Default
  #15
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 416
Rep Power: 15
Svetlana is on a distinguished road
Initial conditions are for the whole domain, not only on the boundaries.
Svetlana is offline   Reply With Quote

Old   August 4, 2019, 17: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.
Svetlana likes this.
mariam.sara is offline   Reply With Quote

Old   August 4, 2019, 18:12
Default
  #17
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 416
Rep Power: 15
Svetlana 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.)
Svetlana is offline   Reply With Quote

Old   August 5, 2019, 05: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 08:31
condensation kz21 Fluent Multiphase 3 February 23, 2018 05:56
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Modeling Fluid Drop in CFX taywrex CFX 1 November 6, 2013 07:08
Multicomponent diffusion modeling gsbhatia89 CFX 2 June 8, 2010 19:31


All times are GMT -4. The time now is 22:26.