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

Error in phase change simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2014, 20:31
Default Error in phase change simulation
  #1
New Member
 
Join Date: May 2014
Posts: 7
Rep Power: 11
tomide is on a distinguished road
----------------------------------
Error in subroutine FNDVAR :
Error finding variable DENSAT_FL1
GETVAR originally called by subroutine cal_DIAM

+--------------------------------------------------------------------+
| Writing crash recovery file |
+--------------------------------------------------------------------+

Details of error:-
----------------
Error detected by routine MAKDIR
CDRNAM = cal_IPTC
CRESLT = OLD

Current Directory : /FLOW/SOLUTION/TSTEP5/CLOOP1/ZN1/VERTICES
tomide is offline   Reply With Quote

Old   June 29, 2014, 16:07
Default
  #2
New Member
 
Mudassir
Join Date: Apr 2014
Location: Pakistan
Posts: 11
Rep Power: 12
Mudassir is on a distinguished road
Hi,
I am getting the same error, have you found any solution to this?

Regards
Mudassir is offline   Reply With Quote

Old   June 29, 2014, 19:24
Default
  #3
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
CFX error messages can be a bit cryptic. I think this one is saying you have not defined the saturation properties (maybe density) for a phase.
ghorrocks is offline   Reply With Quote

Old   June 29, 2014, 19:30
Default
  #4
New Member
 
Mudassir
Join Date: Apr 2014
Location: Pakistan
Posts: 11
Rep Power: 12
Mudassir is on a distinguished road
Dear Gorrocks,
Thanks for the reply,
I am using predefined materials, "Liquid Water" and "Water Ideal Gas", density of Water in gas phase cannot be defined manually, as it is compressible and density is computed by CFX according to temp. press. conditions.
I donot see other place where the density should be defined.
I am using "Water Ideal Gas" as continuous fluid, and Water Liquid as Droplets(Phase change) , if i change Dispersed Liquid , the problem goes away.
But i need Phase change here!


Regards
Mudassir is offline   Reply With Quote

Old   June 30, 2014, 08:59
Default
  #5
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 14
JuPa is on a distinguished road
Quote:
Originally Posted by Mudassir View Post
Dear Gorrocks,
Thanks for the reply,
I am using predefined materials, "Liquid Water" and "Water Ideal Gas", density of Water in gas phase cannot be defined manually, as it is compressible and density is computed by CFX according to temp. press. conditions.
I donot see other place where the density should be defined.
I am using "Water Ideal Gas" as continuous fluid, and Water Liquid as Droplets(Phase change) , if i change Dispersed Liquid , the problem goes away.
But i need Phase change here!


Regards
Are you sure you want to use the droplet model? Dispersed liquid phase is fine as long as you know what it means.

Phase change simulations are not easy. There is a ton of literature to read before you even think about attempting a "simple" phase change simulation.

The best advice is: read the CFX theory and user guides.

And then read them again.

Complete the Bartolomej boiling test case in CFX to get you started. You can get the files from Ansys.
JuPa is offline   Reply With Quote

Old   June 30, 2014, 21:57
Default
  #6
New Member
 
Join Date: May 2014
Posts: 7
Rep Power: 11
tomide is on a distinguished road
Quote:
Originally Posted by Mudassir View Post
Dear Gorrocks,
Thanks for the reply,
I am using predefined materials, "Liquid Water" and "Water Ideal Gas", density of Water in gas phase cannot be defined manually, as it is compressible and density is computed by CFX according to temp. press. conditions.
I donot see other place where the density should be defined.
I am using "Water Ideal Gas" as continuous fluid, and Water Liquid as Droplets(Phase change) , if i change Dispersed Liquid , the problem goes away.
But i need Phase change here!


Regards
i didnt find any solution to the error. i decided to change my area of study. if you find a solution please share it with me. thanks
tomide is offline   Reply With Quote

Old   July 2, 2014, 20:02
Default
  #7
New Member
 
