TAGGED: Dissolved, mass-transfer, mixture, multiphase
-
-
March 17, 2024 at 10:01 am
Ghinna Nur Akram
SubscriberHi, I'm currently doing a simulation regarding dissolved oxygen in a pond containing liquid water. I want to validate the graph of the increase in dissolved oxygen concentration against time from experiments conducted by Du (https://www.sciencedirect.com/science/article/pii/S0144860919301815).
So, on the inlet side, air in the form of bubbles (oxygen) enters from the bottom of the pool and the outlet is at the surface of the pool. I set water (liquid water + oxygen) as the primary phase and oxygen as the secondary phase. I used the multiphase mixture model for this case after reading various references. Then, I turned on species mass transfer and set it from air bubbles to water with species in the form of o2. The results I found were only after 6 iterations, the simulation became divergent and "floating point exceptions" appeared. Below I show the setup that I made. My question is:
1. Is my setup correct? If there is something wrong, which one should be corrected?
2. Does the mixture material only exist as a gas phase? Because when I look at the properties of the mixture that I made it shows that it is only for the gas phase? How do you set up the liquid phase as a mixture?
3. Do I have to input the o2 source terms value in the cell zone conditions? If I must, I do not have any references from the paper I refer to because the research conducted was experimental.
I'm still very new to this. I've been stuck for almost two months, so I'm asking for your help. Thank you very much for all your help.. -
March 18, 2024 at 2:48 pm
Rob
Forum ModeratorI'd tend to use nitrogen & oxygen for an air mixture, but otherwise it looks OK. Turn off the species/phase transfer. Does the model run then?
-
March 19, 2024 at 9:10 am
Ghinna Nur Akram
SubscriberThanks for your advice
Can we control the nitrogen and oxygen composition? How?
I tried turning off species mass transfer, and the mixture material in the multiphase model changed to air in both the primary and secondary phases.
I'm wondering how to determine the properties of oxygen-water mixture because the available properties are still default to the mixture-template.
I looked for some references and found that I have to enter the mass source in the cell zone conditions, is that correct? But I didn't find any references regarding the mass source of the paper that I wanted to validate -
March 19, 2024 at 9:19 am
Ghinna Nur Akram
SubscriberThe divergence occurred after I changed the mixture material from h2o(g) to h2o(l) in the water-oxygen material
-
-
March 19, 2024 at 11:28 am
Rob
Forum ModeratorYou will need to change the contents of the template, and make a second one for the liquid phase. Re the phase composition, it's controlled by boundary conditions/patch and phase mass exchange. Not sure why you'd want a mass source unless you're coding up phase exchange yourself, in which case you may need some care with the mass transfer rates.
-
March 24, 2024 at 6:43 am
Ghinna Nur Akram
SubscriberHi, Rob. Thanks for your advice.
I wanted to change the properties of the water-oxygen material and this is what I did, I wanted to change the density to constant but there was no option to change it. How to?
Can this mixture also be used for other phases besides the gas phase, such as the liquid phase? Because I looked at the database, the only phase available was the gas phase.
Also I want to show the geometry I created where the inlet velocity is 0.0166 m/s.
-
-
March 25, 2024 at 9:55 am
Rob
Forum ModeratorDo NOT use ideal gas for liquid properties! It won't end well as there's nothing in the model to assign phase as there's nothing linked to latent heat in the model. It's usually safe to assume liquids are incompressible unless you need buoyancy, in which case read the manual and explain what you think you need to include.
-
March 26, 2024 at 2:54 am
-
March 26, 2024 at 9:33 am
Rob
Forum ModeratorUse volume weighted and then set the two liquid species to a sensible value (ie around 998kg/m3 for water).
-
March 26, 2024 at 10:45 am
Ghinna Nur Akram
SubscriberSo, the oxygen in water-oxygen must be in liquid phase? Ok, I’ll try it, thanks Rob
-
-
March 26, 2024 at 11:42 am
Rob
Forum ModeratorYes, it's dissolved so isn't a gas.
-
March 26, 2024 at 1:48 pm
Ghinna Nur Akram
SubscriberHi Rob, I tried it, but “floating point exceptions” still shows up, what should I do?
Do boundary conditions matter? Because I just set the boundary conditions for the inlet velocity of the bubble. Do I have to adjust the volume fraction and species mass fraction at the boundary conditions? And what is meant by backflow at outlet boundary conditions?
-
-
March 26, 2024 at 2:43 pm
Rob
Forum ModeratorYes, boundary conditions matter and need to reflect what's going on at that position.
-
March 26, 2024 at 11:44 pm
Ghinna Nur Akram
SubscriberHi, Rob. I have tried setting the boundary conditions but there is no change. Then, I tried to remove the h2o (g) species in the mixture-template, and the divergence no longer occurred although there is a possibility that it will occur again. However, there was no increase in o2 concentration in the water. Apart from that, in my opinion the residual is not that good. What should I do?
-
March 29, 2024 at 4:10 am
Ghinna Nur Akram
SubscriberHi Rob, what do you think? I'm really stuck here and the results always diverge
-
April 1, 2024 at 5:02 am
Ghinna Nur Akram
SubscriberHi Rob, why doesn't mass transfer work when I use liquid phase water? Meanwhile, it works on gas phase water. Where should I set it?
-
-
April 2, 2024 at 12:33 pm
Rob
Forum ModeratorPhase transfer will depend on how you set up the mass transfer. If you're seeing divergence what is going on in the flow? Too high a mass transfer rate may cause problems, but that's mostly a case of checking the maths and reducing the time step.
-
April 3, 2024 at 2:57 am
Ghinna Nur Akram
SubscriberThanks for your response, Rob.
If I look at the divergence, the increase in o2 concentration is very drastic.
I have a question, how do I determine the backflow species mass fraction and backflow volume fraction at the pressure-outlet in this simulation? Because I don't have any references for backflow species mass fraction and backflow volume fraction.
-
-
April 3, 2024 at 8:43 am
Rob
Forum ModeratorBackflow information needs to be known, or backflow avoided. However, if the solver is diverging chances are the backflow isn't helping but is also being caused by the diverging solution. A starting point will be the phase you'd expect at the boundary at what you'd estimate the species fractions to be if the device worked. Ie use the design calculations to estimate back flow. Ideally, extend the domain to stop it occurring.
-
April 6, 2024 at 7:23 am
Ghinna Nur Akram
SubscriberHi Rob, thanks for your response.
I didn't change it from the inlet setting because if I changed it divergence would occur. I set the O2 concentration in bubbles to 0.21, while in water I set it to 0. Meanwhile, for the volume fraction of bubbles, I set it to 1. What do you think?
I also want to ask, how do we regulate the saturation O2 concentration in the water in the Ansys fluent?
-
-
April 8, 2024 at 9:21 am
Rob
Forum ModeratorSaturation on the liquid side will be limited by whatever mass transfer you set up. Worst case you may need to code that: most of the models we see are bubble column/sparger systems so saturation is rare.
Sketch out the domain, and write onto the sketch all the boundary conditions, post processing points etc. Post that image here. I'm after a clear representation of what you want to do, not a detailed CAD drawing or van Gogh! I assume the "sky" will be all gas phase, but your earlier image looks like something flows in the bottom of the domain and out of the top.
-
April 18, 2024 at 10:32 am
-
-
April 18, 2024 at 12:53 pm
Rob
Forum ModeratorWater is moving? Is air just at the pressure boundary?
-
April 19, 2024 at 8:33 am
Ghinna Nur Akram
SubscriberThe water doesn't move. The fluid that flows from the velocity-inlet is only air.
-
-
April 19, 2024 at 10:49 am
Rob
Forum ModeratorSparged? Ie the water is in a tank and bubbles are added into various locations?
-
April 19, 2024 at 11:25 am
Ghinna Nur Akram
SubscriberYes, that's right
-
-
April 19, 2024 at 12:00 pm
Rob
Forum ModeratorOK, and how does it look with just the phase flow?
-
April 23, 2024 at 7:54 pm
-
-
April 24, 2024 at 12:33 pm
Rob
Forum ModeratorIf you need oxygen from the free surface you'll need to model it, I don't think you can get mass transfer like that from the boundary. You also need to review the mass transfer models to check which laws are considered for saturation. Check Fluent's Beta features too.
-
April 25, 2024 at 7:16 am
Ghinna Nur Akram
SubscriberOK Rob, what do you think about the simulation results? What should I fix?
-
-
April 25, 2024 at 10:57 am
Rob
Forum ModeratorAs I don't know what you're seeing I can't say. We can only give general advice, so are limited where things become very detailed or technical. I've also not see a volume fraction plot for phase.
-
April 28, 2024 at 6:40 am
-
April 29, 2024 at 10:17 am
Rob
Forum ModeratorHow did you initialise the model?
-
April 29, 2024 at 10:56 am
Ghinna Nur Akram
SubscriberOh I see, I haven’t set the air volume fraction to 0 in initialization
-
April 30, 2024 at 8:13 am
-
April 30, 2024 at 9:26 am
Rob
Forum ModeratorYou can't. Are there any pictures or more details? It's not uncommon to model a set of holes (eg a sparger) as a longer strip/slot inlet but I've not seen it termed a porous medium before.
-
April 30, 2024 at 9:43 am
-
April 30, 2024 at 10:31 am
Rob
Forum ModeratorI think the last paragraph may be more helpful. What does that tell you about the inlet area in the CFD model compared to the real design?
-
May 1, 2024 at 9:34 am
-
May 1, 2024 at 10:11 am
Rob
Forum ModeratorOK. Modelling all of the holes isn't sensible so it's normal to add the gas from a slot or larger patch on the bars. That may be what the paper means, but that's not something I can answer: if you really need to know you'll need to contact the author(s).
-
May 5, 2024 at 2:09 pm
Ghinna Nur Akram
SubscriberOK Rob, I have a question, Will it be a problem if I don't set the inlet velocity for the water (primary phase)? Because the only phase that enters the domain and leaves the domain is air (secondary phase)
-
-
May 7, 2024 at 9:14 am
Rob
Forum ModeratorAssuming the inlet is purely the second phase, it shouldn't as there isn't any primary phase entering.
-
May 11, 2024 at 7:00 am
-
May 28, 2024 at 3:24 am
Ghinna Nur Akram
SubscriberHi Rob, does this kind of case require UDF or not? I'm really stuck right now
-
May 31, 2024 at 2:23 pm
Rob
Forum ModeratorI'll relock after commenting.
No UDF needed. Check gravity, and depending on the multiphase model how the flow & volume fraction are behaving.
-
- The topic ‘Dissolved Oxygen Simulation’ is closed to new replies.
- How do I get my hands on Ansys Rocky DEM
- Script Error
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Errors with multi-connected bodies using AQWA
- Script Error Ansys
-
2337
-
925
-
599
-
591
-
527
© 2025 Copyright ANSYS, Inc. All rights reserved.