polaris.ocean.tasks.inertial_gravity_wave.exact_solution.ExactSolution

class polaris.ocean.tasks.inertial_gravity_wave.exact_solution.ExactSolution(ds, config)[source]

Class to compute the exact solution for the inertial gravity wave test case

Variables
  • angleEdge (xr.DataArray) – angle between edge normals and positive x direction

  • xCell (xr.DataArray) – x coordinates of mesh cell centers

  • yCell (xr.DataArray) – y coordinates of mesh cell centers

  • xEdge (xr.DataArray) – x coordinates of mesh edges

  • yEdge (xr.DataArray) – y coordinates of mesh edges

  • f0 (float) – Coriolis parameter

  • eta0 (float) – Amplitide of sea surface height

  • kx (float) – Wave number in the x direction

  • ky (float) – Wave number in the y direction

  • omega (float) – Angular frequency

__init__(ds, config)[source]

Create a new exact solution object

Parameters

Methods

__init__(ds, config)

Create a new exact solution object

normal_velocity(t)

Exact solution for normal velocity

ssh(t)

Exact solution for sea surface height