polaris.ocean.tasks.manufactured_solution.exact_solution.ExactSolution

class polaris.ocean.tasks.manufactured_solution.exact_solution.ExactSolution(config, ds=None)[source]

Class to compute the exact solution for the manufactured solution 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

  • 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__(config, ds=None)[source]

Create a new exact solution object

Parameters:

Methods

__init__(config[, ds])

Create a new exact solution object

normal_velocity(t)

Exact solution for normal velocity

ssh(t)

Exact solution for sea surface height