Changes between Version 11 and Version 12 of AccretionDiskTutorial


Ignore:
Timestamp:
08/26/12 13:50:34 (12 years ago)
Author:
idilernia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • AccretionDiskTutorial

    v11 v12  
    7373
    7474=== Softening ===
     75
     76Softening is a numerical trick commonly used in simulations to prevent divergences when a value comes close to another and the force of gravity goes to infinity.[[BR]]
     77In our case, as the radius of the disk gets smaller, the force of gravity is approximated to a well defined value.[[BR]]
     78
     79Problem.data provides a field in which the user can set the preferred softening parameter:
     80
     81{{{
     82soft_radius=.333d0 !diks radii
     83soft_function=2  !NOSOFT=0, SPLINESOFT=1, PLUMMERSOFT=2
     84}}}
     85
     86The plot below shows 3 different scenarios:
     87
     88[[Image(fgrav.png, 800px)]]
     89
     90- No Softening:  the force of gravity goes to infinity as the radius decreases
     91- Softening enabled: the force of gravity has a well defined value at r=0
     92- Increased softening radius: the force of gravity has a lower value at r=0 compared to the previous case
     93
     94Astrobear provides different softening techniques such as SplineSoft and PlummerSoft, the user can set the softening function depending on the simulation needs.
     95
     96'''Warning: ''' It is good practice to keep the soft_radius between .1 and .3. Failure to do so may result in undesired outcomes.
     97
     98
    7599=== Fixed grid to AMR ===
    76100=== Mach Number ===