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

CO2 nozzle evaporator simulation with RGP table

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2018, 04:11
Default CO2 nozzle evaporator simulation with RGP table
  #1
New Member
 
Yafei Li
Join Date: Jul 2018
Location: CHIAN
Posts: 16
Rep Power: 7
lyfflynice is on a distinguished road
I tried to simulate the evaporator phenomena in a CO2 nozzle. The CO2 liquid and CO2 gas physical properties were defined by the RGP table in CFX solver. The pressure range is 0.6-16.6 MPa and the temperature range is 220-500 K. However, during the simulation, I encountered a waning "Independent variables went out of bounds while computing the variables listed below using the interpolation", as shown in Fig.1 And the Heat transfer and Turbulent RMS curves could not converge, as shown in Fig.2-3. As a result, the simulation gave a final error "Fatal overflow". The evaporator phase change model used the Lee evaporation-condensation model, and it was inputted the CFX by the CEL. The CCL file of my case was attached. Can someone give me some suggestions and point out the mistakes of my case setup? Thanks a lot!
Attached Images
File Type: jpg fig1.jpg (53.3 KB, 57 views)
File Type: jpg fig2.jpg (193.5 KB, 40 views)
File Type: jpg fig3.jpg (142.1 KB, 31 views)
Attached Files
File Type: txt CCL for evaporator in a CO2 nozzle.txt (9.1 KB, 48 views)
lyfflynice is offline   Reply With Quote

Old   October 19, 2018, 07:11
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is quite a complex model, so you need to make sure all the components are working by themselves before you put them all together.

I recommend running:
* Single phase compressible flow (maybe ideal gas or something simple) through the nozzle to check the basic compressible flow stuff is working.
* Then add an RGP gas (but still single phase)
* Add the multiphase stuff, but with simple incompressible materials. Also no phase change yet.
* Then add phase change with incompressible materials
* If all that is working then try adding the RGP properties to the multiphase model with phase change.

The bounds error often means that your simulation is not converging well and is diverging to non-physical values. You may need to widen the range of your table a bit to handle excursions during convergence, but more likely your simulation is just numerically unstable and you need to improve the stability. This can be done by:
* Better mesh quality
* Smaller time steps
* Double precision numerics
* Better initial conditions.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 19, 2018, 10:34
Default
  #3
New Member
 
Yafei Li
Join Date: Jul 2018
Location: CHIAN
Posts: 16
Rep Power: 7
lyfflynice is on a distinguished road
Dear ghorrocks, I really appreciate your suggestions. The two-phase flow simulation with RGP tables using CFX has been reported in the open literature, so it was believed that CFX could handle with the current case. In my case, the mesh quality was good and the double precise was used already. Next, I will try to further decrease the time steps and improve the initial conditions. Thanks a lot again!
lyfflynice is offline   Reply With Quote

Old   October 19, 2018, 21:11
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, CFX can handle all those simulations - but do you know how to set it up properly?

Just because somebody else has successfully completed the simulation does not mean you can successfully do it! You really need to get the basic simulations working properly before you do the full physics complex 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   October 22, 2018, 04:43
Smile
  #5
New Member
 
luo dan
Join Date: Sep 2018
Posts: 27
Rep Power: 7
LUO DAN is on a distinguished road
Quote:
Originally Posted by lyfflynice View Post
Dear ghorrocks, I really appreciate your suggestions. The two-phase flow simulation with RGP tables using CFX has been reported in the open literature, so it was believed that CFX could handle with the current case. In my case, the mesh quality was good and the double precise was used already. Next, I will try to further decrease the time steps and improve the initial conditions. Thanks a lot again!
Hi lyfflynice,
I have some questions about the generation of a RGP for co2.
1. You make a RGP through a generator you loaded or a code you wrote;
2. Can a generator generate a RGP for co2 in 2 phase;
3. How to set two phase flow in CFX pre with RGP.
I need your help.
Thank you very much!!
LUO DAN is offline   Reply With Quote

Old   October 23, 2018, 05:31
Default
  #6
Member
 
Join Date: Nov 2013
Posts: 57
Rep Power: 12
alirezame is on a distinguished road
Hello,

Try to increase the range of your RGP table to avoid clipping or extrapolating methods. Also, enable the Beta feature of CFX pre, then check the "RGP liquid properties (beta)"where you have loaded your RGP table.
alirezame is offline   Reply With Quote

Old   October 23, 2018, 07:45
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 alirezame View Post
Hello,

Try to increase the range of your RGP table to avoid clipping or extrapolating methods. Also, enable the Beta feature of CFX pre, then check the "RGP liquid properties (beta)"where you have loaded your RGP table.

Thank you. The beta feature has been set in the CFX pre. I will try to increase the range of the RGP table.
lyfflynice is offline   Reply With Quote

