Download CO5BOLD User Manual

Transcript
7.1. PARAMETER FILE: RHD.PAR
7.1.11.17
137
integer n viscellsperchunk
The number of cells per box (or “chunk”) treated by the tensor-viscosity scheme at one call (and by one
thread) can be set e.g. for an Intel Macintosh with
integer n_viscellsperchunk f=I9 b=4 &
n=’Number of cells per viscosity chunk’ &
c0=’0 => old chopping’ &
c1=’50000: reasonable value’
100000
It can be adjusted to improve cache efficiency and to modify the work load distribution onto the
threads (in case of parallel runs with OpenMP). Due to the special handling of boundary cells the
overhead per call increases significantly for small chunks. Typically, larger chunk sizes (compared the
the hydrodynamics chunk sizes set with integer n_hydcellsperchunk, see Sect. 7.1.8.9) are adequate.
On the other hand they should not be too large to limit the usage of temporary memory and to allow
parallelization (the distribution of chunks to threads): For simulations with activated OpenMP on a
parallel machine the chunk size has to be made small enough to allow at least as many chunks as
processors available. This is particularly important for models with a small number of grid points (e.g.
2D models). An example is given for the Hitachi SR8000 in Sect. 4.6.5.
7.1.12
Dust/molecules/hydrogen ionization: General
CO5BOLD can handle a number of additional density arrays. They can be used to describe e.g. the
mass density of dust distribution moments or number densities of molecules. These species are properly
advected with the gas density. There is also already a small number of dust/molecule formation models
available. These models have to be improved in the future and the influence on the radiation field
(opacities, radiation pressure on dust) has to be taken into account.
7.1.12.1
character dustscheme
A scheme for dust or molecule formation and transport can be selected e.g. with
character dustscheme f=A80 b=80 n=’Dust model’ &
c0=’none (default), nosource, dust_simple_01, co_component01_01’ &
c1=’dust_k3mon_01, dust_k3mon_02’
dust_k3mon_01
The following values are currently possible:
• none, None: No handling of any dust/molecule density at all.
• nosource: Skip source term step for dust/molecules entirely, but do the transport.
• dust_simple_01: Simple and unrealistic ’dust’ formation model (only for testing of the numerics).
• co_component01_01: Simple CO formation (from Matthias Steffen) with one component only but
realistic time scales.
• dust_k3mon_01: Simple C-rich dust formation (routines from Susanne Höfner) with one component
only but realistic time scales.
• dust_k3mon_02: Simple C-rich dust formation (routines from Susanne Höfner) with two components for dust density and free carbon density.
• dust_k3mon_03: Simple forsterite dust formation (based on routines from Susanne Höfner) with
two components for dust density and free ”forsterite monomer” density.
• dust_bins_01: Multi-size-bin forsterite dust formation (based on Rossow’s equations, see Rossow,
1978) with one bin for the monomers and several bins for the different grain sizes.
• dust_moment04_c2: C-rich dust chemistry, 4 moments (routines from Susanne Höfner).