Mudassir
Join Date: Apr 2014
Location: Pakistan
Posts: 11
Rep Power: 12
Mudassir is on a distinguished road
@ tomide,
Dear i think you are not using proper materials for Phase Change, i have switched to H20v,H20l and i have resolved that error (That error DENSAT... means that Saturation Density not found), You need to use a pair of materials which have well defined saturation properties in CFX.
And... This is my interpretation.
Mudassir is offline   Reply With Quote

Old   August 18, 2014, 21:47
Question help
  #8
aer
New Member
 
Julia
Join Date: May 2011
Posts: 20
Rep Power: 14
aer is on a distinguished road
Quote:
Originally Posted by Mudassir View Post
@ tomide,
Dear i think you are not using proper materials for Phase Change, i have switched to H20v,H20l and i have resolved that error (That error DENSAT... means that Saturation Density not found), You need to use a pair of materials which have well defined saturation properties in CFX.
And... This is my interpretation.
Dear Mudassir
I have a problem with phase change (droplet), I find H2Ol in CFX material, but cannot find H2Ov! Can I ask you where you find it?
I built this material from new material, but the error that ‘Error finding variable PSAT’ is appeared!
Could you help me please?
Regards
aer is offline   Reply With Quote

Old   August 19, 2014, 11:32
Default
  #9
New Member
 
Mudassir
Join Date: Apr 2014
Location: Pakistan
Posts: 11
Rep Power: 12
Mudassir is on a distinguished road
Quote:
Originally Posted by aer View Post
Dear Mudassir
I have a problem with phase change (droplet), I find H2Ol in CFX material, but cannot find H2Ov! Can I ask you where you find it?
I built this material from new material, but the error that ‘Error finding variable PSAT’ is appeared!
Could you help me please?
Regards
Hi Julia,

That is a mistake in my above comment, Sorry for the confusion it created. The Liquid and Gas phase water materials are H2Ol and H20 (Not H2Ov) respectively, and their Homogeneous Binary Mixture is named as H20vl.
You can find these materials in "Water Data" or "Interphase mass transfer" groups.
Please note that, you would have to import all three to your materials list; H2Ol, H2O , H2Ovl.
That error about PSAT means that Saturation Pressure was not found. Importing all the three materials would correct this Inshallah !
Personally i am now using IAPWS-IF97 water and steam data for my simulations , i found it better and it is also available within CFX.

Hope that helps!

Regards,
Mudassir Farooq
Mudassir is offline   Reply With Quote

Old   August 22, 2014, 04:00
Default
  #10
aer
New Member
 
Julia
Join Date: May 2011
Posts: 20
Rep Power: 14
aer is on a distinguished road
Dear Mudassir
Thanks for your help, I used materials in IAPWS-IF97 , but this error appear: ‘Independent variables were clipped during table generation’
I don’t understand this message, which item I must change it?
Thanks a lot for your help
aer is offline   Reply With Quote

Old   August 22, 2014, 06:29
Default
  #11
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
In the materials tab you expand out a few levels and there is some options for table generation.
ghorrocks is offline   Reply With Quote

Old   August 22, 2014, 08:39
Default
  #12
New Member
 
Mudassir
Join Date: Apr 2014
Location: Pakistan
Posts: 11
Rep Power: 12
Mudassir is on a distinguished road
Quote:
Originally Posted by aer View Post
Dear Mudassir
Thanks for your help, I used materials in IAPWS-IF97 , but this error appear: ‘Independent variables were clipped during table generation’
I don’t understand this message, which item I must change it?
Thanks a lot for your help
Hi Julia,

