Skip to content

Commit 9b2f65f

Browse files
committed
Merged in drreynolds/enzo-dev_reynolds (pull request enzo-project#216)
Adding updates from other repositories to unigrid FLD solver, gFLDSplit --HG-- branch : week-of-code
2 parents 5627583 + 1e4da1c commit 9b2f65f

File tree

478 files changed

+8871
-16170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

478 files changed

+8871
-16170
lines changed

doc/manual/source/parameters/radiation.rst

Lines changed: 55 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -376,25 +376,35 @@ Radiative Transfer (FLD) Split Solver Parameters
376376

377377
::
378378
379-
-1 - monochromatic spectrum at frequency h nu_{HI}= 13.6 eV
380-
0 - power law spectrum, (nu / nu_{HI})^(-1.5)
381379
1 - T=1e5 blackbody spectrum
380+
0 - power law spectrum, ( nu / nu_{HI})^(-1.5)`
381+
-1 - monochromatic spectrum at frequency h nu_{HI}= 13.6 eV
382+
-2 - monochromatic spectrum at frequency h nu_{HeI}= 24.6 eV
383+
-3 - monochromatic spectrum at frequency h nu_{HeII}= 54.4 eV
382384

383385
``RadHydroChemistry`` (external)
384-
Use of hydrogen chemistry in ionization model, set to 1 to turn on
385-
the hydrogen chemistry, 0 otherwise. Default: 1.
386+
Use of primordial chemistry in computing opacities and
387+
photo-heating/photo-ionization. Default: 1.
388+
389+
::
390+
391+
0 no chemistry
392+
1 hydrogen chemistry
393+
3 hydrogen and helium chemistry
394+
386395
``RadHydroHFraction`` (external)
387396
Fraction of baryonic matter comprised of hydrogen. Default: 1.0.
388397
``RadHydroModel`` (external)
389398
Determines which set of equations to use within the solver.
390399
Default: 1.
391400

392401
::
402+
393403
1 - chemistry-dependent model, with case-B hydrogen II recombination
394404
coefficient.
395405
4 - chemistry-dependent model, with case-A hydrogen II recombination
396406
coefficient, but assumes an isothermal gas energy.
397-
10 - no chemistry, instead uses a model of local thermodynamic
407+
10 - no chemistry, instead uses a model of local thermodynamic
398408
equilibrium to couple radiation to gas energy.
399409

400410

@@ -407,24 +417,43 @@ Radiative Transfer (FLD) Split Solver Parameters
407417
``RadHydroInitDt`` (external)
408418
initial time step to use in the FLD solver. Default: 1e20 (uses
409419
hydro time step).
420+
``RadHydroMaxSubcycles`` (external)
421+
desired number of FLD time steps per hydrodynamics time step (must
422+
be greater than or equal to 1). This is only recommended if the
423+
FLD solver is performing chemistry and heating internally, since
424+
it will only synchronize with the ionization state at each
425+
hydrodynamic time step. When using Enzo's chemistry and cooling
426+
solvers this parameter should be set to 1 to avoid overly
427+
decoupling radiation and chemistry. Default: 1.0.
428+
``RadHydroMaxChemSubcycles`` (external)
429+
desired number of chemistry time steps per FLD time step. This
430+
only applies if the FLD solver is performing chemistry and heating
431+
internally, instead of using Enzo's built-in routines for this
432+
task. Default: 1.0.
410433
``RadHydroDtNorm`` (external)
411434
type of p-norm to use in estimating time-accuracy for predicting
412435
next time step. Default: 2.0.
413436

414437
::
438+
415439
0 - use the max-norm.
416440
>0 - use the specified p-norm.
417441
<0 - illegal.
418442

443+
``RadHydroDtGrowth`` (external)
444+
Maximum growth factor in the FLD time step between successive
445+
iterations. Default: 1.1 (10% growth).
419446
``RadHydroDtRadFac`` (external)
420447
Desired time accuracy tolerance for the radiation field. Default:
421448
1e20 (unused).
422449
``RadHydroDtGasFac`` (external)
423-
Desired time accuracy tolerance for the gas energy field. Default:
450+
Desired time accuracy tolerance for the gas energy field. Only
451+
used if the FLD solver is performing heating internally. Default:
424452
1e20 (unused).
425453
``RadHydroDtChemFac`` (external)
426-
Desired time accuracy tolerance for the hydrogen I number density.
427-
Default: 1e20 (unused).
454+
Desired time accuracy tolerance for the hydrogen I number
455+
density. Only used if the FLD solver is performing chemistry
456+
internally. Default: 1e20 (unused).
428457
``RadiationScaling`` (external)
429458
Scaling factor for the radiation field, in case standard
430459
non-dimensionalization fails. Default: 1.0.
@@ -434,6 +463,11 @@ Radiative Transfer (FLD) Split Solver Parameters
434463
``ChemistryScaling`` (external)
435464
Scaling factor for the hydrogen I number density, in case standard
436465
non-dimensionalization fails. Default: 1.0.
466+
``AutomaticScaling`` (external)
467+
Enables an heuristic approach in the FLD solver to update the
468+
above scaling factors internally. Works well for reioniztaion
469+
calculations, but is not recommended for problems in which the
470+
optimal unit scaling factor is known a-priori. Default: 1.0.
437471
``RadiationBoundaryX0Faces`` (external)
438472
Boundary condition types to use on the x0 faces of the radiation
439473
field. Default: [0 0].
@@ -453,6 +487,15 @@ Radiative Transfer (FLD) Split Solver Parameters
453487
``RadHydroTheta`` (external)
454488
Time-discretization parameter to use, 0 gives explicit Euler, 1
455489
gives implicit Euler, 0.5 gives trapezoidal. Default: 1.0.
490+
``RadHydroKrylovMethod`` (external)
491+
Desired outer linear solver algorithm to use. Default: 1.
492+
493+
::
494+
495+
0 - Preconditioned Conjugate Gradient (PCG)
496+
1 - Stabilized Bi-Conjugate Gradient (BiCGStab)
497+
2 - Generalized Minimum Residual (GMRES)
498+
456499
``RadHydroSolTolerance`` (external)
457500
Desired accuracy for solution to satisfy linear residual (measured
458501
in the 2-norm). Default: 1e-8.
@@ -464,10 +507,10 @@ Radiative Transfer (FLD) Split Solver Parameters
464507

465508
::
466509

467-
Jacobi.
468-
Weighted Jacobi.
469-
Red/Black Gauss-Seidel (symmetric).
470-
Red/Black Gauss-Seidel (non-symmetric).
510+
0 - Jacobi
511+
1 - Weighted Jacobi
512+
2 - Red/Black Gauss-Seidel (symmetric)
513+
3 - Red/Black Gauss-Seidel (non-symmetric)
471514

472515
``RadHydroMGPreRelax`` (external)
473516
Number of pre-relaxation sweeps used by the multigrid solver.

0 commit comments

Comments
 (0)