# Difference between revisions of "Kees' assignment"

From Interactive System for Ice sheet Simulation

(→Model equation: fixed absolute value issue) |
|||

Line 4: | Line 4: | ||

where | where | ||

− | <math>D(x) = C H^{n+2}\frac{\partial h} {\partial x} ^{n-1},</math> | + | <math>D(x) = C H^{n+2}\left|\frac{\partial h} {\partial x}\right| ^{n-1},</math> |

and | and |

## Revision as of 14:09, 5 August 2009

## Contents |

## Model equation

where

and

## Model parameters

- km/yr
- = 920
- g=9.8
- A = 1e-16
- n=3

## Boundary conditions

- (left boundary)

- (right boundary)

## Numerical tips

Use a staggered grid such that the are computed at the **centers** of the grid (as opposed to the vertices, as we have been doing), so

From the diffusivity, the flux is computed

- ,

where

and then the flux () can be used to compute the rate of change of the surface from