Ignore:
Timestamp:
Feb 19, 2010, 7:08:11 PM (14 years ago)
Author:
Argimiro Resende Secchi
Message:

Starting checking new EML.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/pressure_changers/valve.mso

    r808 r909  
    9090                (1-Inlet.v)*PP.LiquidVolume((Inlet.T+Outlet.T)/2, (Inlet.P+Outlet.P)/2, Outlet.z);
    9191
    92         if Pdrop > 0 then
     92        if Pdrop > 0 * 'atm' then
    9393                "Flow"
    9494                Outlet.F * v = k*x*sqrt(Pdrop * rho_ref / rho ) ;
     
    242242        case "Liquid-Only":
    243243       
    244 if Pdrop > 0 then
     244if Pdrop > 0 * 'atm' then
    245245
    246246"Valve Equation - Liquid Flow"
     
    270270        case "Vapour-Only":
    271271       
    272 if Pdrop > 0 then #Update for gas flow !!!!
     272if Pdrop > 0 * 'atm' then #Update for gas flow !!!!
    273273       
    274274"Liquid-gas Coefficient Ratio"
Note: See TracChangeset for help on using the changeset viewer.