GfsSourceCoriolis

From Gerris

Revision as of 01:38, 17 September 2009; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

As its name suggests, GfsSourceCoriolis adds a Coriolis source term to the (horizontal) components of the velocity or momentum. The object is further generalised and can be used to optionally add a linear friction term (which has a formally similar form to the Coriolis terms).

The syntax in parameter files is

[ GfsSourceVelocity ] [ GfsFunction ] ( [ GfsFunction ] )

where the second GfsFunction is optional. The first GfsFunction is the value of the Coriolis coefficient, the second GfsFunction is the value of the linear friction coefficient.

For example

SourceCoriolis 1e-4 3e-3

is formally equivalent to

Source U (-1e-4*V - 3e-3*U)
Source V ( 1e-4*U - 3e-3*V)

but uses a robust implicit discretisation.

Examples

communication