Class OceanModel

java.lang.Object
org.episteme.natural.earth.geophysics.OceanModel

public class OceanModel extends Object
Physics of Sea Water. Provides calculations for density, pressure, and sound speed in the ocean.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Details

    • RHO_SEAWATER

      public static final Real RHO_SEAWATER
      Standard density of seawater (kg/m^3) at surface
  • Constructor Details

    • OceanModel

      public OceanModel()
  • Method Details

    • pressure

      public static Real pressure(Real depth)
      Hydrostatic pressure at depth. P = P_atm + rho * g * h
      Parameters:
      depth - depth meters (positive downwards)
      Returns:
      Pressure (Pa)
    • speedOfSound

      public static Real speedOfSound(Real tempCelsius, Real salinityPPT, Real depthMeters)
      Speed of sound in seawater (Chen-Millero-Li approximation, simplified). C ~ 1449.2 + 4.6T - 0.055T^2 + ... + 1.39(S - 35) + 0.016z
      Parameters:
      tempCelsius - Temperature in Celsius
      salinityPPT - Salinity in parts per thousand (e.g. 35)
      depthMeters - Depth in meters
      Returns:
      Speed of sound (m/s)