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

RGP file for CO2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2006, 03:27
Default RGP file for CO2
  #1
Alessandro
Guest
 
Posts: n/a
I have to perform a calculation on a heat exchanger in which one of the fluid is CO2. I need a CFX RGP file covering the liquid, the gas and the supecritcal region of the phase state diagram. Is there anyone which has one already prepared or at least files covering pieces of the whole diagram?
  Reply With Quote

Old   November 16, 2006, 12:34
Default Re: RGP file for CO2
  #2
Phil
Guest
 
Posts: n/a
You could use the Redlich Kwong EOS, for which the solver builds the tables internally.
  Reply With Quote

Old   November 16, 2006, 15:50
Default Re: RGP file for CO2
  #3
HekLer
Guest
 
Posts: n/a
So you are going to perform phase change modelling then as well?

What phase change model are you going to use?

The internal (mentioned by Phil) & presupplied tables are only appropriate for the equilibrium model.

You could pick an equation of state and create your own RGP table as well.
  Reply With Quote

Old   November 16, 2006, 16:38
Default Re: RGP file for CO2
  #4
deLuther
Guest
 
Posts: n/a
I think that CFX is suitable only to superheat region, as stated in reference to RGP-file. (at least for version 5.7). Am I wrong?
  Reply With Quote

Old   November 17, 2006, 01:22
Default Re: RGP file for CO2
  #5
HekLeR
Guest
 
Posts: n/a
Certainly CFX can calculate flows of both liquids & vapours.

The doc for the RGP file certainly implies that perhaps you can only use it for superheated vapours.

However, if you carefully look at the file format you could use it for subcooled liquids as well. The file just gives material properties a f(T,p).

You just need to appropriately fill the "superheat" tables with subcooled liquid properties instead, for a liquid.

You make one material for the liquid with a liquid RGP file, one for the gas with a gas RGP file and throw the saturation properties into either, doesn't matter.

Since you can put multiple materials into a single RGP file a single file can hold liquid, vapour and saturation data.

One small caveat is that you need to add the following parameter:


PROPERITES:
..
RGP Liquid Properties = Subcooled
END


to the liquid material.
  Reply With Quote

Old   October 23, 2016, 11:10
Default
  #6
New Member
 
Alex
Join Date: Oct 2016
Posts: 16
Rep Power: 9
alex-bishop is on a distinguished road
Quote:
Originally Posted by HekLeR
;79191
Certainly CFX can calculate flows of both liquids & vapours.

The doc for the RGP file certainly implies that perhaps you can only use it for superheated vapours.

However, if you carefully look at the file format you could use it for subcooled liquids as well. The file just gives material properties a f(T,p).

You just need to appropriately fill the "superheat" tables with subcooled liquid properties instead, for a liquid.

You make one material for the liquid with a liquid RGP file, one for the gas with a gas RGP file and throw the saturation properties into either, doesn't matter.

Since you can put multiple materials into a single RGP file a single file can hold liquid, vapour and saturation data.

One small caveat is that you need to add the following parameter:


PROPERITES:
..
RGP Liquid Properties = Subcooled
END


to the liquid material.
do you know how to write a RGP file about CO2?
alex-bishop is offline   Reply With Quote

Old   July 22, 2018, 03:56
Default
  #7
New Member
 
Yafei Li
Join Date: Jul 2018
Location: CHIAN
Posts: 16
Rep Power: 7
lyfflynice is on a distinguished road
Quote:
Originally Posted by HekLeR
;79191
Certainly CFX can calculate flows of both liquids & vapours.

The doc for the RGP file certainly implies that perhaps you can only use it for superheated vapours.

However, if you carefully look at the file format you could use it for subcooled liquids as well. The file just gives material properties a f(T,p).

You just need to appropriately fill the "superheat" tables with subcooled liquid properties instead, for a liquid.

You make one material for the liquid with a liquid RGP file, one for the gas with a gas RGP file and throw the saturation properties into either, doesn't matter.

Since you can put multiple materials into a single RGP file a single file can hold liquid, vapour and saturation data.

One small caveat is that you need to add the following parameter:


PROPERITES:
..
RGP Liquid Properties = Subcooled
END


to the liquid material.
Dear HekLeR,

How to define the liquid properties in the RGP file? how to use the above mentioned one small caveat in the RGP file? Can you give me an example about how to define the liquid properties. I will much appreciate it.
lyfflynice is offline   Reply With Quote

