Ignore:
Timestamp:
Feb 27, 2009, 12:54:27 AM (14 years ago)
Author:
gerson bicca
Message:

added sample STHE (shell and Tube Heat Exchanger)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/heat_exchangers/HeatExchangerDetailed.mso

    r736 r737  
    5252PARAMETERS
    5353
    54 HotSide                 as Switcher     (Brief="Hot Side in the Exchanger",Valid=["shell","tubes"],Default="shell");
     54HotSide                 as Switcher     (Brief="Hot Side in the Exchanger",Hidden=true, Valid=["shell","tubes"],Default="shell");
    5555ShellType       as Switcher     (Brief="TEMA Designation",Valid=["Eshell","Fshell"],Default="Eshell");
    5656Pattern         as Switcher     (Brief="Tube Layout Characteristic Angle",Valid=["Triangle","Rotated Square","Square"],Default="Triangle");
     
    6363        Clearances      as Clearances_Main      (Brief="Diametral Clearances", Symbol=" ");
    6464       
    65 in  InletTube           as stream                                       (Brief="Inlet Tube Stream", PosX=0.08, PosY=0, Symbol="_{in }^{tube}");
    66 out OutletTube  as streamPH                             (Brief="Outlet Tube Stream", PosX=0.08, PosY=1, Symbol="_{out }^{tube}");
    67 in  InletShell          as stream                                       (Brief="Inlet Shell Stream", PosX=0.2237, PosY=0, Symbol="_{in }^{shell}");
    68 out OutletShell as streamPH                             (Brief="Outlet Shell Stream", PosX=0.8237, PosY=1, Symbol="_{out }^{shell}");
     65in  InletTube           as stream                                       (Brief="Inlet Tube Stream", PosX=0.13, PosY=0, Symbol="_{in }^{tube}");
     66out OutletTube  as streamPH                             (Brief="Outlet Tube Stream", PosX=0.13, PosY=1, Symbol="_{out }^{tube}");
     67in  InletShell          as stream                                       (Brief="Inlet Shell Stream", PosX=0.31, PosY=1, Symbol="_{in }^{shell}");
     68out OutletShell as streamPH                             (Brief="Outlet Shell Stream", PosX=0.81, PosY=0, Symbol="_{out }^{shell}");
    6969        Details                         as Details_Main                         (Brief="Details in Heat Exchanger", Symbol = " ");
    7070       
     
    9595M(NComp)        as molweight (Brief="Component Mol Weight");
    9696
    97 TubeFlowRegime           as Switcher            (Brief="Tube Side Flow Regime ",Valid=["laminar","transition","turbulent"],Default="laminar");
    98 ShellFlowRegime                 as Switcher             (Brief="Shell Side Flow Regime ",Valid=["deep laminar","laminar","turbulent"],Default="deep laminar");
    99 ShellRange                              as Switcher             (Brief="Shell Side Flow Regime Range for Correction Factor",Valid=["range1","range2","range3", "range4","range5"],Default="range1");
    100 Side                                                            as Switcher             (Brief="Flag for Fluid Alocation ",Valid=["shell","tubes"],Default="shell");
     97TubeFlowRegime           as Switcher            (Brief="Tube Side Flow Regime ",Hidden=true,Valid=["laminar","transition","turbulent"],Default="laminar");
     98ShellFlowRegime                 as Switcher             (Brief="Shell Side Flow Regime ",Hidden=true,Valid=["deep laminar","laminar","turbulent"],Default="deep laminar");
     99ShellRange                              as Switcher             (Brief="Shell Side Flow Regime Range for Correction Factor",Hidden=true,Valid=["range1","range2","range3", "range4","range5"],Default="range1");
     100Side                                                            as Switcher             (Brief="Flag for Fluid Alocation ",Hidden=true,Valid=["shell","tubes"],Default="shell");
    101101LaminarCorrelation      as Switcher             (Brief="Tube Heat Transfer Correlation in Laminar Flow",Valid=["Hausen","Schlunder"],Default="Hausen");
    102102TransitionCorrelation   as Switcher             (Brief="Tube Heat Transfer Correlation in Transition Flow",Valid=["Gnielinski","ESDU"],Default="Gnielinski");
     
    929929PARAMETERS
    930930
    931 LMTDcorrection  as Switcher     (Brief="LMTD Correction Factor Model",Valid=["Bowmann","Fakeri"],Default="Bowmann");
    932        
     931LMTDcorrection  as Switcher     (Brief="LMTD Correction Factor Model",Valid=["Bowmann","Fakeri" , "User Specified"],Default="Bowmann");
     932FLMTDcorrection  as fraction (Default = 0.8);
     933
    933934VARIABLES
    934935
     
    996997switch LMTDcorrection
    997998       
     999        case "User Specified": #Just For Initialization
     1000       
     1001        Method.Fc = FLMTDcorrection;
     1002       
     1003" Variable not in use with this equation"
     1004        lambdaN =1;
     1005       
     1006" Variable not in use with this equation"
     1007        lambda1 =1;
     1008
     1009#" Variable not in use with this equation"
     1010#       Phi = 1;
     1011
     1012" Variable not in use with this equation"
     1013        Rho =1;
     1014
     1015" Variable not in use with this equation"
     1016        Pc = P;
     1017
    9981018        case "Bowmann":
    9991019       
     
    10821102       
    10831103switch LMTDcorrection
     1104
     1105        case "User Specified": #Just For Initialization
     1106       
     1107        Method.Fc = FLMTDcorrection;
     1108       
     1109#" Variable not in use with this equation"
     1110#       lambdaN =1;
     1111       
     1112#" Variable not in use with this equation"
     1113#       lambda1 =1;
     1114
     1115#" Variable not in use with this equation"
     1116#       Phi = 1;
     1117
     1118" Variable not in use with this equation"
     1119        Rho =1;
    10841120       
    10851121        case "Bowmann":
Note: See TracChangeset for help on using the changeset viewer.