|
[Sponsors] |
Get the properties of the components in multicomponent simulation |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
DE
Join Date: Dec 2018
Location: Leipzig
Posts: 3
Rep Power: 7 ![]() |
Hi, guys.
I am simulating a centrifuge which is full of air. How can I capture one of the components e.g. O2 in the simulation? I have already done the CFX-Pre with multicomponent O2 and N2. Do I have to write a Expression to post the properties of O2? Thanks. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
I don't think CFX can model the separation of a multicomponent mixture by gravity/acceleration. So unless something else is happening, CFX will model the air as the same composition everywhere.
But to answer your question, are you looking to get the mass fraction of O2? Refer to the CFX reference manual, but it is simply a CEL variable like O2.mass fraction (assuming you called the O2 mass fraction "O2").
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
DE
Join Date: Dec 2018
Location: Leipzig
Posts: 3
Rep Power: 7 ![]() |
Thanks for your Reply.
Yes, I am trying to get the mass fraction of O2 at the wall of the centrifuge, cause O2 is heavier than N2. I have already known the differences of definition between Multicomponent and Multiphase. Could you tell me the differences of calculating process between Multicomponent and Multiphase in cfx? |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
New Member
DE
Join Date: Dec 2018
Location: Leipzig
Posts: 3
Rep Power: 7 ![]() |
Thanks for your Reply.
Yes, I am trying to get the mass fraction of O2 at the wall of the centrifuge, cause O2 is heavier than N2. I have already known the differences of definition between Multicomponent and Multiphase. Could you tell me the differences of calculating process between Multicomponent and Multiphase in cfx? Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#5 | |
Senior Member
Join Date: Jun 2009
Posts: 1,850
Rep Power: 33 ![]() |
Have you looked at the theory documentation for the modeling of multicomponent flow?
You can see the transport equation for the component is only due to main flow advection, and mass diffusion; therefore, there is no information about additional body forces that will drive a given mass fraction away/towards anything. For components/species separation due to centrifugal forces, you will need those body forces in the definition of the mass diffusion velocity. In addition, the discretization details are tricky then to differentiate the proper gradients. I am not clear what you meant by Quote:
Are you trying to solve for the mass fraction distribution/field for O2 & N2? and you expect to find O2 at the outer wall because it is heavier than N2. Then, my description above addresses that. A quick search will lead you to https://www.fsb.unizg.hr/hydro/web_p...a_(2nd_Ed).pdf Reading Chapter 24 describes the different mechanisms for mass transport in multicomponent systems. |
||
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 7 ![]() |
If I have a multicomponent fluid and I want to use the pressure of one component in a expression it would be in CEL: ethanol.p?
[EDIT] I used the expression ethanol.p in a source term expression, and CFX-pre replied with this: The variable 'p' referenced by parameter 'Source' in object '/FLOW:Flow Analysis 1/DOMAIN ![]() I tried to use ptot, but I've got the same error message. [EDIT2] I've found the answer in CFX error: Variable is not allowed to have a component name prefix Last edited by lordluan; November 30, 2019 at 09:54. Reason: News |
|
![]() |
![]() |
![]() |
![]() |
#7 | |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#8 | |
Senior Member
Join Date: Jun 2009
Posts: 1,850
Rep Power: 33 ![]() |
Quote:
MyEthanolPressure = Pressure * ethanol.Molar Fraction or MyEthanolPressure = p * ethanol.molf |
||
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 7 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#11 | |
New Member
Dani
Join Date: Sep 2022
Posts: 8
Rep Power: 3 ![]() |
Hi ghorrocks
To dig up this thread again. Does your statement really also apply to a separation of species by gravity? In my case i have a variable gas mixture with strongly differing molar masses (1:10). I understand that i need an additional term in the Maxwell-Stefan equation if i want to consider centrifugal forces. But how's about if the gas separates just through gravity. Wouldn't this be taken into account by the body force in the momentum balance because gravity applies to all species by the same way? Unfortunately, this was not entirely clear to me from the solver theory guide. Best regards, boreal Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#12 |
Senior Member
Join Date: Jun 2009
Posts: 1,850
Rep Power: 33 ![]() |
Have you read a chapter describing generalized diffusion transport? generalized driving force?
https://www.researchgate.net/file.Po...01497887539930 Ansys CFX solves the momentum transport equation for the mixture (all species have the same bulk velocity), not the species momentum transport equation (where each species has its own velocity). The only way for such a model to work is that the species transport equation includes all the external forces of relevance; therefore, forcing a species to migrate from one location to another. Those forces can be 1 - Thermal gradient 2 - Pressure gradient 3 - Rotational effects 4 - Electro-magnetic effects (like charged species/ions) 5 - gravity 6 - Concentration gradient Ansys CFX only includes (6), anything else must be modeled/customized.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
![]() |
![]() |
![]() |
![]() |
#13 |
New Member
Dani
Join Date: Sep 2022
Posts: 8
Rep Power: 3 ![]() |
I read a bit and tried to understand everything...but i'm not right there ;-).
But you answer was very helpful. At least i know now the limits of my model. Custumizing such a thing would be new territory for me. I would add this with CEL, right? I'm not sure yet if I do this approach or if i use COMSOL for this simulation. |
|
![]() |
![]() |
![]() |
![]() |
#14 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
CEL is just the expression language - to calculate some maths.
To get CFX to model separation of gas species you are going to have to develop models of Brownian motion, differential forces due to gravity on the different species and probably implement it as a source term. There may also be additional effects like the ones Opaque lists. This will all be in the CFX multicomponent model, which is a Eularian framework. You could also look at it this way - if it was easy to implement, then it would already be in CFX, wouldn't it?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
![]() |
![]() |
![]() |
![]() |
#15 | |
New Member
Dani
Join Date: Sep 2022
Posts: 8
Rep Power: 3 ![]() |
Quote:
Good argument! Well thanks for your answers. I have to think about how i/we will proceed. By the way: I'm sure you already know it, but you guys are very helpful. For me, CFX is one of several tools I use. I'm far away from the insights you have into the software and math behind it. So thanks a lot. |
||
![]() |
![]() |
![]() |
![]() |
#16 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
I am happy to help! Good luck with your analysis.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
![]() |
![]() |
![]() |
Tags |
expressions, multicomponent mixture |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 05:37 |
setting up a simulation with multiple interactions | phandy | OpenFOAM Running, Solving & CFD | 1 | October 6, 2014 03:16 |
Milk Properties for simulation | apurva | CFX | 1 | September 23, 2014 18:39 |
confused with units in solidThermophysical properties and Thermophysical properties | zahraa | OpenFOAM Running, Solving & CFD | 3 | August 14, 2014 08:11 |
Discrete event simulation vs. fixed time (discrete time simulation) | jenjon | FLUENT | 0 | March 10, 2013 06:58 |