[Mesa-users] Bug in diffusion?
Aaron Dotter
aaron.dotter at gmail.com
Wed Oct 25 18:53:48 EDT 2017
Hi Michael,
I've encountered this issue, too.
The use full net option will not generally work with OP monochromatic
opacities. I presume you're using this to do radiative accelerations?
The OP data is only available for certain elements so you'll need to define
your own diffusion classes and map the elements in approx21 into the
elements available in OP "by hand".
Aaron
On Wed, Oct 25, 2017 at 6:48 PM Zhang, Zhaoxi M. (Michael) <
mz at astro.caltech.edu> wrote:
> Hello all,
>
>
> When I try to enable diffusion_use_full_net = .true. for approx21.net, I
> get this error:
>
>
> OP - NUMBER OF ELEMENTS OUT OF RANGE: 21
> STOP set1_g_rad
> OP - NUMBER OF ELEMENTS OUT OF RANGE: 21
> STOP set1_g_rad
>
> I've traced this error to the fact that op_def.f90 defines ipe=17, which
> appears to be used as the maximum number of elements (i.e. in
> op_eval.f:106). Is this a bug, or am I totally on the wrong track?
>
>
> Thanks,
>
>
> Michael
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20171025/1ba2f789/attachment.html>
More information about the Mesa-users
mailing list