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

two different gas! Fluid pair model!

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2022, 15:49
Default two different gas! Fluid pair model!
  #1
Member
 
Join Date: Apr 2010
Posts: 63
Rep Power: 16
saha2122 is on a distinguished road
Send a message via Yahoo to saha2122
Hi every body
I want to model a domain with two gas.
the first inlet has ideal air but the second inlet has ideal Air (99%) and CO2 (1%).
in the basic setting of domain, in fluid and particle definition, I defined two gas.
this is the first time that I model this.
in the 'fluid pair model', how I should fill the parameters like as 'interface Len. Scale' and the other parameters???

is there any body help me?
saha2122 is offline   Reply With Quote

Old   January 14, 2022, 16:21
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
What are you trying to model? Multiphase flow, or multicomponent flow?

I think you mean the latter, but not clear about your goals
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   January 15, 2022, 14:01
Default
  #3
Member
 
Join Date: Apr 2010
Posts: 63
Rep Power: 16
saha2122 is on a distinguished road
Send a message via Yahoo to saha2122
Hi dear Opaque
yes I want to model multi component using CFX.
Co2 is the trace gas.
saha2122 is offline   Reply With Quote

Old   January 16, 2022, 19:33
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
Then, you need to first create a Variable Composition Mixture

Inset Material, Option/Variable COmposition Mixture, select materials for the mixture

Insert Domain, Insert Fluid, Select Mixture Material you created,

Continue setting up the models.

There is no concept of Fluid Pair for a mixture.
saha2122 likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   February 9, 2022, 03:15
Default
  #5
Member
 
Join Date: Apr 2010
Posts: 63
Rep Power: 16
saha2122 is on a distinguished road
Send a message via Yahoo to saha2122
Dear Opaque

as you suggested I used variable component mixture that contains CO2, N2, O2, Ar and Ne.
I got some warnning in the CFX solver.




+--------------------------------------------------------------------+
| Table bounds warnings at: END OF TIME STEP |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| |
| Independent variables went out of bounds while computing the |
| variables listed below using table interpolation. In each case |
| the bounds error was handled by clipping or extrapolation. |
| If this situation persists, consider increasing the table range. |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : UPD_LOCALE_PROP1 |
| Partition : 2 |
| Variable Name : N2.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -3.5883E+06 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : UPD_LOCALE_PROP1 |
| Partition : 2 |
| Variable Name : N2.Static Enthalpy |
| Ind. Variable : Temperature |
| Bound : Lower |
| Min Value : 1.1836E+00 |
| Handled By : Extrapolation |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : UPD_LOCALE_PROP1 |
| Partition : 2 |
| Variable Name : CO2.Static Entropy |
| Ind. Variable : Temperature |
| Bound : Lower |
| Min Value : 1.1836E+00 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : UPD_LOCALE_PROP1 |
| Partition : 2 |
| Variable Name : CO2.Static Entropy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -3.5883E+06 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : UPD_LOCALE_PROP1 |
| Partition : 2 |
| Variable Name : Ne.Static Entropy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -3.5883E+06 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : UPD_LOCALE_PROP1 |
| Partition : 2 |
| Variable Name : Ne.Static Entropy |
| Ind. Variable : Temperature |
| Bound : Lower |
| Min Value : 1.1836E+00 |
| Handled By : Clipping |
| |
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : UPD_LOCALE_PROP1 |
| Partition : 2 |
| Variable Name : Ar.Static Enthalpy |
| Ind. Variable : Temperature |
| Bound : Lower |
| Min Value : 1.1836E+00 |
| Handled By : Extrapolation |
| |


|
| Location Name : WS1 Rotating Wall |
| Mesh location : BELG16/IP |
| Routine : MINMAX |
| Partition : 2 |
| Variable Name : O2.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -1.0354E+06 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 Rotating Wall |
| Mesh location : BELG14/IP |
| Routine : MINMAX |
| Partition : 2 |
| Variable Name : Ar.Static Enthalpy |
| Ind. Variable : Temperature |
| Bound : Lower |
| Min Value : 5.3673E+00 |
| Handled By : Extrapolation |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 Rotating Wall |
| Mesh location : BELG16/IP |
| Routine : MINMAX |
| Partition : 2 |
| Variable Name : Ar.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -1.0354E+06 |
| Handled By : Clipping |
| |

