Step size for sliding mesh...
Hi,
I am running a 2d simulation of a centrifugal pump. The flow is unsteady and I am using a sliding mesh technique. Would be a good idea to use the MRF in Fluent to get an initial guess and then continue from there with the sliding mesh?? ALso, what would be considered an intelligent step size? Does anyone know of any article/paper dealing with this? I am currently using 15 degrees. Probably too large. I hope someone can help me, Jack. 
Re: Step size for sliding mesh...
Based on my experience, it can take a long time to reach timeperiod state if you run from start up (~5  50 complete revolutions  depending on the impeller Re). This number often can be reduced by a factor of 2  5 using MRF to get a reasonable initial guess.
An intelligent time step size depends on the details on the internal geometry for your problem. An additional computational criterion is that the number of subiterations per time step shouldn't exceed 3040 iterations. If you have the time, you may want to: 1. Run MRF to get an initial guess and then run sliding mesh with 15 degree step, plotting several variables (e.g. impeller torque, pressure at a point, etc) to monitor the time history and determine when the solution reaches a periodic state. 2. Repeat step 1 with a smaller time step, perhaps 7.5 degrees, to evaluate the effect of time step. Make sure you are using the secondorder temporal integration scheme. Good luck. 
Re: Step size for sliding mesh...
Do you mean that my number of iterations per time step should not exceed 4050?? Should I obey this for the sliding mesh case also? Is that not very low? I am currently using time step of up to 600. If I were to run my solution at 4050 iterations per time step would I eventually begin to reach convergence after perhaps 3040 revolutions using the MRF? Could I then use that at an initial guess for the sliding mesh scheme?. ( 0.001 is my scaled residual convergence criterion.).

Re: Step size for sliding mesh...
I haven't done any simulations of centrifugal pumps, but I have a lot of experience from axial turbines and compressors  in Fluent you should in that case use around 50 to 100 timesteps per bladepassing period. If you do this each timestep usually converges in something like 10 to 20 iterations. If you need 600 iterations you are surely running with a much too long timestep. 15 degs sounds huge to me!

Re: Step size for sliding mesh...
1. I mean a maximum of 4050 iterations per time step for a sliding mesh calculation (depending on the convergence criterion).
2. Why aren't your running the MRF simulation as steady state calculation? The rotor's frozen in an MRF calc. right, so you don't need to worry about time step here. 3. As Jonas mentions, generally only 1020 iterations should be necessary to convergence the solution at time step. I like to convergence the solution down to a tighter tolerance than 0.001  generally an order of magnitude lower (1.0e4). However, a convergence of 0.001 or even higher can be employed in the steady MRF calculation since it is only an initial guess. 
Re: Step size for sliding mesh...
Hy Jonas, some questions: 1. bladepassingperiod: is it 360°/number of blades ? 2. Do you take scaled residuals and 1e3 as convergence ? 3. Which timediscretization do you use ? 4. how much cells do you have at the interface ? is one timestep much more or less than the size of a cell there ?
Thanks a lot chris 
Re: Step size for sliding mesh...
Thanks for the help guys! So you reckon that I should have between 50 and 100 time steps per passing period and that each time step should have 2050 iterations? I take it, that it will take at least 2030 passes to converge the solution?? Can some answer this please...I am talking about the sliding mesh case.

Re: Step size for sliding mesh...
Sorry, in the MRF step I have the blade frozen. The problem is that I need to remesh the model because the sliding interface wil not work for MRF...Isn't that correct??? Could you also tell me of any books/papers/articles which deal with time step size, the number of iterations etc...thanks!

Re: Step size for sliding mesh...
Another question! How can I insure that my sliding mesh model completes say, 25 revolutions before convergence?? Do I need to simply reduce the convergence criterion to something very small like 1e06, so that the solution has reached a good level of convergence but has not yet fulfilled the criterion. Is there another way to do this?? Thanks again.

