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

Cavitation transient calculation inside a nozzle - need comment about the residual

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By pakk
  • 1 Post By ghost82

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2014, 06:52
Default Cavitation transient calculation inside a nozzle - need comment about the residual
  #1
Member
 
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12
dinhanh is on a distinguished road
Hi, I am new in CFD
Now I am doing cavitation transient calculation inside a nozzle for my thesis. I read in the fluent user guid that, the residual should be reduce 2 or 3 order. But I do not really understand that.
This is residual plot from my calculation. Could you tell me how good this residual is?
Thank you very much!
Attached Images
File Type: jpg 101.jpg (57.5 KB, 75 views)
dinhanh is offline   Reply With Quote

Old   November 11, 2014, 06:57
Default
  #2
Member
 
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12
dinhanh is on a distinguished road
For more information, in the monitor residual panel, I turn off the crition check. Is it OK?
dinhanh is offline   Reply With Quote

Old   November 11, 2014, 07:14
Default
  #3
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Quote:
Originally Posted by dinhanh View Post
I read in the fluent user guid that, the residual should be reduce 2 or 3 order.
That means that if the residual starts at 1, it should be reduced by a factor of at least 100 or 1000, so it should be lower than 0.01, preferably lower than 0.001. (100=10^2, 1000=10^3, that is what the order 2 or 3 means.)

Your continuity (white line) goes from 0.008 to 0.0008, so that is a factor 10. I don't know what happened before iteration 1500, but if you really started at iteration 1500, I would say this is poor convergence.
dinhanh likes this.
pakk is offline   Reply With Quote

Old   November 11, 2014, 07:19
Default
  #4
Member
 
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12
dinhanh is on a distinguished road
Thank your quik answe,

I did steady calculation for single phase for first 1500 inter. after that change to unsteady and cavitation model. As you sad, continuity residual is poor. How to improve the convergen?

Ps: Also, I get message:"reversed flow at xxx face on pressure-outlet". So it may cause that problem to poor convergence
dinhanh is offline   Reply With Quote

Old   November 11, 2014, 09:43
Default
  #5
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
ghost82 will become famous soon enough
Usually for cavitation simulations time step should be very small: I usually set a maximum time step of 1e-5 down to 1e-7.
Extend your domain at the outlet, plot contour to see what is causing reverse flow.
__________________
Google is your friend and the same for the search button!
ghost82 is offline   Reply With Quote

Old   November 11, 2014, 10:13
Default
  #6
Member
 
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12
dinhanh is on a distinguished road
Quote:
Originally Posted by ghost82 View Post
Usually for cavitation simulations time step should be very small: I usually set a maximum time step of 1e-5 down to 1e-7.
Extend your domain at the outlet, plot contour to see what is causing reverse flow.
Thank ghost82,
Extend the domain may be effect to the solution? Because in the nozzle flow, pressure fall down to saturation pressure and increase to reach pressure at outlet. So I think if domain extended, then pressure will be slowly to reach outlet pressure, and the aspect of cavity will be different.
dinhanh is offline   Reply With Quote

Old   November 11, 2014, 10:16
Default
  #7
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
ghost82 will become famous soon enough
I think no, not so much..if you extend, for example, the outlet 10 cm far, you have only more pressure drop due to 10 cm pipe (which are negligible). You can always subtract this pressure drop at the "new" outlet.
I think it will not affect the cavity length.
__________________
Google is your friend and the same for the search button!
ghost82 is offline   Reply With Quote

Old   November 11, 2014, 10:24
Default
  #8
Member
 
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12
dinhanh is on a distinguished road
Uhm, I see. You are right. And how about the residual? How to improve tohave the good convergency. I dont think have any problem to grid. The grid is structure and I checked: othogonal, skewness, aspect ratio which are good.
dinhanh is offline   Reply With Quote

Old   November 11, 2014, 10:28
Default
  #9
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
ghost82 will become famous soon enough
Quote:
Originally Posted by dinhanh View Post
And how about the residual? How to improve tohave the good convergency.
Cavitation problems are transient problems: simulating steady state solution in most cases is not the right choice. So first thing is to switch to transient solver (and you have already done it).
It seems you have no problems in residual behaviour: I think that lowering the time step and adding some more iterations per time step (like 40-50) should do the trick.
dinhanh likes this.
__________________
Google is your friend and the same for the search button!
ghost82 is offline   Reply With Quote

