Closed cloudy-bot closed 5 years ago
input script
modified dense_fabden()
@peter-van-hoof-noaccount changed description from:
With the attached input script the stochastic heating code produces lots of messages like this:
PROBLEM qheat did not converge grain pah-ab0803 in zone 588, error code = 14
This is because the model is spherical and goes very deep, which causes the radiation field to become very diluted making heating events of the grains very rare. This then allows a sizable fraction of the grains to cool below GRAIN_TMIN, which in turn causes the error messages.
The solution is to relax the error checks when qtmin is very close to GRAIN_TMIN since we don't really care about these extremely cool grains. They contribute very little to the flux and only at very long radio wavelengths (longwards of 1 meter) where the radiation will likely be drowned by free-free emission from the electrons further in.
In order to reproduce the problem a modified version of dense_fabden() is needed, which is also attached.
to:
With the attached input script the stochastic heating code produces lots of messages like this:
PROBLEM qheat did not converge grain pah-ab0803 in zone 588, error code = 14
This is because the model is spherical and goes very deep, which causes the radiation field to become very diluted making heating events of the grains very rare. This then allows a sizable fraction of the grains to cool below GRAIN_TMIN, which in turn causes the error messages.
The solution is to relax the error checks when qtmin is very close to GRAIN_TMIN since we don't really care about these extremely cool grains. They contribute very little to the flux and only at very long radio wavelengths (longwards of 1 meter) where the radiation will likely be drowned by free-free emission from the electrons further in.
In order to reproduce the problem a modified version of dense_fabden() is needed, which is also attached.
Problem reported by Patrizia Manzitto
Fixed in r2695 on the trunk.
Fixed in r2696 on c08_branch.
reported by: peter
With the attached input script the stochastic heating code produces lots of messages like this:
This is because the model is spherical and goes very deep, which causes the radiation field to become very diluted making heating events of the grains very rare. This then allows a sizable fraction of the grains to cool below GRAIN_TMIN, which in turn causes the error messages.
The solution is to relax the error checks when qtmin is very close to GRAIN_TMIN since we don't really care about these extremely cool grains. They contribute very little to the flux and only at very long radio wavelengths (longwards of 1 meter) where the radiation will likely be drowned by free-free emission from the electrons further in.
In order to reproduce the problem a modified version of dense_fabden() is needed, which is also attached.
Problem reported by Patrizia Manzitto
Migrated from https://www.nublado.org/ticket/82