From Gerris

Revision as of 06:58, 7 July 2010; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

As its name suggests, GfsSourceCoriolis adds a Coriolis source term to the 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 ] ) ({ x = 0 y = 0 z = 1. })

where the second GfsFunction and the last brackets are optional. The first GfsFunction is the value of the Coriolis coefficient, the second GfsFunction is the value of the linear friction coefficient. The last optional parameter block defines the (x,y,z) coordinates of the rotation axis (default is 0 0 1).

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.


Personal tools