Old   November 11, 2014, 10:34
Default
  #10
Member
 
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12
dinhanh is on a distinguished road
Thank you for your comment, ghost82!
dinhanh is offline   Reply With Quote

Old   November 14, 2014, 04:43
Default
  #11
Member
 
Anh
Join Date: Sep 2014
Posts: 72
Rep Power: 12
dinhanh is on a distinguished road
Quote:
Originally Posted by ghost82 View Post
Cavitation problems are transient problems: simulating steady state solution in most cases is not the right choice. So first thing is to switch to transient solver (and you have already done it).
It seems you have no problems in residual behaviour: I think that lowering the time step and adding some more iterations per time step (like 40-50) should do the trick.
Hi, ghost82
I extended the domain and reduced the timestep and also increased interation per timestep. The message: "the reserved flow at XXX face on pressure outlet" gone. And I think I got better residual. I upload the picture about new timestep and residual as below.
How do you think about this?
Attached Images
File Type: jpg Untitled.jpg (52.3 KB, 36 views)
dinhanh is offline   Reply With Quote

Old   November 14, 2014, 05:02
Default
  #12
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
ghost82 will become famous soon enough
Hi, I think it's ok.
__________________
Google is your friend and the same for the search button!
ghost82 is offline   Reply With Quote

Old   April 27, 2015, 07:02
Default Conslultation
  #13
New Member
 
jiri kozak
Join Date: Jan 2013
Posts: 21
Rep Power: 13
Kozan is on a distinguished road
Hello,

Have you succeeded with your simulation? I'm solving cavitation in the nozzle with circular cross section, using 2D axisymmetric solver, RSM model of turbulence and Schneer-Sauer model of cavitation (Ansys Fluent 15). I did simulations of 5 operating points until now. The loss coefficient seems quite ok compared to the experimental data. But (there is always some but unfortunately), there is significant difference of the vortex ring separation frequency (the frequency is lower).

I was using quite long time step (2.5e-5 s), therefore I'm trying to simulate one operating point using 1e-5 s length of time step. It seems quite promising on the other hand the continuity residuals are still quite large (something about 3e-3 at the end of the time step with 40 iterations).

So is there some certain value of the continuity residual when you can assume that the result will be correct?

The second question is about the computational domain, mine one has the outlet part long as ten diameters of the pipe behind the diffuser. Is it enough? And how much can the length of the outlet part of the domain influence the dynamics of the vortex ring separation.

Thank you for any advice and have a nice day
Kozan is offline   Reply With Quote

Old   March 9, 2016, 03:30
Default about how to achieve a better convergence
  #14
New Member
 
李弘扬
Join Date: Jan 2012
Posts: 12
Rep Power: 14
lihongyang0 is on a distinguished road
I'm dealing with simulation the cavitation in a Lavel nozzle. I choose the transient, mixture, energy equation and k-e model. Every property of materials is varied with temperature. Each of relaxation factors is about 0.1. The boundary condition is mass flow inlet (13kg/s), pressure outlet (101kPa). The fluent has been calculating for a very long time (110000 steps). But the mass flow on the outlet is about 30~70kg/s. The continuity residual is very high. I have changed many groups of relaxation factors. Now I don't know what can I do to achieve the convergence.
lihongyang0 is offline   Reply With Quote

Old   March 9, 2016, 04:43
Default
  #15
New Member
 
jiri kozak
Join Date: Jan 2013
Posts: 21
Rep Power: 13
Kozan is on a distinguished road
Hi,
You can find my conference contribution using the following link, may be it will be usefull:
https://www.researchgate.net/publica...VERGING_NOZZLE
Kozan 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
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 8 July 1, 2022 07:54
a problem with convergence in buoyantSimpleFoam skuznet OpenFOAM Running, Solving & CFD 6 November 15, 2017 13:12
Simulation seems to converge but crashes suddenly xxxx OpenFOAM 16 September 12, 2014 09:07
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
Why RNGkepsilon model gives floating error shipman OpenFOAM Running, Solving & CFD 3 September 7, 2013 09:00


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