![]() |
Research School of Astronomy and Astrophysics
Fyris Alpha Simulation Code
|
![]() |
3D Constant Energy Bubble TestThis test models a constant energy wind bubble. The energy is injected as a spherically diverging supersonic wind, carrying most of the energy flux in the form of kinetic energy. There is a similarity solution for the radius as a power-law function of time. The bubble structure consists (from the centre outwards) of a free, supersonic, wind, terminated by a wind shock. Outside the wind shock is a high pressure region of shocked wind material, bounded by a contact discontinutity, r_c. Outside r_c, there is a dense layer of shocked ambient medium bounded by the outer shock, r_s.Performing this model on a 3D Cartesian grid poses a series of challenges. The wind injection region is small compared to the overall gid domain, and in order to well sample the spherical flow to get a smooth wind and an accurate injection rate, quite high resolution is needed. In three dimensions, uniformly high resolution can be prohibitive, both in computation time and in memory requirements. Here the overall grid is defined with a resolution of 144x144x144 cells, and in order to get an accurate result, some form of refined mesh is needed. Currently Fyris Alpha supports predefined fixed refined embedded meshes, however it is hoped that this test can serve for fully adaptive approaches as well, either for other codes, and Fyris in future upgrades. The radius of the bubble is expected to vary as r_s = k t^(3/5), when it achieves self-similarity. In order to start with a non-singular intial state, the wind injection region has a finite radius. This means that the bubble must evolve for sufficient time for r_s >> r_initial, so that the bubble can tend towards the self-similar powerlaw. This means the initial radius must be much smaller than the final bubble radius, which becomes difficult on a low resolution grid such as being used here. In some cases deviations from perfect spherical symmetry occurs, mostly due to poor sampling of the inflow region, giving an uneven wind. To measure the effective radius of the bubbles in a robust way, we take the effective radius to be the cube root of the number of cells with speed greater than epsilon, times the cell width, dx.
where epsilon is chosen to be 1.0e-6. The ambient medium has an initial velocity of 0.0 everywhere, so this method accounts for all cells that have been overrun by the bubble and the wind. Initial ConditionsAlgorithm Settings
Grid:
Ambient medium:
Wind Boundary condition
The region defined by r < r_wind is updated each cycle with the wind conditions. Note the origin can have a severe rarefaction problem at the origin, which does not evolve as the wind is refreshed each cycle, but the code needs to be able to cope with a single wind step. This results in the boundary of the wind region advecting wind material onto the grid each cycle. The boundary of the wind is not smoothed (and cannot be), however, the initial region in the ambient medium with r = 0.02 is partially evacuated to 0.001 of the orginal density and the edges of the resulting hole is smoothed with a gaussian FWHM = 1.0 cells, so that when the wind boudary region is imposed the flow in intially into a smoohed ambient medium surface. Ending Condition
ResultsHere 3 tests were run, a) single level uniform grid, b) a 2 level grid with a factor of 3 refinement over the central third of the grid domain, and c) a 3 level grid with factors of 3 refinement between each level, each successive level covering the central third of their super-levels. The effective resolution of model c is 1296^3 if it were computed as a single unform mesh. A 1296^3 cell grid would be slower by an estimated factor of approximately 504, than the three level 144^3 model. All were run on an 8cpu Sun v40z Opteron system with MPI. Powerlaw Slope, r_eff vs time, over interval 1.0 <= t <= 1.6, r_eff propto t^BetaThe expected powerlaw is Beta = 0.6. Globally all the models tend to the correct slope, even the less than spherical 1 level model, indicating that energy conservation is working. There are significant differences in the final radii, suggesting that the spherical interface at the inner wind boundary is not quantitatively well resolving the surface area of an actual spherical surface, giving different actual luminosities for the models.
Final Efective Radii, r_eff, at t = 1.60
1 LevelQuickTime Movies
2 LevelsQuickTime Movies
3 LevelsQuickTime Movies
|
![]() |
Page last updated: Wednesday, 03-Mar-2010 17:21:19 AEDT Please direct all enquiries to: Ralph.Sutherland@anu.edu.au Page authorised by: Ralph Sutherland |
The Australian National University CRICOS Provider Number 00120C — ABN: 522 34063906 |