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

Mass conservation in evaporation/condensation sim

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2020, 06:36
Default Mass conservation in evaporation/condensation sim
  #1
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Hello everyone,

I'm doing a transient simulation of buthane evaporating in a radiator, using VOF and evap/cond Lee model. Furthermore, I'm giving the saturation temperature as input (piecewise polynomial).
The simulation is running but mass flowing in and out the system is not balanced. I'm computing mass imbalance through inlet and outlet, and I got 95% (mass_out - mass_in / mass_in).
So I analysed the mass flow at different stages in the system, and I noticed mass was "disappearing" when evaporation was happening. I changed some value and I got a good improvement (from 95% to 50%) but now I'm stuck again.

Here what I did:
Scheme from Coupled to SIMPLE (everything is 1st order, I tried to get accuracy with 2nd order but nothing changed)
Condensation frequency from 0.1 to 0.5 (I tried to change also evap freq but was useless)
In solution controls, Volume Fraction from 0.5 to 1

I tried to change also Volume Fraction Parameters and Interface Modeling, since I thought the problem was linked to multiphase and evaporation model but nothing (positive) happened.

What do you think? I did not find many helpful info on the web, but I read under-relaxation factor and evaporation/condensation frequencies should play the major roles.

Thanks in advance,

Michele
CFD_Michele is offline   Reply With Quote

Old   May 25, 2020, 17:30
Default Mass Balance
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
For a transient simulation, instantaneous values of \dot{m}_{in} and \dot{m}_{out} will almost always be unbalanced. You need to compare their time-integral or time-average values.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 26, 2020, 05:57
Default
  #3
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Quote:
Originally Posted by vinerm View Post
For a transient simulation, instantaneous values of \dot{m}_{in} and \dot{m}_{out} will almost always be unbalanced. You need to compare their time-integral or time-average values.
Thanks for your reply!
I was thinking about that, but I didn't expect such a high error. Anyway, even if the sim is transient, I think now it reached a steady condition, since mass and pressure values converged.

Meanwhile I did some other change, moving the timestep from 0.001s to 0.01s, and that helped mass balance.
As you suggested I did the time average of the last 8 seconds, but the balance is still high (31%).

Furthermore, all the changes that I did to improve mass balance raised only the liquid fraction and not the vapour. And this is not good since I am trying to match a test where all the liquid evaporates.
CFD_Michele is offline   Reply With Quote

Old   May 26, 2020, 06:49
Default Mass Measurement
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
And how are you measuring the mass flow rates at the boundaries?
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 26, 2020, 07:08
Default
  #5
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Quote:
Originally Posted by vinerm View Post
And how are you measuring the mass flow rates at the boundaries?
I set a Mass Flow Rate in Report Definition, on inlet and outlet boundaries.
I did the same for each phase.
CFD_Michele is offline   Reply With Quote

Old   May 26, 2020, 08:00
Default Flow Rates
  #6
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Since there is phase change, mass flow rate of individual phase will change, however, mass flow rate of mixture should remain same within a certain error. Usually, 1% is an acceptable error in multiphase flows but higher than that could be caused due to multiple reasons, such as, minimum volume fraction cut-off. If mesh is coarse, then, a volume fraction smaller than cut-off in a cell gets lost. But the error you have is rather high and cannot be explained by cut-off until and unless you have a very coarse mesh, which I don't expect.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 26, 2020, 09:43
Default
  #7
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Since there is phase change, mass flow rate of individual phase will change, however, mass flow rate of mixture should remain same within a certain error. Usually, 1% is an acceptable error in multiphase flows but higher than that could be caused due to multiple reasons, such as, minimum volume fraction cut-off. If mesh is coarse, then, a volume fraction smaller than cut-off in a cell gets lost. But the error you have is rather high and cannot be explained by cut-off until and unless you have a very coarse mesh, which I don't expect.
I tried to change cut-off, reducing it from the default value (1e-6) down to 0, but nothing changed. Anyway I'll try again since it was something I did when I had 95% of imbalance.

I'm using a 2.1 mln elements mesh, that's neither coarse nor fine. Now I am doing a coarser mesh in order to check mesh sensitivity.

Are cut-off and mesh density related? So if I have a finer mesh I would use a lower cut-off.
CFD_Michele is offline   Reply With Quote

Old   May 27, 2020, 05:02
Default Cut-off
  #8
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Cut-off volume fraction is defined as ratio of the volume occupied by a phase and the volume of the cell. So, if the mesh is finer, the absolute volume occupied by a phase also reduces if the cut-off is kept same. 1e-6 is small enough and no need to reduce it further. Don't set it to 0, if you want to go lower, set it to 1e-9. But if cut-off is already 1e-6, reducing it won't improve the solution.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 27, 2020, 05:49
Default Outlet
  #9
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Thanks for your help!

I am now looking into outlet BC, I set pressure outlet and for the phase I selected Backflow Volume Fraction.
I am not sure about that since I am not expecting any re-circulation and I am expecting that the outlet flow is 99-100% vapour.
Should I use From Neighboring Cell? The guide is not so clear about that method.
CFD_Michele is offline   Reply With Quote

Old   May 27, 2020, 06:23
Default Flow Reversal
  #10
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
If Fluent does not report any flow reversal for your case, then it does not matter what option you choose. However, if there is flow reversal, then it matters. If the outlet is connected to a reservoir, such as, a tank or the open atmosphere, then depending upon the orientation of the outlet, it could either be light phase or heavy phase that could come in. However, if the outlet is taken midway in a duct, then it is better to use the option From the Neighboring Cells.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 12, 2020, 04:41
Default
  #11
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Hello guys, I'm back again.

