Skip to content

Verify SAL for RK4 (wetting / drying cases) #458

Open

Description

@pwolfram

Tidal implementation of SAL for RK4 may be incorrect in #371 at https://github.com/MPAS-Dev/MPAS-Model/pull/371/files#diff-d2a9414bd0f5332537025544c6ed7ea9R357

Currently, SAL is computed as a perturbation off the layer potential:
- config_self_attraction_and_loading_beta * zMid(k,iCell) and this may not be correct.

Given the approximation really is only deep water as the reference below implies, maybe we should do something like this:
- config_self_attraction_and_loading_beta * (bottomDepth > 100)*ssh(iCell)

We wouldn't do any SAL for shallow waters with less than 100m depth. A cleaner way to do this is to use a tanh function that goes from 0 for bottomDepth < 100m and to 1 by bottomDepth ~ 1000m.

Reference:
image

Activity

  1. pwolfram commented on Feb 27, 2020

    @pwolfram
    ContributorAuthor

    Needed for #366 final case with full SAL, which is only a minor correction to current approach.

  2. self-assigned this
    on Feb 27, 2020
  3. added a commit that references this issue on Apr 2, 2020
  4. pwolfram commented on Apr 2, 2020

    @pwolfram
    ContributorAuthor

    Closed by #498, thanks @sbrus89!

  5. pwolfram commented on Apr 16, 2020

    @pwolfram
    ContributorAuthor

    Reopening-- unclear if SAL is working correctly based on preliminary testing and it is currently turned off in #520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions