Skip to content

Varying atm option fixes rho at 1d-10 #1014

Description

@Debraheem

I wouldn't call this a bug, but at the Massive star Hackathon @rhdtownsend identified that we are using a fixed density floor for the outer_BC in the atmosphere integration routine when atm_T_tau_opacity = 'varying':

real(dp), parameter :: RHO_OUTER = 1.E-10_dp

It's not clear why this value was chosen, but reducing it to a lower density might be warranted, and even necessary for some models where the surface extends beyond 1d-10 g/cm^2 in density. It remains to be seen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    atmatmosphere

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions