ISAData.jl

A Julia package to calculate International Standard Atmosphere data
Author HTofi
Popularity
1 Star
Updated Last
2 Years Ago
Started In
May 2020

ISAData

Build Status codecov.io

ISAData is a Julia package that can be used to calculate thermodynamic properties of air (density, pressure, temperature, and viscosity) at a certain altitude in the atmosphere using the International Standard Atmosphere (ISA) model.

Installation

ISAData can be installed from Julia's REPL with the following command:

]add ISAData

Usage

The package contains only one exported function called ISAdata. The function is called with the altitude as the input parameter, and it returns a tuple containing the values for density, pressure, temperature, and dynamic viscosity. For example:

julia> using ISAData

julia> ρ, P, T, μ = ISAdata(10000)
(0.4136571526878796, 26510.092578167572, 223.25492665430897, 1.461852633009453e-5)

where all quantities are in SI units.

ISAdata also supports the Quantity type provided by the Unitful package. For example:

julia> using Unitful

julia> ρ, P, T, μ = ISAdata(10u"km")
(0.4136571526878796 kg m^-3, 26510.092578167572 Pa, 223.25492665430897 K, 1.461852633009453e-5 Pa s)

Here, output values are also of the type Quantity, and this provides the flexibility to convert quantities into different units:

julia> P |> u"lbf/ft^2"
553.6747950560401 lbf ft^-2

Used By Packages

No packages found.