Class Atmosphere
java.lang.Object
org.episteme.natural.earth.geophysics.Atmosphere
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EarthAtmosphere, MarsAtmosphere
Atmospheric physics calculations and data model.
Provides atmospheric property calculations (pressure, temperature, density) and serves as a data model for planetary atmospheres.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RealAir density from temperature and pressure.static RealdensityAtAltitude(Real altitude) Density at altitude.static RealHeat index (feels-like temperature).static Realstatic RealrelativeHumidity(Real tempCelsius, Real dewPointCelsius) Relative humidity from dew point and temperature.static RealsaturationVaporPressure(Real tempCelsius) Saturation vapor pressure (Magnus formula). e_s = 6.112 * exp(17.67 * T / (T + 243.5)) in hPastatic RealscaleHeight(Real temperature) Scale height: H = RT/gvoidsetAverageTemperature(Quantity<Temperature> averageTemperature) voidsetComposition(String composition) voidvoidsetPressureValue(Quantity<Pressure> pressureValue) static RealspeedOfSound(Real temperature) Speed of sound in air. c = sqrt(γ * R * T) where γ = 1.4 for diatomic gasstatic Realtemperature(Real altitude) Temperature vs altitude (troposphere).static Real
-
Field Details
-
P0
Standard sea level pressure (Pa) -
T0
Standard sea level temperature (K) -
LAPSE_RATE
Temperature lapse rate (K/m) in troposphere -
R_AIR
Gas constant for dry air (J/(kg·K))
-
-
Constructor Details
-
Atmosphere
public Atmosphere() -
Atmosphere
-
-
Method Details
-
getHeight
-
setHeight
-
getComposition
-
setComposition
-
getPressureValue
-
setPressureValue
-
getAverageTemperature
-
setAverageTemperature
-
pressure
-
temperature
-
density
-
densityAtAltitude
-
scaleHeight
-
speedOfSound
-
relativeHumidity
-
saturationVaporPressure
-
heatIndex
-
windChill
-