Old   March 22, 2020, 01:39
Default Regarding metastable states for CO2 vapor supercooling
  #8
New Member
 
Shyam Sunder
Join Date: Sep 2015
Posts: 27
Rep Power: 10
ssyadav is on a distinguished road
Dear Members

I am simulating condensation of CO2 with the droplets based non-equilibrium solver in Ansys CFX.

I have two questions:

First: I want to know whether the Spinodal Limits are incorporated into the Redlich Kwong equation of state as done with the IAPWS library.

Second: I request somebody to provide me RGP file generator based on REFPROP which can incorporate the data for metastable states.

Thank you guys.

Regards
ssyadav is offline   Reply With Quote

Old   April 8, 2020, 11:25
Default
  #9
New Member
 
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 26
Rep Power: 7
Saeef is on a distinguished road
Sir
Thank you for your sharing. In fact, I got the result of convergence by coarse grid, but the deviation between the result and the experiment is still large (This should be attributed to the nucleation model).
However, I refined the computational grid and recalculated, it went to divergence again. In my opinion, there's a luck component in the simulation of supercritical CO2 flow near critical point with CFX.
In addition, the influence of critical diameter is multifaceted, which not only affects the nucleation rate, but also affects the initial size of droplets, etc.
CEL can only partially solve the problem and I don't think there is any way to completely solve the critical diameter problem in CFX.
As long as you use RGP files,CFX will automatically get metastable physical properties.
I recommend that future researchers use fluent's density based solver instead of pressure based solver.
I wanted to send you an email, but it was rejected.

Saeef

Quote:
Originally Posted by ssyadav View Post
Dear Members

I am simulating condensation of CO2 with the droplets based non-equilibrium solver in Ansys CFX.

I have two questions:

First: I want to know whether the Spinodal Limits are incorporated into the Redlich Kwong equation of state as done with the IAPWS library.

Second: I request somebody to provide me RGP file generator based on REFPROP which can incorporate the data for metastable states.

Thank you guys.

Regards
Saeef is offline   Reply With Quote

Old   April 8, 2020, 12:36
Default Regarding metastable properties of CO2 vapor in Ansys CFX
  #10
New Member
 
Shyam Sunder
Join Date: Sep 2015
Posts: 27
Rep Power: 10
ssyadav is on a distinguished road
Dear Saeef


Thank you very much for responding.



I simulated condensing flow of water steam in the Moses and Stein nozzle using IAPWS equation of state. I am getting vapor subcooling even with nucleation and phase change switched ON in Ansys CFX as shown in the images.


Then I simulated condensing flow of CO2 in the Nakagawa nozzle with a RGP file for CO2 generated from the program mentioned at


https://studentcommunity.ansys.com/t...w-simulations/


The important point here is that I do not see vapor subcooling when nucleation and phase change are allowed as shown in the image below.


Similar results are obtained if I use Redlich Kwong equation of state for CO2 instead of REFPROP based RGP file.



The solver settings are same in the three cases.


This raises two points:
------------------------------


1) The IAPWS equation of state in CFX has the necessary data from spinodal region in such a form that allows the solver to give vapor supercooling even after phase change.


2) Some expert parameter needs to be switched ON in Ansys CFX to read the spinodal data and subcooled liquid data from RGP files and with Redlich Kwong equation of state?


The Ansys CFX "Solver Modelling Guide" talks about such a parameter on page 368.


The screenshot of this information is also attached.


I request you Saeef and all concerned to please share your views on this topic.


Thanks and Regards


Shyam
Attached Images
File Type: png image_moses.png (28.9 KB, 47 views)
File Type: png image_nakagawa.png (28.1 KB, 35 views)
File Type: png Ansys_CFX.png (40.4 KB, 37 views)
ssyadav is offline   Reply With Quote

Old   July 26, 2020, 06:35
Default two-phase co2
  #11
New Member
 
luo dan
Join Date: Sep 2018
Posts: 27
Rep Power: 7
LUO DAN is on a distinguished road
dear ssyadav,
I wonder know if you simulated condensing flow of CO2 in the Nakagawa nozzle with a RGP file generated by the 'nisttorgp-ansys' .I use the generator. But I think the RGP generated by 'nisttorgp-ansys' is not correct. My case is hard to convegence even with so small timestep(auto timescale 10-4). I think the spinodal curve in RGP is wrong. but i still cannot solve it. Do you have the same situation?
thank you
LUO DAN 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
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 08:33
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09:50
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 00:03.