opendrift.models.physics_methods

Module Contents

Classes

PhysicsMethods

Physics methods to be inherited by OpenDriftSimulation class

Functions

oil_wave_entrainment_rate_li2017(dynamic_viscosity, oil_density, interfacial_tension, significant_wave_height=None, wave_breaking_fraction=None, wind_speed=None, sea_water_density=1028.0)

significant_wave_height_from_wind_neumann_pierson(wind_speed)

wave_breaking_fraction_from_wind(wind_speed, wave_period=None)

wave_period_from_wind(wind_speed)

verticaldiffusivity_Sundby1983(windspeed, depth, mixedlayerdepth=50, background_diffusivity=0)

Vertical diffusivity from Sundby (1983)

verticaldiffusivity_Large1994(windspeed, depth, mixedlayerdepth=50, background_diffusivity=0)

Vertical diffusivity from Large et al. (1994)

verticaldiffusivity_stepfunction(depth, MLD=20, k_above=0.1, k_below=0.02)

eddy diffusivity with discontinuity for testing of mixing scheme

gls_tke(windstress, depth, sea_water_density, tke, generic_length_scale, gls_parameters=None)

From LADIM model.

stokes_drift_profile_breivik(stokes_u_surface, stokes_v_surface, significant_wave_height, mean_wave_period, z)

Calculate vertical Stokes drift profile from

ftle(X, Y, delta, duration)

Calculate Finite Time Lyapunov Exponents

wind_drag_coefficient(windspeed)

Large and Pond (1981), J. Phys. Oceanog., 11, 324-336.

windspeed_from_stress_polyfit(wind_stress)

Inverting Large and Pond (1981) using polyfit

declination(time)

Solar declination in degrees.

equation_of_time(time)

Equation of time in minutes.

hour_angle(time, longitude)

Solar hour angle in degrees.

solar_elevation(time, longitude, latitude)

Solar elevation in degrees.

opendrift.models.physics_methods.logger
opendrift.models.physics_methods.oil_wave_entrainment_rate_li2017(dynamic_viscosity, oil_density, interfacial_tension, significant_wave_height=None, wave_breaking_fraction=None, wind_speed=None, sea_water_density=1028.0)[source]
opendrift.models.physics_methods.significant_wave_height_from_wind_neumann_pierson(wind_speed)[source]
opendrift.models.physics_methods.wave_breaking_fraction_from_wind(wind_speed, wave_period=None)[source]
opendrift.models.physics_methods.wave_period_from_wind(wind_speed)[source]
opendrift.models.physics_methods.verticaldiffusivity_Sundby1983(windspeed, depth, mixedlayerdepth=50, background_diffusivity=0)[source]

Vertical diffusivity from Sundby (1983)

  1. Sundby (1983): A one-dimensional model for the vertical

    distribution of pelagic fish eggs in the mixed layer Deep Sea Research (30) pp. 645-661

opendrift.models.physics_methods.verticaldiffusivity_Large1994(windspeed, depth, mixedlayerdepth=50, background_diffusivity=0)[source]

Vertical diffusivity from Large et al. (1994)

Depending on windspeed, depth and mixed layer depth (default 50m).

opendrift.models.physics_methods.verticaldiffusivity_stepfunction(depth, MLD=20, k_above=0.1, k_below=0.02)[source]

eddy diffusivity with discontinuity for testing of mixing scheme

opendrift.models.physics_methods.gls_tke(windstress, depth, sea_water_density, tke, generic_length_scale, gls_parameters=None)[source]

From LADIM model.

opendrift.models.physics_methods.stokes_drift_profile_breivik(stokes_u_surface, stokes_v_surface, significant_wave_height, mean_wave_period, z)[source]

Calculate vertical Stokes drift profile from Breivik et al. 2016, A Stokes drift approximation based on the Phillips spectrum, Ocean Mod. 100

opendrift.models.physics_methods.ftle(X, Y, delta, duration)[source]

Calculate Finite Time Lyapunov Exponents

class opendrift.models.physics_methods.PhysicsMethods[source]

Physics methods to be inherited by OpenDriftSimulation class

static sea_water_density(T=10.0, S=35.0)[source]

The function gives the density of seawater at one atmosphere pressure as given in :

N.P. Fofonoff and R.C. Millard Jr.,1983, Unesco technical papers in marine science no. 44.

S = Salinity in promille of the seawater T = Temperature of the seawater in degrees Celsius

advect_ocean_current(self, factor=1)[source]
advect_with_sea_ice(self, factor=1)[source]
advect_wind(self, factor=1)[source]
stokes_drift(self, factor=1)[source]
wave_stokes_drift_parameterised(self, wind, fetch)[source]

Parameterise stokes drift based on pre calculated tables and fetch.

wave_significant_height_parameterised(self, wind, fetch)[source]

Parameterise significant wave height based on pre calculated tables and fetch.

resurface_elements(self, minimum_depth)[source]
calculate_missing_environment_variables(self)[source]
wind_speed(self)[source]
current_speed(self)[source]
significant_wave_height(self)[source]
_wave_frequency(self)[source]
wave_period(self)[source]
wave_energy(self)[source]
wave_energy_dissipation(self)[source]
wave_damping_coefficient(self)[source]
sea_surface_wave_breaking_fraction(self)[source]
air_density(self)[source]
windspeed_from_stress(self)[source]
solar_elevation(self)[source]

Solar elevation at present time and position of active elements.

sea_floor_depth(self)[source]

Sea floor depth (positive) for presently active elements

opendrift.models.physics_methods.wind_drag_coefficient(windspeed)[source]

Large and Pond (1981), J. Phys. Oceanog., 11, 324-336.

opendrift.models.physics_methods.windspeed_from_stress_polyfit(wind_stress)[source]

Inverting Large and Pond (1981) using polyfit

opendrift.models.physics_methods.declination(time)[source]

Solar declination in degrees.

opendrift.models.physics_methods.equation_of_time(time)[source]

Equation of time in minutes.

opendrift.models.physics_methods.hour_angle(time, longitude)[source]

Solar hour angle in degrees.

opendrift.models.physics_methods.solar_elevation(time, longitude, latitude)[source]

Solar elevation in degrees.