Closed cloudy-bot closed 4 years ago
input script Attachment: jacopo.in
modified mesh definition Attachment: continuum_mesh.ini
Milestone renamed
Milestone renamed
@CloudyLex changed milestone from "C17.01" to "C17.02"
Milestone renamed
@peter-van-hoof-noaccount commented:
The code complains about the photoionization opacity being zero near the threshold. These are evaluated by Dima's ADfA routine phfit(). The ADfA data internally use eV as the energy unit. When the threshold is being extracted from the table using the routine ph1(), the values are converted from eV to Ryd by multiplying with a factor 0.9998787/EVRYD. The source of the numerical constant is unclear. When supplying a photon energy to phfit() however, the constant 0.9998787 is missing and we use only rfield.anu(ip)*EVRYD. This is inconsistent, leading to zero opacities near threshold.
@peter-van-hoof-noaccount commented:
The constant 0.9998787 seems inappropriate and has been removed on the trunk in r12609.
The changed wavelengths for the RRC "lines" were fixed in the test suite on the trunk in r12610.
The changes were merged to c17_branch in r12611.
@peter-van-hoof-noaccount commented:
The fix on c17_branch was partially reversed in r12613. In that commit the code was modified to generate the same wavelengths as in c17.01 for RRC entries on the line stack. This does not hamper the bug fix, and avoids breaking existing scripts. The changes to the test suite scripts were also reverted as they are no longer needed.
reported by: peter
The attached case is a simplified script sent by Jacopo Fritz. It needs to be combined with a modified version of continuum_mesh.ini (also attached). When run with the current head of the trunk, it fails very quickly in !SanityCheck due to an opacity being zero. Jacopo Fritz noted the same problem in c17.00, so it very likely also exists on c17_branch.
Migrated from https://www.nublado.org/ticket/407