Changeset 566 for inundation/ga/storm_surge/pyvolution/pressure_force.py
- Timestamp:
- Nov 16, 2004, 4:52:21 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/pressure_force.py
r552 r566 48 48 49 49 def cyclone(domain): 50 rho = 1023 #Fluid density [kg/m^3] #FIXME: Move to config object50 from config import rho_w 51 51 from util import gradient 52 52 … … 72 72 73 73 #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 76 76 77 77
Note: See TracChangeset
for help on using the changeset viewer.