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

uniform mass fraction throughout domain

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2010, 22:51
Default uniform mass fraction throughout domain
  #1
New Member
 
ranjith
Join Date: Dec 2009
Posts: 19
Rep Power: 16
ranjith is on a distinguished road
Hi,
I am simulating the mixing of two fluids with different viscosities. I am doing a transient analysis in which the domain is initially filled with fluid A and then gradually fluid B enters the domain and mixing takes place. The problem is that when I look at the results in post, the mass fraction is uniform through out the domain. There is no variation with respect to space. But there is variation with respect to time. I am expecting a variation with respect to both time and space. any ideas?

ranjith
ranjith is offline   Reply With Quote

Old   November 3, 2010, 01:29
Default
  #2
Member
 
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16
AliTr is on a distinguished road
assuming you have fluids with different densities, using isoVolume with density variable you should be able to track fluids' mixing.
AliTr is offline   Reply With Quote

Old   November 4, 2010, 00:16
Default
  #3
New Member
 
ranjith
Join Date: Dec 2009
Posts: 19
Rep Power: 16
ranjith is on a distinguished road
Thanks ali for ur response.....but I am still not able to visualize the mixing. The properties are apparently calculated in bulk for the whole domain. I getting a uniform mass fraction and uniform density throughout the domain..
ranjith is offline   Reply With Quote

Old   November 4, 2010, 00:42
Default
  #4
Member
 
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16
AliTr is on a distinguished road
if your fluids get mixing (like brine and water) and model supposed to have a range of densities, I suggest you to follow the Tutorial about Reacting Flow in Mixing Tube, your case might be simpler but you have to follow the same method to create a multicomponent fluid which describes the mixture.
AliTr is offline   Reply With Quote

Old   November 4, 2010, 03:38
Default
  #5
New Member
 
ranjith
Join Date: Dec 2009
Posts: 19
Rep Power: 16
ranjith is on a distinguished road
I did create a multicomponent fluid, in fact my fluid is a variable composition mixture of components A and B to form a mixture C. A has a mass fraction 1 initially in the domain and in the fluid(C) entering the domain B has a mass fraction 1. I then do a transient simulation with total time equal to the time taken by the fluid to traverse the length of the domain
ranjith is offline   Reply With Quote

Old   November 4, 2010, 05:25
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,697
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you set the initial mass fraction as 1 and inject stuff with a mass fraction of 1 into the domain then nothing will happen. As Ali suggests, have a look at the tutorial examples for how to set up multicomponent models. I think there is a CO2/air tutorial which will also be of relevance for you.
ghorrocks is offline   Reply With Quote

Old   November 4, 2010, 05:26
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,697
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If the initial mass fraction is 1 then you have to inject stuff with a mass fraction of 0 (or anything other than 1) to get anything to happen.
ghorrocks is offline   Reply With Quote

Old   November 5, 2010, 22:55
Default
  #8
New Member
 
ranjith
Join Date: Dec 2009
Posts: 19
Rep Power: 16
ranjith is on a distinguished road
Thanks Glen for ur response, but u have got me wrong. Initially the mass fraction is 1 for component A(0 for component B). The fluid entering the domain has mass fraction 1 for component B(0 for component A)....and I have taken total time equal to the time taken by the fluid to traverse through the domain.
ranjith is offline   Reply With Quote

Old   November 6, 2010, 06:17
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,697
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you have set the diffusivity too high it will rapidly diffuse over the entire domain. Are you sure the diffusivity is correct?
ghorrocks is offline   Reply With Quote

Old   November 7, 2010, 05:15
Default
  #10
Member
 
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16
AliTr is on a distinguished road
just for check, you should use the Multicomponent C material over your boundaries and then define the subcomponents fraction. you should not use the components A and B directly over the boundaries.
AliTr is offline   Reply With Quote

Old   November 10, 2010, 05:50
Default
  #11
New Member
 
ranjith
Join Date: Dec 2009
Posts: 19
Rep Power: 16
ranjith is on a distinguished road
@glen -I have checked with different diffusivity values but I am getting the same results...
@ali- at inlet I have defined multicomponent fluid with mass fractions. my definition is correct
ranjith is offline   Reply With Quote

Old   November 10, 2010, 16:33
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,697
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your diffusivity could be out by orders of magnitude. Small changes will then have no effect. Try a diffusivity of 1e-20 and see if that makes a difference.
ghorrocks is offline   Reply With Quote

Old   November 10, 2010, 23:39
Default
  #13
New Member
 
ranjith
Join Date: Dec 2009
Posts: 19
Rep Power: 16
ranjith is on a distinguished road
Thankyou Glenn!! you are absolutely right. I am getting the mixing pattern now... Thank you very much
ranjith is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Free jet simulation msarkar OpenFOAM Running, Solving & CFD 39 May 11, 2021 13:21
Error message: Insufficient Catalogue Size Paresh Jain CFX 32 February 3, 2021 03:37
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 05:37
I need UDF help. S.Whitney FLUENT 0 October 15, 2007 11:29
Mass fraction of Species Chris FLUENT 0 November 20, 2000 13:09


All times are GMT -4. The time now is 11:53.