Ignore:
Timestamp:
Nov 16, 2004, 4:52:21 PM (20 years ago)
Author:
ole
Message:

First stab at wind stress from file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/pressure_force.py

    r552 r566  
    4848
    4949def cyclone(domain):
    50     rho = 1023  #Fluid density [kg/m^3] #FIXME: Move to config object
     50    from config import rho_w
    5151    from util import gradient
    5252
     
    7272
    7373        #Update momentum
    74         xmom[k] += -px*avg_h/rho
    75         ymom[k] += -py*avg_h/rho       
     74        xmom[k] += -px*avg_h/rho_w
     75        ymom[k] += -py*avg_h/rho_w       
    7676
    7777
Note: See TracChangeset for help on using the changeset viewer.