Ignore:
Timestamp:
Mar 15, 2007, 4:40:55 PM (16 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Adapted some samples to the new Plugin mechanism

Location:
branches/newlanguage/sample/reactors
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/reactors/sample_cstr.mso

    r208 r213  
    2929
    3030PARAMETERS
    31         PP              as Plugin       (Brief="Physical Properties",File="vrpp");
     31        PP              as Plugin(Brief="Physical Properties",
     32                Type = "PP",
     33                Components  = ["1,2-propylene oxide", "methanol","water","1,2-propylene glycol" ],
     34                LiquidModel = "PR",
     35                VapourModel = "PR"
     36        );
    3237        NComp   as Integer;
    3338        R                       as Real         (Default=8.3145, Unit='J/mol/K');
     
    3843
    3944SET
    40 
    41         PP.Components   = ["1,2-propylene oxide", "methanol","water","1,2-propylene glycol" ];
    42         PP.LiquidModel  = "PR";
    43         PP.VapourModel  = "PR";
    44 
    4545        NComp                   = PP.NumberOfComponents;
    4646        Reac.NReac      = 1;
  • branches/newlanguage/sample/reactors/sample_pfr.mso

    r194 r213  
    3939PARAMETERS
    4040
    41         PP              as Plugin (Brief="Physical Properties",File="vrpp");
     41        PP              as Plugin (Brief="Physical Properties",
     42                Type = "PP",
     43                Components = ["acetone", "acetic anhydride", "methane" ],
     44                LiquidModel = "PR",
     45                VapourModel = "PR"
     46        );
    4247        NComp   as Integer;
    4348
     
    4853
    4954SET
    50 
    51         PP.Components   = ["acetone", "acetic anhydride", "methane" ];
    52         PP.LiquidModel  = "PR";
    53         PP.VapourModel  = "PR";
    54        
    5555        NComp = PP.NumberOfComponents;
    5656       
     
    105105        TimeStep        = 0.05;
    106106        TimeEnd         = 3;
    107         NLASolver       = "sundials";
    108107        #Dynamic = false;
    109108        #DAESolver = "dassl";
Note: See TracChangeset for help on using the changeset viewer.