next up previous contents index
Next: 4.4.6 Hydrodynamics (tensor viscosity) Up: 4.4 Compiler macros Previous: 4.4.4 Opacity   Contents   Index

Subsections

4.4.5 Hydrodynamics (Roe solver)


4.4.5.1 rhd_hyd_gravcorr_p01

(``rhd hydrodynamics gravitation correction parameter 01'') in rhd_hyd_module.F90.
Category: selection of approximation.
This parameter controls the way the Roe solver handles the source terms due to gravity. A different choice results in different simulation results and not just in slightly faster (or slower) code. The problem is that the original Roe solver interpretes the pressure gradient in a hydrostatic stratification a fluctuation due to shock waves. In case of strong stratification this can lead to weird effects. With activated correction the Roe solver treats only the deviations from a hydrostatic stratification as due to waves (or shocks). Several correction formulas have been tried. The latest is the recommended default. Values:


4.4.5.2 rhd_hyd_entropyfix_p01

(``rhd hydrodynamics entropy fix parameter 01'') in rhd_hyd_module.F90.
Category: performance enhancement.
The entropy fix can be done in one of two ways to get optimum performance (with essentially the same results). Values:


4.4.5.3 rhd_hyd_upwind_p01

(``rhd hydrodynamics upwind parameter 01'') in rhd_hyd_module.F90.
Category: performance enhancement.
The determination of the upwind direction can be done in one of two ways to get optimum performance (with essentially the same results). Values:


4.4.5.4 rhd_roe1d_flux_l01

(``rhd roe 1 dimension flux loop 01'') in rhd_hyd_module.F90.
Category: performance enhancement.
This switch allows to choose between various ways of computing the upwind-centered Roe states. Values:


4.4.5.5 rhd_bound_t01

(``rhd bound timing 01'') in rhd_hyd_module.F90.
Category: additional output.
Produce timing information for ``inner boundary'' routine (central potential) or lower and upper boundary routines (constant gravitation). It can be used together with OpenMP. Values:


4.4.5.6 rhd_roe1d_flux_t01

(``rhd roe 1 dimension flux timing 01'') in rhd_hyd_module.F90.
Category: additional output.
Produce timing information for the routine which computes the Roe fluxes. It should not be used in conjunction with OpenMP. Values:


4.4.5.7 rhd_roe1d_step_t01

(``rhd roe 1 dimension step timing 01'') in rhd_hyd_module.F90.
Category: additional output.
Produce timing information for the routine which performs the Roe step. It should not be used in conjunction with OpenMP. Values:
next up previous contents index
Next: 4.4.6 Hydrodynamics (tensor viscosity) Up: 4.4 Compiler macros Previous: 4.4.4 Opacity   Contents   Index