Old   October 23, 2018, 07:51
Default
  #8
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 LUO DAN View Post
Hi lyfflynice,
I have some questions about the generation of a RGP for co2.
1. You make a RGP through a generator you loaded or a code you wrote;
2. Can a generator generate a RGP for co2 in 2 phase;
3. How to set two phase flow in CFX pre with RGP.
I need your help.
Thank you very much!!
Dear LUO DAN,
1.The RGP table generation code was written by myself with Matlab software.
2. The RGP generator can produce the gas phase and liquid phase CO2 properties, and the gas phase and liquid phase data were stored in two single file. But the two-phase CO2 properties can not be produced.
3. By inserting two materials, one is the gas-phase CO2, the other is the liquid CO2
lyfflynice is offline   Reply With Quote

Old   October 24, 2018, 09:22
Default
  #9
New Member
 
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 26
Rep Power: 7
Saeef is on a distinguished road
Quote:
Originally Posted by lyfflynice View Post
Dear LUO DAN,
1.The RGP table generation code was written by myself with Matlab software.
2. The RGP generator can produce the gas phase and liquid phase CO2 properties, and the gas phase and liquid phase data were stored in two single file. But the two-phase CO2 properties can not be produced.
3. By inserting two materials, one is the gas-phase CO2, the other is the liquid CO2
Hi,lyfflynice
I am working on SCO2 field as well, but in turbomachinery.
I also ceate a Matlab program which includes metastable properties by myself.
But it can only work well for single-phase situation.
I got some trouble in non-equilibrium flow.
Could we communicate it deeply ?
My Email address : liuzhiyuan@iet.cn

Last edited by Saeef; October 24, 2018 at 09:29. Reason: typoes
Saeef is offline   Reply With Quote

Old   October 24, 2018, 10:09
Default
  #10
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 Saeef View Post
Hi,lyfflynice
I am working on SCO2 field as well, but in turbomachinery.
I also ceate a Matlab program which includes metastable properties by myself.
But it can only work well for single-phase situation.
I got some trouble in non-equilibrium flow.
Could we communicate it deeply ?
My Email address : liuzhiyuan@iet.cn
Dear Saffe, I am very glad to have a deep communication with you. My email address: lyfxjtu@stu.xjtu.edu.cn. By the way, are you from China? I am from China.
lyfflynice is offline   Reply With Quote

Old   October 24, 2018, 21:19
Default
  #11
New Member
 
luo dan
Join Date: Sep 2018
Posts: 27
Rep Power: 7
LUO DAN is on a distinguished road
Quote:
Originally Posted by lyfflynice View Post
Dear Saffe, I am very glad to have a deep communication with you. My email address: lyfxjtu@stu.xjtu.edu.cn. By the way, are you from China? I am from China.
Dear lyfflynice,
I have a question. I'd like to know if the RGP file you generated contains the supercritical region, and if so, how do you distinguish the liquid phase from the gas phase in the supercritical region. I come from University of Shanghai for Science and Technology
Attached Images
File Type: png QQ??20181025091508.png (19.9 KB, 40 views)
File Type: jpg QQ??20181025091721.jpg (14.7 KB, 29 views)
LUO DAN is offline   Reply With Quote

Old   October 24, 2018, 21:43
Default
  #12
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 LUO DAN View Post
Dear lyfflynice,
I have a question. I'd like to know if the RGP file you generated contains the supercritical region, and if so, how do you distinguish the liquid phase from the gas phase in the supercritical region. I come from University of Shanghai for Science and Technology
Dear LUO DAN, the RGP file contained the supercritical region. In the supercritical region, the liquid phase and gas phase were not distinguished. We can communicate with E-mail.
lyfflynice is offline   Reply With Quote

Old   October 25, 2018, 02:05
Default
  #13
New Member
 
luo dan
Join Date: Sep 2018
Posts: 27
Rep Power: 7
LUO DAN is on a distinguished road
Quote:
Originally Posted by lyfflynice View Post
Dear LUO DAN, the RGP file contained the supercritical region. In the supercritical region, the liquid phase and gas phase were not distinguished. We can communicate with E-mail.
OK, thank you. When I have a problem, I will contact you.
LUO DAN is offline   Reply With Quote

Reply

Tags
co2 evaporator


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
CFX error RGP file for CO2 Damagea CFX 11 September 15, 2022 14:46
How to create liquid property in the RGP table lyfflynice CFX 2 August 21, 2018 16:43
Reference Pressure with RGP table - Out of Bounds message even though it isn't? evcelica CFX 2 May 2, 2017 21:13
Simulation of steam (CO2 and Water vapor mixture) flow through nozzle using Fluent. Jimmy FLUENT 0 March 2, 2011 12:30
compressible flow in a counterflow nozzle d.vamsidhar FLUENT 0 November 24, 2005 01:45


All times are GMT -4. The time now is 12:40.