Changes between Version 10 and Version 11 of HydroStaticStar


Ignore:
Timestamp:
10/17/12 14:15:46 (12 years ago)
Author:
idilernia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • HydroStaticStar

    v10 v11  
    6262this simpler form can be applied to our profile array, you can check the [wiki:Profiles Profiles] page to see how this is done. After we created this abstraction of a column of gas in hydrostatic equilibrium, we can use interpolation to port this 1D object to a 2D or 3D model.
    6363
    64 == 2D vs 3D ==
     64== 2D,3D and Softening ==
    6565
    66 [[Image(2Dvs3D.png, 1000px)]]
     66Due to steep changes in density and gravitational potential close to the center of mass of a star, the point gravity in this model, some softening of these two parameters is needed.[[BR]]
     67With !PlummerSoftening being used to soften the gravitational potential and force in this module, a difference in the pressure and temperature profile arise between 2D and 3D models.[[BR]]
     68You can see how the gravity force varies between 2D and 3D:[[BR]]
     692D:
     70{{{
     71GravityForce=-PlummerSoftening2D*mass*ScaleGrav
     72PlummerSoftening2D=2d0*pos/(sum(pos(1:nDim)**2)+r_soft**2)
     73}}}
     743D:
     75{{{
     76GravityForce=-PlummerSoftening*mass*ScaleGrav
     77PlummerSoftening=pos/((sum(pos**2)+r_soft**2)**(1.5d0))
     78}}}
     79[[BR]]
     80Clearly, the 3D model shows a steeper gradient in pressure.[[BR]]
     81The plot below indicates how the pressure gradient changes between 2D and 3D models and how it has important repercussions on the temperature profile as well.[[BR]]
     82[[Image(2Dvs3D.png, 400px)]]
    6783
    6884== Refence model comparison and results ==
    6985
    70 [[Image(wiki:HydroStaticStar:plotshse2.png, 800px)]]
     86We divided the checking of our model accuracy into two stages:
     871) comparing module profiles with reference models in the literature
     882) running the model
    7189
    72 [[Image(3Dhse.gif, 800px)]]
     90For the first testing stage, the density profile of an AGB star (can be found [http://www.public.iastate.edu/~sdk/models/ here]) was loaded into the module, after calculating pressure and temperature profiles needed for an HSE condition, the generated profiles were compared with the reference model.[[BR]]
     91The following plot below compares the two models:
     92
     93[[Image(wiki:HydroStaticStar:plotshse2.png, 400px)]]
     94
     95In the second testing stage, the model was run to check for changes in velocity.[[BR]]
     96Clearly, the outcome that can be expected from an equilibrium condition is the absence of change in velocity. In the case of an equilibrium at rest, we would expect our model not to change over time.[[BR]]
     97Below is the density, pressure, temperature and mach profiles for our model.[[BR]]
     98[[Image(3Dhse.gif, 400px)]]