| Location Name : V1 Shroud |
| Mesh location : BELG20/IP |
| Routine : MINMAX |
| Partition : 1 |
| Variable Name : CO2.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -9.1043E+04 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : V1 Shroud |
| Mesh location : BELG20/IP |
| Routine : MINMAX |
| Partition : 1 |
| Variable Name : O2.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -9.1043E+04 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : V1 Shroud |
| Mesh location : BELG20/IP |
| Routine : MINMAX |
| Partition : 1 |
| Variable Name : N2.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -9.1043E+04 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : V1 Shroud |
| Mesh location : BELG20/IP |
| Routine : MINMAX |
| Partition : 1 |
| Variable Name : Ar.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -9.1043E+04 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : V1 Shroud |
| Mesh location : BELG20/IP |
| Routine : MINMAX |
| Partition : 1 |
| Variable Name : Ne.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -9.1043E+04 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : inlet WS1 |
| Mesh location : BELG105/IP |
| Routine : MINMAX |
| Partition : 2 |
| Variable Name : CO2.Static Enthalpy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -1.2847E+06 |
| Handled By : Clipping |
| |

+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : CAL_GVar |
| Partition : 1 |
| Variable Name : Ne.Static Entropy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -4.7072E+05 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : CAL_GVar |
| Partition : 1 |
| Variable Name : O2.Static Entropy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -4.7072E+05 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : CAL_GVar |
| Partition : 1 |
| Variable Name : CO2.Static Entropy |
| Ind. Variable : Absolute Pressure |
| Bound : Lower |
| Min Value : -4.7072E+05 |
| Handled By : Clipping |
| |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Newton's method warnings at: END OF TIME STEP |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| |
| Newton's method failed to converge while computing the variables |
| listed below. In each case, the solver continued with the variable |
| field as it was on the final iteration. |
| |
| If this situation persists, you might try decreasing the Newton |
| iteration underrelaxation factor. This can be changed by setting |
| one of the following parameters for your mixture: |
| |
| Temperature : "Constitutive Relation Under Relaxation" |
| Pressure : "Newton Pressure Under Relaxation" |
| |
+--------------------------------------------------------------------+
| |
| Location Name : WS1 |
| Mesh location : VERTICES |
| Routine : UPD_LOCALE_PROP1 |
| Partition : 2 |
| Variable Name : Temperature |
| Last 3 Changes : 3.18867E+00 1.93066E+00 1.16286E+00 |
| Tolerance : 1.0000E-02 |
| Status : STALLED |
| Max Iterations : 100 |
| |
+--------------------------------------------------------------------+
saha2122 is offline   Reply With Quote

Old   February 9, 2022, 03:16
Default
  #6
Member
 
Join Date: Apr 2010
Posts: 63
Rep Power: 16
saha2122 is on a distinguished road
Send a message via Yahoo to saha2122
dear Opaque
may you please help me?
saha2122 is offline   Reply With Quote

Old   February 9, 2022, 06:37
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
CFX calculates material properties using a look up table which spans a temperature and pressure range you define. Your error messages are saying the the simulation temperature and/or pressure went out of the range in your material property tables, meaning that it cannot accurately predict material properties. This means your simulation results are likely to be wrong or diverge. In your case it looks like it diverged.

To fix:
* Improve convergence by smaller time steps, double precision numerics, tighter convergence criteria.
* Make the table range wider. But only do this if the table does not cover the range you expect the fluid to cover.
* Use a simpler material model. Use fixed properties, incompressible fluids if possible. If you need compressible fluids then start with ideal gas and once that is working change over to your actual gas model.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 9, 2022, 08:15
Default
  #8
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
Not sure exactly which material definition you picked to create your mixture. But, I (like Glenn usually advices) start simple, and increase complexity so you can pinpoint when a problem/issues is introduced into your model.

Here would be my approach,
1 - Simple material, N2 is best run until converges
2 - If (1) was successful, create a mixture with N2, and O2. Set inlet to pure N2, no O2. Running again, solution convergence should be nearly identical and final results should be IDENTICAL, not close.
3 - Set some O2 at the inlet, rerun, any issues? No, continue adding materials to your mixture as needed, only one at a time.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque 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
Multiphase heat transfer pkladisios CFX 8 June 7, 2016 02:41
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 05:39
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 05:59
error message cuteapathy CFX 14 March 20, 2012 07:45


All times are GMT -4. The time now is 05:20.