11.07.2015 Views

Removing the Stiffness from Interfacial Flows with Surface Tension

Removing the Stiffness from Interfacial Flows with Surface Tension

Removing the Stiffness from Interfacial Flows with Surface Tension

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

334 HOU, LOWENGRUB, AND SHELLEYle',io L,~8• -r64 ,-.',;iI-1024-.-512--256t-J . . . . . . . . . . . . . . . . . . . _.,ItI2 012 0'.4 0'.6 018 ; 1;~ 1.4TFIG. 15. Error in x-coordinate; S=0.005, At= 1.25 x 10 -4, exactsolution approximated by N = 2048.The role of Fourier filtering (H in Eq. (86)) is nowdiscussed. As <strong>the</strong> higher Fourier modes rise above <strong>the</strong>round-off level (due to nonlinear interaction), an aliasinginstability appears. This instability can be controlled byei<strong>the</strong>r increasing <strong>the</strong> resolution or by using some kind offiltering. Both have been tried, and we conclude that it ismore practical to use a high order Fourier filtering thatsmooths <strong>the</strong> highest modes. By this, it is possible to achieve<strong>the</strong> same level of accuracy, at late times, using many fewerpoints than would be required <strong>with</strong>out it. This is seen mostdirectly by comparing <strong>the</strong>ir energies.Figure 16 compares <strong>the</strong> energies of calculations both <strong>with</strong>and <strong>with</strong>out filtering on <strong>the</strong> time interval 0.4 to 0.6. Recall-'xthat <strong>the</strong> filtering combines <strong>the</strong> Fourier and Krasny filters.The effect of Krasny filtering is discussed below. This is avery good test, as <strong>the</strong> spectrum is broadly populated due to<strong>the</strong> effect of <strong>the</strong> S= 0 singularity. The time step is At =1.25 x 10-4 for all <strong>the</strong> calculations. The filtered calculationsshow a generally slower loss of accuracy and are moreaccurate than <strong>the</strong>ir unfiltered counterparts by t = 0.46. Infact, at t = 0.46, <strong>the</strong> N= 256 filtered calculation is moreaccurate than <strong>the</strong> unfiltered N= 1024 computation! Theunfiltered computations both break down before t = 0.6.The aliasing instability can be observed directly in spectralplots of <strong>the</strong> numerical solution. In Figs. 17a, b areshown <strong>the</strong> y-spectra of <strong>the</strong> filtered and unfiltered computations,respectively. In Fig. 17b, <strong>the</strong> aliasing instability isclearly seen through <strong>the</strong> artificial rise in <strong>the</strong> high wavenumberspectrum at t = 0.46. The unfiltered calculation cannotbe continued long after this time, as this rise causes <strong>the</strong> codeto blow up. The filtered computation, on <strong>the</strong> o<strong>the</strong>r hand,does not exhibit such a rise. Moreover, it is really only <strong>the</strong>last few modes that are damped by <strong>the</strong> filtering (modes450-512). Since Krasny filtering is also employed in <strong>the</strong>filtering method, <strong>the</strong> modes at <strong>the</strong> roundoff level 10 -]6 in<strong>the</strong> unsmoo<strong>the</strong>d calculation are set to zero in <strong>the</strong> smoo<strong>the</strong>done. They are seen at <strong>the</strong> 10 -19 level in <strong>the</strong> plot (this kept<strong>the</strong> logarithm function in <strong>the</strong> graphics package <strong>from</strong>diverging). Moreover, it is clear <strong>from</strong> <strong>the</strong> behavior of <strong>the</strong>spectrum of <strong>the</strong> unfiltered computation that roundoff errorsgrow ra<strong>the</strong>r slowly and, <strong>the</strong>refore, <strong>the</strong> main effect of Krasnyfiltering is to keep <strong>the</strong> spectrum clean and is not necessaryfor stability.The spectrum also indicates a very interesting behavior.At <strong>the</strong> early times 0 ~< t ~< 0.46, energy is rapidly moved to<strong>the</strong> high wavenumbers due to <strong>the</strong> near Kelvin-Helrnholtz108:~ 64Number of Aecttrate Digits in Energy, (a)256-- unfiltered20.4 0.42 0,44 0.46 0.48 0.5 0.52T(b)108:g 64"" 10245121024256-- unfiltered- filtered0.54 0.56 0.5820.4 0.42 0.44 0.46 0.48 0.5 0.52 0.54 0.56 0.58TFIG. 16. Accuracy in energy: filtered vs unfiltered, S= 0.005, At =1.25x 10-4: (a) filtered vs unfiltered, N=256, 512, 1024; (b) filtered(N= 512) vs unfiltered (N= 1024).0Filtered C-N, (a)loga01#(k)l- I C 1 ~ - -t=0,42 ~ t=0.46"2G0 100 200 300 400 500 600kUnfiltered C-N, (b)0log10lP(k)l- 1 0 ~ ~---------~ t=0.46 tlogloJ~'(k)l-20 0 100 200 300 400 500 600kFiltered C-N, Later Times, (c)p=1.20 r-20 0 100 200 300 400 500 600kFIG. 17. Log plot of power spectra (log [~(k)l ) at different times,S = 0.005, At = 1.25 x 10 -4, N= 1024: (a) filtered Crank-Nicholson, shorttime; (b) unfiltered C-N, short time; (c) filtered C-N, long time.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!