Re: Step size for sliding mesh...
Forget about the convergence level. Just do a postprocessing on the fly and watch the results (mass flux and pressure at the inlet and outlet and the impellertorque) and wait until they become periodic. Normally this requires at least 2 revolutions.
If you want to be able to compare these results with some measurements you might have to do a complete 3d calculation. 
Re: Step size for sliding mesh...
Quick answers:
1. yes 2. Something like that, 1E3 is minimum. I prefer to get 1E4  usually what I do is to run with a larger number in the beginning in order to obtain a periodic flow. Then when the flow starts to look periodic you can sharpen your convergence criteria to improve the accuracy. 3. 2:nd order 4. Varies a lot from case to case and what you are after. If you want to have wakes passing the interface with some accuracy I'd use 50 cells or something like this  this is really very much dependent on the case. With 100 timesteps per bladepassing this gives 0.5 cells per timestep. If you have this your iterations most often converge within 10 to 20 iterations. I'm talking about 3D simulations here. If I'd run 2D I'd use much more  simulation time isn't a problem then so why save gridpoints then. 
Re: Step size for sliding mesh...
I'd prefer to get convergence in 10 to 20 iterations in each timestep, sometimes more is necessary though. I don't know how many bladepasses you need in your application. In axial turbines you need at least 10, sometimes 20. You can easily monitor this by plotting the timehistory of variables like velocities in a few strategic points. Also remember to check that massflows etc. are consistant.

Re: Step size for sliding mesh...
Eh, I'm not sure I understand your question  convergence is just in each timestep. How many revolutions you get is not dependent on this  you control this by how many timesteps you run and how long they are. The convergencecriteria just determines how accurate each timestep is.

Re: Step size for sliding mesh...
Is your result timestep converged even at this timestep? I haven't done any pump/compressor simulations, but a lot of stirred tank simulations.
I once did a test with different grids, timesteps and MRF vs Sliding Mesh. I found out that I was not able to get timestep convergence. I stopped at 1/3 cell/timestep (I had about 40 cells/90 degrees, which was the symmetry for 4 bladed pitched blade turbine). I still saw quite a large jump at some integrated values (k, epsilon, kinetic energy etc) when I reduced the timestep. Infact small enough timestep seemed to be very far away. In this case I had to run about 100 revolutions (400 blade passages) to get convergence. Starting from a coarser timestep/MRF solution didn't help much. I found out I could get much better results with MRF, since denser grid helped more than time accuracy, but impellerblade interactions are much weaker in stirred tank vessel than rotorstator ones in compressors/pumps. MRF is atleast 10 times faster with the same grid. If you go to 1/2 cell or less/time step, make that 100. Joakim Joakim 
Re: Step size for sliding mesh...
Further reducing the timestep is a good check  if you use say 200 timesteps per bladepassage you should get the same flow as with 100. This is also the case most often, ie 100 is enough for one bladepassing period, at least that is my experience from axial turbines  I haven't seen a lot of problems with discontinuities at the sliding interfaces. I am always very carful with the grid on these interfaces though  I only use hexahedrals and I make sure that I have matching gridlines in the radial direction and try to have no overly coarse regions in the tangential direction.

Re: Step size for sliding mesh...
I was not talking about "discontinuities at the sliding interfaces". I meant that the results still changed after reducing the timestep. By integrated variables I meant the volume (or mass) integral of k, epsilon etc. over the whole domain. I use hexas as well and in this case a totally even distribution in tangential direction, which seems to be the best approach for stirred tanks. I'm using wall functions.
It's nice to hear there really is a small enough timestep for sliding mesh. Joakim 
Re: Step size for sliding mesh...
Do you reckon that if the solution is not periodic after 34 revolutions that I require more revolutions or should I refint the grid? The people at fluent said that I might need 20 revolutions......is this possible?? I feel that the number of iterations per time step need to be quiet large...Is it best to keep it small...( 4060)?? My solution does not seem to be converging for these small iteration numbers. The solution levels out and oscillates between e01 and e02. What should I do? Simply continue to run for more revolutions, increase the number of iterations per time step, reduc the time step or refine the grid??

Re: Step size for sliding mesh...
I know convergence is in each time step. What I mean is that I want to ensure that each residual goes below ,say, e03 at each time step and for the solution to save the result and go on to the next time step. At the moment if I set the model running for say 36 time steps and I set it up to save the results at each step it will do this provided the solution does not reach convergence at any given time step. If it does, then the model stops and forgets about continuing with the further time steps. Maybe I am mistaken, but I don't think so. This seems to a problem with the sliding mesh situation.

Re: Step size for sliding mesh...
I've never had this problem. When the iterations for one timestep converge (the residual goes below the limit that you've set) then the solver just goes on to the next timestep.

Re: Step size for sliding mesh...
Which solver are you using? Which pressurescheme? How fine is your grid? Have you tried to adjust solver parameters etc.? Can you locate the problematic region where you have high residuals? Getting these things to run well often takes a lot of tweaking. It is difficult to give any general advice.

All times are GMT 4. The time now is 18:45. 