Changes between Version 19 and Version 20 of PhysicsDataExplained
- Timestamp:
- 06/10/11 16:57:03 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PhysicsDataExplained
v19 v20 25 25 * '''''{{{InterpOpts:}}}''''' A multi-integer array that sets the interpolation options for cell-centered variables. The size of this array is equal to the number of physical variables ({{{NrPhysicalVars}}}). The interpolation options are actually [http://en.wikipedia.org/wiki/Flux_limiter flux limiters] that prevent spurious numerical oscillations. The options are as follows: 26 26 * {{{0 -- Constant:}}} A constant limiter function. 27 * {{{1 -- Min-Mod:}}} Uses the minimum absolute value of the fluxes. 28 * {{{2 -- Superbee:}}} 29 * {{{3 -- VanLeer:}}} 30 * {{{4 -- MC:}}} 27 * {{{1 -- Min-Mod:}}} Uses the minimum absolute value of the fluxes. This is the most diffusive of our flux limiters. 28 * {{{2 -- Superbee:}}} The [http://en.wikipedia.org/wiki/Flux_limiter Superbee] flux limiter. This option is less diffusive than the other options, and is best for high-resolution problems with no strong shocks. 29 * {{{3 -- VanLeer:}}} Uses the Van Leer limiter from the original [http://en.wikipedia.org/wiki/MUSCL_scheme MUSCL] scheme. 30 * {{{4 -- MC:}}} A monotone-centered flux limiter. 31 31 32 For most variables, min-mod ({{{1}}}) is a good default option; however, variables with {{{aux}}} counterparts such as Bx, By, and Bz are exceptions to this rule. These variables should always use a constant limiter (option {{{0}}}).32 These limiters are defined in the {{{data/slopelim.f90}}} file. For most variables, min-mod (option {{{1}}}) is a good default choice; however, variables with {{{aux}}} counterparts such as Bx, By, and Bz are exceptions to this rule. These variables should always use a constant limiter (option {{{0}}}). 33 33 34 * '''''{{{lSelfGravity:}}}''''' A boolean flag that turns self-gravity on or off. If your problem needs self-gravity, then this should be set to {{{.true.}}} and the [http://clover.pas.rochester.edu/trac/astrobear/wiki/GlobalDataExplained#PoissonData PoissonData] namelist needs to be properly assembled in {{{global.data}}}. If your problem does not use self-gravity, then leave {{{lSelfGravity}}} set to {{{.false.}}} 34 35 [[BR]] 35 36