vancesteven / PlanetProfile

Construct 1D interior structure models based on planetary properties. Self-consistent thermodynamics are used for fluid, rock, and mineral phases. Sound speeds, attenuation, and electrical conductivities are computed as outputs.
https://vancesteven.github.io/PlanetProfile/
Other
18 stars 13 forks source link

NH3 solutions do not compile #7

Closed itsmoosh closed 6 years ago

itsmoosh commented 6 years ago

https://github.com/vancesteven/PlanetProfile/blob/23e40a23e66aaaa2f5ec2fdfea2a2033b26239fe/PlanetProfile.m#L223

Several quantities involved in this calculation show as Inf or NaN when called from Titan with NH3 solution. The erroneous quantities mirror the same issue that is currently preventing extrapolation above 120 MPa for seawater.

itsmoosh commented 6 years ago

See the related issue #9