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

Diffusion but no fluid flow through boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2019, 10:13
Default Diffusion but no fluid flow through boundary
  #1
New Member
 
Join Date: Jun 2019
Posts: 3
Rep Power: 7
btuck812 is on a distinguished road
I am using CFX to model a transient system involving a moving fluid with a small number of dissolved particles entering via an inlet and leaving via an outlet, adjacent to a hydrogel. Both the hydrogel and the moving fluid are water based so the dissolved particles are able to diffuse into the hydrogel at a standard diffusion coefficient. However, the hydrogel is solid and therefore has no flow.

I have worked out how to allow diffusing particles into the hydrogel whilst maintaining the zero-flow situation, by separating the fluid and hydrogel domains with a no-slip wall, and implementing the particles as an additional variable with interface flux, which works nicely. However, I also need the particles to react (based on anaerobic respiration, as the hydrogel will contain bacteria) and additional variables don't seem to have this ability. I don't know how to do this. Is there a way to use multicomponent flow for this purpose? Can I permanently restrict fluid velocity in the hydrogel domain?

Any advice would be very welcome, I recognise this probably isn't a typical problem to solve in this software and if, for example, Fluent would work better, please do let me know.
I can provide images if this would help

Thank you all
btuck812 is offline   Reply With Quote

Old   June 19, 2019, 19:59
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If the stuff reacts and you want to keep track of the reaction inputs and outputs then you need to use a multicomponent mixture and chemistry. This has similar options to the additional variable you are already using so you should be able to transfer your existing additional variable model to a multicomponent mixture.

Also note that you may be able to use your existing additional variable model to include some simple chemistry using source terms. I would only implement simple chemistry with this approach, for instance with low heat of reaction for instance, as this approach does not include the numerical changes required to handle more difficult reactions.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is online now   Reply With Quote

Old   June 20, 2019, 04:45
Default
  #3
New Member
 
Join Date: Jun 2019
Posts: 3
Rep Power: 7
btuck812 is on a distinguished road
Thank you for your response. I am able to set up the model as a multicomponent mixture, but I can't work out how to keep the flow in the liquid channel from affecting flow in the hydrogel which cannot have any flow. I have tried using a thin porous domain between the two, but flow in the channel still causes flow in the hydrogel which is a major problem. Is there a way to segregate flows whilst allowing diffusion between in multicomponent modelling?
btuck812 is offline   Reply With Quote

Old   June 20, 2019, 07:52
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Can you make the hydrogel a solid with a diffusion coefficient?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is online now   Reply With Quote

Old   June 20, 2019, 10:20
Default
  #5
New Member
 
Join Date: Jun 2019
Posts: 3
Rep Power: 7
btuck812 is on a distinguished road
I can't find any option to give a solid domain a diffusion coefficient, could you please give me a bit more detail?
Thanks
btuck812 is offline   Reply With Quote

Old   June 24, 2019, 02:44
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Define a solid domain and an additional variable. On the for the solid domain under the Solid Model tab you can set a diffusivity.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is online now   Reply With Quote

Reply

Tags
diffusion, hydrogel, zero-flow


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
Fluid Domain moving with Rigid body Lloyd Sullivan CFX 3 August 17, 2018 10:58
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Wrong multiphase flow at rotating interface Sanyo CFX 14 February 7, 2017 18:19
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


All times are GMT -4. The time now is 04:24.