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

CO2 liquid - superheated gas simulations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2016, 13:21
Default CO2 liquid - superheated gas simulations
  #1
New Member
 
Dmytro
Join Date: Dec 2011
Location: Kharkiv, Ukraine
Posts: 8
Rep Power: 14
demm10 is on a distinguished road
Dear forum,

I faced wit a problem of modeling CO2 compressor.
Inlet total parameters are: P0* = 8 MPa, T0* = 310 K.

The problem is that inlet total pressure and temperature is in supercritical region, but inlet static parameters are in liquid region (also close to saturation line). So working process is actually one phase.

I've made RGP fluid file and use it in CFX as a homogeneous binary mixture.

When I'm trying to solve this case, the solver fails with error:

| 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" |


May be someone have any experience with such cases?
I would be very thankful for any help
demm10 is offline   Reply With Quote

Old   July 21, 2016, 19:29
Default
  #2
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
This sort of problem is very common with complex material models. You have to start by making sure the simulation works well with a simple material model like ideal gas. Then as you work towards the full material model you need to look at issues like double precision numerics, smaller time steps, better mesh quality and a better initial condition to resolve the problem.
ghorrocks is offline   Reply With Quote

Old   July 22, 2016, 05:35
Default
  #3
Member
 
Join Date: Nov 2013
Posts: 57
Rep Power: 13
alirezame is on a distinguished road
Hello,

Do you use non-equilibrium model? It would be better if you can get the result with a single phase (supercritical CO2 gas). so you do not need to use homogeneous binary mixture. if you want to get non-equilibrium condensation model in 2 phase, then you have to write some CEL code to force the solver to use the liquid table. also metastable region and spinodal curves should be defined in your RGP table.
alirezame is offline   Reply With Quote

Old   July 26, 2016, 12:52
Default
  #4
New Member
 
Dmytro
Join Date: Dec 2011
Location: Kharkiv, Ukraine
Posts: 8
Rep Power: 14
demm10 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
This sort of problem is very common with complex material models. You have to start by making sure the simulation works well with a simple material model like ideal gas. Then as you work towards the full material model you need to look at issues like double precision numerics, smaller time steps, better mesh quality and a better initial condition to resolve the problem.

Quote:
Originally Posted by alirezame View Post
Hello,

Do you use non-equilibrium model? It would be better if you can get the result with a single phase (supercritical CO2 gas). so you do not need to use homogeneous binary mixture. if you want to get non-equilibrium condensation model in 2 phase, then you have to write some CEL code to force the solver to use the liquid table. also metastable region and spinodal curves should be defined in your RGP table.
Thanks ghorrocks and alirezame.

Yes, this is really very complex problem.
I tried to simulate with Ideal Gas as a working fluid and get quite good convergence.
I think the problem is in another thing. As I mentioned earlier inlet total parameters are in supercritical region while static parameters are in liquid region. The most complex thing here is that this phase change comes without 2 phase (without condensation or evaporation - see attached picture).
Hence, solver understand that there should be liquid - gas phase change, but cannot understand how can this be possible without 2 phase region (it is only my suggestion).

May be you have some ideas how to simulate in this region correctly?
Attached Images
File Type: jpg Untitled.jpg (79.5 KB, 76 views)
demm10 is offline   Reply With Quote

Old   September 28, 2018, 12:04
Default
  #5
New Member
 
abas
Join Date: May 2014
Posts: 6
Rep Power: 12
aghagoli is on a distinguished road
Hello
Could you solve the problem? please let me know how you could solve this.
aghagoli is offline   Reply With Quote

Old   October 1, 2018, 15:52
Default
  #6
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
If the pressure everywhere is above the critical pressure, you can use just single phase vapor for the simulation. The .rgp file should include data in the vapor portion of the file for the fluid above the critical pressure, even though temperature is below the critical temperature.
At least this is my experience with helium. You never really have a phase change it seems (at least not an abrupt liquid to gas phase with different properties), as you never cross the saturation curve. Look in the CFX Solver modeling guide. Figure 12.5. It looks as if the fluid is labeled as "supercritical" when either the temperature OR pressure is above the critical temp/press. Normally we say temperature AND pressure must be above the critical point to be a supercritical fluid, but that is purely our nomenclature. The CFX diagram makes more sense to me than normal phase diagrams with respect to defining fluid properties, and where a real phase change would occur. Above the critical temp OR Pressure, there is no abrupt phase change, just a change in nomenclature of what we would call "subcooled liquid above the critical pressure", and what we would call a "supercritical fluid". But the fluid properties are continuous and smooth across this nomenclature change.

Hope this makes sense? It took me a while to come to this realization.

See next post for Figure 12.5:

Last edited by evcelica; October 2, 2018 at 10:42.
evcelica is offline   Reply With Quote

Old   October 1, 2018, 16:29
Default
  #7
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
Figure 12.5 of CFX Solver modeling Guide.
Attached Images
File Type: png Figure 12.5.png (56.6 KB, 47 views)
evcelica is offline   Reply With Quote

Old   October 1, 2018, 18:23
Default
  #8
New Member
 
abas
Join Date: May 2014
Posts: 6
Rep Power: 12
aghagoli is on a distinguished road
Thanks, evcelica
My question is: when we want to define Supercritical RGP table, we need to define the saturate properties for each table for instance, for enthalpy or speed of sound, etc. So, we should define the saturated vapor line (quality=1) or we should define the saturated liquid line (Q=0).
aghagoli is offline   Reply With Quote

Old   October 2, 2018, 10:46
Default
  #9
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
I have always used an RGP generator, not made my own table, so I'm not 100% sure all what is in there. I could send an example table of what my generator makes. I use "NISTtoRGP", I'm sure you can search in this forum for "NISTtoRGP" for my other posts which describe where to get it and how to use it.
evcelica is offline   Reply With Quote

Reply

Tags
cfx, co2, liquid, superheated


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
Specify mass transfer source term at gas liquid interface SAM S Fluent UDF and Scheme Programming 4 January 21, 2016 08:23
Flow of co2 (gas) into air (gas) logme Fluent Multiphase 4 February 6, 2015 04:54
Urea data - liquid and gas phase crevoise Main CFD Forum 0 January 3, 2012 06:05
Liquid CO2 flow Christopher Rand FLUENT 0 August 26, 2005 11:57
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 23:02


All times are GMT -4. The time now is 10:58.