Changeset 9653


Ignore:
Timestamp:
Feb 10, 2015, 6:30:59 PM (10 years ago)
Author:
davies
Message:

Updates to statistics type attributes of parallel structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/anuga/parallel/parallel_structure_operator.py

    r9625 r9653  
    371371
    372372            # Update Stats
    373             self.discharge  = Q#outflow_extra_depth*self.outflow.get_area()/timestep
    374             self.velocity = barrel_speed#self.discharge/outlet_depth/self.width
     373            self.discharge  = Q*timestep_star/timestep #outflow_extra_depth*self.outflow.get_area()/timestep
     374            self.velocity = barrel_speed #self.discharge/outlet_depth/self.width
    375375
    376376            new_outflow_depth = outflow_average_depth + outflow_extra_depth
    377377
     378            self.outlet_depth = new_outflow_depth
    378379            #if self.use_momentum_jet :
    379380            #    # FIXME (SR) Review momentum to account for possible hydraulic jumps at outlet
Note: See TracChangeset for help on using the changeset viewer.