I tried to change some setting as well as trying different meshes but nothing changed.

Now I am working on evaporation/condensation frequencies. Do someone knows how those two factors drive the simulation?
Default values are 0.1 [1/s] for both, and now I have 5 for evaporation and 7 for condensation. It seems to me that vapour fraction is highly influenced by both while liquid is not (I still have mass imbalanced > 10%).
Anyway, vapour fraction is more or less right while I still have a high liquid fration at outlet that shouldn't be there.

Any clues?

Cheers!
CFD_Michele is offline   Reply With Quote

Old   June 15, 2020, 11:14
Default Frequencies
  #12
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
The frequencies are tuning parameters of this model and need to be tuned to match with experimental data. If you are not getting enough evaporation, then increase the frequency. You can go very high, say, 1000 or even higher.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 15, 2020, 11:28
Default
  #13
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Quote:
Originally Posted by vinerm View Post
The frequencies are tuning parameters of this model and need to be tuned to match with experimental data. If you are not getting enough evaporation, then increase the frequency. You can go very high, say, 1000 or even higher.
Hi vinerm, thanks for your help!
It seemed to me that the frequencies are not directly correlated to each volume fraction, but maybe I am wrong.
In my case I was increasing evaporation frequency but I got a higher liquid fraction.

Anyway, now I have evaporation at 3 [1/s] and condensation at 8 [1/s] because I read that they have to be in a 1:10 ratio. If you say that I can go higher I will try that too.

Cheers!
CFD_Michele is offline   Reply With Quote

Old   June 15, 2020, 11:38
Default The ratio
  #14
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Ratio is not that important. Since the primary direction is evaporation, you should have higher frequency for evaporation and lower for condensation.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 16, 2020, 13:18
Default
  #15
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Ratio is not that important. Since the primary direction is evaporation, you should have higher frequency for evaporation and lower for condensation.
Hi vinerm,

Thanks for your reply.

As you said, I was expecting a higher frequency for evaporation than condensation. But as you can see from the enclosed picture I have the opposite! In the picture you can see how liquid and vapour fractions vary, changing the cond/evap frequencies.
I did different chenges to record the volume fractions behaviours. Starting from a frequency of 5 [1/s] for both evaporation and condensation, I increased evaporation frequency and decreased condensation, but I got an unexpected behaviour (increased volume fraction).
After that, in multiple steps, I incresed condensation up to 9 [1/s] and decreased evaporation down to 3 [1/s], and it seems it is working, even if I still have a high liquid fraction.
Eventually, just to underline this strange behaviour I raised condensation frequency to 30 [1/s] and you can see the vapour fraction got a steep ramp, while liquid didn't change so much.

Hope it was clear enough!

Cheers,

Michele
Attached Images
File Type: png phase_changes_by_freq.png (83.3 KB, 31 views)
CFD_Michele is offline   Reply With Quote

Old   June 17, 2020, 09:52
Default Gas at Inlet
  #16
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
How much vapor phase exists at the inlet or at the initial stage? Is it 0?
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 17, 2020, 10:03
Default
  #17
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Quote:
Originally Posted by vinerm View Post
How much vapor phase exists at the inlet or at the initial stage? Is it 0?
No it's not zero. It is 1% of vapour at inlet, and it should be 99% of vapour at outlet (or close to 99%).
Now it's 90% of vapour at outlet, and mass imbalance is around 5%.
CFD_Michele is offline   Reply With Quote

Old   June 17, 2020, 10:07
Default Heat
  #18
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
And is there enough heat being supplied for this much vapor to form. Do note that an x volume of liquid leads to 2000x volume of vapor.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 17, 2020, 10:44
Default
  #19
New Member
 
Michele
Join Date: Jul 2019
Location: Italy
Posts: 11
Rep Power: 7
CFD_Michele is on a distinguished road
Quote:
Originally Posted by vinerm View Post
And is there enough heat being supplied for this much vapor to form. Do note that an x volume of liquid leads to 2000x volume of vapor.
I am not imposing the heat transfered but I defined the pipes and radiator temperatures as it was recorded during the test. Because at this stage I am trying to validate my system against experimental data.

Yes I imagine that there will be a huge expansion through the evaporation, but I did not understand what do you mean. How this is influencing my results? Do you think I have to measure my quantities in a different way?
CFD_Michele is offline   Reply With Quote

Old   June 17, 2020, 11:16
Default Heat Transfer
  #20
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
You might have used temperature boundary condition, however, you need to observe the heat being transferred to the liquid. If the heat transferred is not enough for the evaporation, then it will not evaporate. Also ensure that the material properties are given correctly, especially, enthalpies for liquid and vapor. It is their difference that is important and not their actual values.

Expansion of vapor is important since it requires that much space to be available. If the system is open, then it can flow out. However, if the space is closed, then vapor must be modeled as ideal gas.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
Check for mass conservation shuuyaan Fluent Multiphase 9 April 10, 2020 13:48
Match Pressure Inlet/Outlet Boundary Condition Mass Flow Rate MSchneid Fluent UDF and Scheme Programming 3 February 23, 2019 07:00
Can FVM have mass sinks/ mass conservation problems? whuup FLUENT 0 March 8, 2014 19:48
lost of mass conservation jjchristophe FLUENT 0 June 18, 2010 06:44
Mass Conservation in LES Jaswant Main CFD Forum 8 July 4, 2005 23:32


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