CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

interCondensatingEvaporatingFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By Prandtl_2
  • 1 Post By floquation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2016, 11:39
Default interCondensatingEvaporatingFoam
  #1
New Member
 
Robin Scholtes
Join Date: Nov 2016
Posts: 6
Rep Power: 9
Prandtl_2 is on a distinguished road
Hello!

I'm new in OpenFoam and use the interCondensatingEvaporatingFoam solver.
The tutorial condensatingVessel slightly confuses me. Of course the material values depend on the temperature. The vapour values are given for T=386, its the same like the initial value of the temperature, so that sounds logical. But I don't understand which temperature is assigned to the liquid phase (I think ca. 330K, because of the values from FC-72) and why?
An other question is which Prandtl Number I should use?
And the last question: The saturation temperature in the thermophysicalProperties is given to T=366 K. I checked this and found for FC-72 a T_Sat=330K. It is a mistake or is there a deeper meaning behind it?

I hope anybody can help me to understand this solver.

Regards

Robin
Prandtl_2 is offline   Reply With Quote

Old   December 22, 2016, 03:20
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20
floquation will become famous soon enough
Quote:
Originally Posted by Prandtl_2 View Post
Hello!

I'm new in OpenFoam and use the interCondensatingEvaporatingFoam solver.
The tutorial condensatingVessel slightly confuses me. Of course the material values depend on the temperature. The vapour values are given for T=386, its the same like the initial value of the temperature, so that sounds logical. But I don't understand which temperature is assigned to the liquid phase (I think ca. 330K, because of the values from FC-72) and why?
This solver is not part of my OF40 tree and you did not specify where you found it, hence all I'm going to do is give you a guess:
The "setFields" utility is probably called by that tutorial in "Allrun". There is an associated "./system/setFieldsDict" in which you can overwrite the initial condition for all fields with a different value in a specific region. That's also how they add a water column to the "damBreak" tutorial.

Quote:
Originally Posted by Prandtl_2 View Post
An other question is which Prandtl Number I should use?
You'll have to look up the value of your fluid in literature. (You probably have to look some more - that link was found within one minute without really looking at it.) Be careful though, it is a temperature-dependent quantity.


Quote:
Originally Posted by Prandtl_2 View Post
And the last question: The saturation temperature in the thermophysicalProperties is given to T=366 K. I checked this and found for FC-72 a T_Sat=330K. It is a mistake or is there a deeper meaning behind it?
The saturation temperature is a function of the environmental pressure. That is, a highly pressurized liquid requires a greater temperature to evaporate. In other words, the tutorial is probably concerned with a different pressure than the value that you found.
floquation is offline   Reply With Quote

Old   December 22, 2016, 04:28
Default
  #3
New Member
 
Robin Scholtes
Join Date: Nov 2016
Posts: 6
Rep Power: 9
Prandtl_2 is on a distinguished road
Thank you for your response, but I think I must specify my concern.

interCondensatingEvaporatingFoam is a relativ new solver from OpenFoam v1606+.
The tutorial is about a vessel which is filled with gas and then you have a negativ heat flow so that the temperature drops and the gas begins to condense.
The material values are for the gas phase as well as for the liquig phase from the transportPorperties.
But I don't understand why exactly these material values are used for the liquid phase.

The inital pressure is given to 1bar. Out of this value I have checked the saturation temperature and find the value T=330K...

Maybe I make a big mistake.
Kummi likes this.
Prandtl_2 is offline   Reply With Quote

Old   December 22, 2016, 04:53
Default
  #4
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20
floquation will become famous soon enough
Quote:
Originally Posted by Prandtl_2 View Post
The inital pressure is given to 1bar. Out of this value I have checked the saturation temperature and find the value T=330K...
Is it a closed bottle? If so, you'd expect the pressure to decrease as more gas is converted to liquid. Then, in principle, you should have a pressure-dependent saturation temperature. The tutorial is probably, however, a simple model, in which a "reasonable" constant saturation temperature is taken instead, just to obtain the qualitative behaviour. This saturation temperature should then be a decent average saturation temperature in the observed pressure range. Or, eventually a steady state is reached in which you will have some liquid and some gas inside the bottle, while the bottle is at a very low pressure. They could choose this "steady state" saturation temperature to get the correct final result.
However, if you start at 1atm and the pressure will only drop, then you'd expect T_{sat}(t)<T_{sat}(t=0), which is not the case in this tutorial (as they have chosen a too large saturation temperature according to your source). Therefore, it is probably not a closed bottle?

If the pressure remains constant, and you found a valid source that says T_{sat}=330\mathrm{K} at the given pressure, then there could be an incorrect value in the tutorial. But does it matter for you? It is just a tutorial - change the geometry / physical properties to whatever values you need for your problem.
Kummi likes this.

Last edited by floquation; December 22, 2016 at 05:06. Reason: Wrong physics o.o
floquation is offline   Reply With Quote

Old   December 22, 2016, 05:36
Default
  #5
New Member
 
Robin Scholtes
Join Date: Nov 2016
Posts: 6
Rep Power: 9
Prandtl_2 is on a distinguished road
The bottle is open at the top.
Of course you're right, I can change the saturation temperature. I found it just a little strange.

The issue that confuses me more is my first question: the liquid phase material values in the transportProperties. Do you have any ideas about this?
Prandtl_2 is offline   Reply With Quote

Old   December 22, 2016, 06:44
Default
  #6
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20
floquation will become famous soon enough
Quote:
Originally Posted by Prandtl_2 View Post
The issue that confuses me more is my first question: the liquid phase material values in the transportProperties. Do you have any ideas about this?
In a phase change problem, it is typically a good approximation to assume one phase to be at the saturation temperature. (See e.g. the 1D Stefan problem.)
Since you have a problem with a cooling gas, the gas is at the varying temperature, and therefore the liquid may be assumed to be at the saturation temperature. Therefore, I reckon the liquid properties are taken at the saturation temperature. In your first post you estimated the temperature of the properties to be 330\mathrm{K}, and you found the saturation temperature to be equal to 330\mathrm{K}, hence this seems correct.
The saturation temperature was, however, set to a higher value, but as we had already concluded: that seems to be inconsistent/incorrect.
floquation is offline   Reply With Quote

Old   December 22, 2016, 07:43
Default
  #7
New Member
 
Robin Scholtes
Join Date: Nov 2016
Posts: 6
Rep Power: 9
Prandtl_2 is on a distinguished road
Ok, that sounds logical.
Thanks a lot for your help, that makes me a big step forward!
Prandtl_2 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



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