First i would like to explain what does this error mean so that you can have a deeper understanding. When you start a simulation the CFX-Solver generates the tables of the properties (density, viscosity etc) for different temperature and pressure values, Then during the simulation solver will pick the property value from these tables. This process of making tables is called "TABLE GENERATION". CFX by default generates these table from 273K - 500 K (i dont remember exactly values) in steps of 5 degrees or similar. Now your error means that the temperatures and pressure values in your simulation are outside the default table range.
It is always recommended to to provide Table range manually according to the temperature and pressure EXTREMES in the simulation to avoid this error.
Now to input table range:
Double click the your material in Outline -> Tick TABLE GENERATION under Material Properties tab -> Tick Minimum Temp., Max. Temp , Min Pressure, Max Press and Number of points and provide values for all of these.
-- Do Not Check mark the Extrapolation.

Sorry for being lengthy, too descriptive!

Hope that helps!

Regards,
Mudassir Farooq
louis860813 likes this.
Mudassir is offline   Reply With Quote

Old   August 22, 2014, 09:47
Default
  #13
aer
New Member
 
Julia
Join Date: May 2011
Posts: 20
Rep Power: 14
aer is on a distinguished road
Quote:
Originally Posted by Mudassir View Post
Hi Julia,

First i would like to explain what does this error mean so that you can have a deeper understanding. When you start a simulation the CFX-Solver generates the tables of the properties (density, viscosity etc) for different temperature and pressure values, Then during the simulation solver will pick the property value from these tables. This process of making tables is called "TABLE GENERATION". CFX by default generates these table from 273K - 500 K (i dont remember exactly values) in steps of 5 degrees or similar. Now your error means that the temperatures and pressure values in your simulation are outside the default table range.
It is always recommended to to provide Table range manually according to the temperature and pressure EXTREMES in the simulation to avoid this error.
Now to input table range:
Double click the your material in Outline -> Tick TABLE GENERATION under Material Properties tab -> Tick Minimum Temp., Max. Temp , Min Pressure, Max Press and Number of points and provide values for all of these.
-- Do Not Check mark the Extrapolation.

Sorry for being lengthy, too descriptive!

Hope that helps!

Regards,
Mudassir Farooq

Hi Mudassir
My problem is solved and the error is eliminated, thanks for your help
I wish the best for you!
Best Regards
aer is offline   Reply With Quote

Old   September 3, 2014, 14:08
Red face
  #14
aer
New Member
 
Julia
Join Date: May 2011
Posts: 20
Rep Power: 14
aer is on a distinguished road
Hi Mudassir
Can I ask you a question?
do you simulate wet steam flow in CFX?
if your answer is positive, can I ask you some question?
Thanks
Julia
aer is offline   Reply With Quote

Old   September 4, 2014, 10:11
Default
  #15
New Member
 
Mudassir
Join Date: Apr 2014
Location: Pakistan
Posts: 11
Rep Power: 12
Mudassir is on a distinguished road
Hi Julia,
Yes I did simulate wet steam, Actually i vaporized water in my system and the steam you get would be wet steam unless you superheat it.
You may ask the questions, May be i could answer.

Mudassir Farooq
Mudassir is offline   Reply With Quote

Old   May 28, 2015, 07:56
Default
  #16
Member
 
Adil Syyed
Join Date: May 2012
Posts: 49
Rep Power: 13
adilsyyed is on a distinguished road
Quote:
Originally Posted by Mudassir View Post
Hi Julia,

That is a mistake in my above comment, Sorry for the confusion it created. The Liquid and Gas phase water materials are H2Ol and H20 (Not H2Ov) respectively, and their Homogeneous Binary Mixture is named as H20vl.
You can find these materials in "Water Data" or "Interphase mass transfer" groups.
Please note that, you would have to import all three to your materials list; H2Ol, H2O , H2Ovl.
That error about PSAT means that Saturation Pressure was not found. Importing all the three materials would correct this Inshallah !
Personally i am now using IAPWS-IF97 water and steam data for my simulations , i found it better and it is also available within CFX.

Hope that helps!

Regards,
Mudassir Farooq

Sorry for bringing up an old post.
In phase change simulation, say direct contact condensation, do we have to import all the three materials i.e. H2O, H2Ol and H2Ov, as you mentioned.
Shouldn't two materials H2O and H2Ol do?
If I import the third material H2Ov then I have to define it as Continuous/dispersed liquid. It kind of becomes a 3rd phase.

