next up previous contents
Next: Specifying boundary conditions Up: Specifying initial and boundary Previous: Specifying initial and boundary   Contents

Initial conditions

Initial conditions are set by altering the functions in the file initialization.c so that they return the desired initial distributions. There are five functions that specify the initial depth, free-surface, salinity, temperature, and velocity fields. Each function takes as its argument the x,y,z coordinates of the desired initial condition. You need to edit the function to return the desired initial value based on the given x,y,z coordinates. The five functions are


next up previous contents
Next: Specifying boundary conditions Up: Specifying initial and boundary Previous: Specifying initial and boundary   Contents
2014-08-06