Regards
adilsyyed is offline   Reply With Quote

Old   May 28, 2015, 08:51
Default
  #17
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
Be careful not confuse "materials" with "phases" when using ANSYS CFX.

"Materials" describe the thermodynamic state, properties of a substance.

"Phases" are how you want these substances to be modeled.

For example, you can import MatLiquid, MatVapor, MatBinMixture materials. Then you decide how to model the physics:


1 - Single phase using a homogeneous binary mixture: you assign the MatBinMixture to the unique phase in the model.

2 - Single phase using the vapor state: you assing the MatVapor material to the unique phase in the model. Similar if you decide to model the liquid with MatLiquid

3 - Multiphase modeling using independent phases: you assign MatVapor to a phase (and the appropriate morphology), and you assign MatLiquid to another phase (and its morphology as well).

Summary: you can import as many materials as you want, you then create phases as your modeling needs require.

Hope the above helps,
adilsyyed likes this.
Opaque is offline   Reply With Quote

Old   May 28, 2015, 08:58
Default
  #18
Member
 
Adil Syyed
Join Date: May 2012
Posts: 49
Rep Power: 13
adilsyyed is on a distinguished road
Quote:
Originally Posted by Opaque View Post
Be careful not confuse "materials" with "phases" when using ANSYS CFX.

"Materials" describe the thermodynamic state, properties of a substance.

"Phases" are how you want these substances to be modeled.

For example, you can import MatLiquid, MatVapor, MatBinMixture materials. Then you decide how to model the physics:


1 - Single phase using a homogeneous binary mixture: you assign the MatBinMixture to the unique phase in the model.

2 - Single phase using the vapor state: you assing the MatVapor material to the unique phase in the model. Similar if you decide to model the liquid with MatLiquid

3 - Multiphase modeling using independent phases: you assign MatVapor to a phase (and the appropriate morphology), and you assign MatLiquid to another phase (and its morphology as well).

Summary: you can import as many materials as you want, you then create phases as your modeling needs require.

Hope the above helps,
Thank you, it does clarify a few things.
adilsyyed is offline   Reply With Quote

Old   March 19, 2016, 05:33
Default
  #19
New Member
 
abubakar izhar
Join Date: Oct 2015
Posts: 9
Rep Power: 10
abubakarizhar is on a distinguished road
have someone tried the Bartolomej subcooled boiling test provided by ansys. i want to know wether the wall boiling model can be applied at low pressure of 3 bar or not. moreover how has ansys input bubble diameter expression in this case.can someone guide to provide input at 3 bar.
abubakarizhar is offline   Reply With Quote

Old   August 31, 2018, 15:43
Default I am also finding difficulty in the boiling simulations
  #20
Member
 
Soumitra Vadnerkar
Join Date: Aug 2018
Posts: 70
Rep Power: 7
soumitra2102 is on a distinguished road
Quote:
Originally Posted by JuPa View Post
Are you sure you want to use the droplet model? Dispersed liquid phase is fine as long as you know what it means.

Phase change simulations are not easy. There is a ton of literature to read before you even think about attempting a "simple" phase change simulation.

The best advice is: read the CFX theory and user guides.

And then read them again.

Complete the Bartolomej boiling test case in CFX to get you started. You can get the files from Ansys.

You are right JuPa
I am also finding difficulty in the boiling simulations.
soumitra2102 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
Phase change from liquid to vapor in a nozzle SebastianSchuster CFX 6 September 28, 2015 22:02
Change operating pressure without redoing simulation pakk FLUENT 0 November 29, 2013 04:00
modeling phase change and homogeneous bubbles in many cycles dwtme FLOW-3D 12 January 1, 2013 04:57
Phase Change Heat Conduction hawkeye321 OpenFOAM 14 April 30, 2011 14:24
Flash Process / Problem with thermal phase change model Ridley CFX 0 July 21, 2010 07:57


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