Changeset 32 for mso


Ignore:
Timestamp:
Sep 22, 2006, 9:16:00 PM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

clean up.

Location:
mso/sample/miscellaneous
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • mso/sample/miscellaneous/sample_arrays.mso

    r1 r32  
    4040        OPTIONS
    4141        time = [0:0.1:2*3.1415];
    42         outputLevel = "high";
    4342end
  • mso/sample/miscellaneous/sample_arrays2.mso

    r1 r32  
    2121        EQUATIONS
    2222
    23         diff(Var1(1,1)) = Var2(1,2);
     23        diff(Var1(1,1))*"s" = Var2(1,2);
    2424       
    2525        for i in [2 : Dimension-1]
    26                 diff(Var1(1,i)) = Var2(1,i-1)+Var2(1,i+1);
     26                diff(Var1(1,i))*"s" = Var2(1,i-1)+Var2(1,i+1);
    2727        end
    2828
    29         diff(Var1(1,Dimension)) = Var2(1,Dimension);
    30         diff(Var1(2:Dimension,:)) = Scalar*Var2(2:Dimension,:);
     29        diff(Var1(1,Dimension))*"s" = Var2(1,Dimension);
     30        diff(Var1(2:Dimension,:))*"s" = Scalar*Var2(2:Dimension,:);
    3131
    32         exp(Scalar)*Var2 = sin(time);
     32        exp(Scalar)*Var2 = sin(time/"s");
    3333end
    3434
     
    4343        OPTIONS
    4444        time = [0:0.1:2*3.1415];
    45         outputLevel = "high";
    4645end
  • mso/sample/miscellaneous/sample_bc.mso

    r7 r32  
    3131       
    3232        EQUATIONS
    33                 "Balanço no Prato 0" diff(H0) = -V/(R+1);
    34                 diff(x1(1)) = V/H0 * (x1(1)-y1(1) + R * ((x1(2) - x1(1))/(R+1)));
     33                "Balanço no Prato 0"
     34                diff(H0)*"s" = -V/(R+1);
     35                diff(x1(1))*"s" = V/H0 * (x1(1)-y1(1) + R * ((x1(2) - x1(1))/(R+1)));
    3536       
    3637                "Balanço demais pratos"
    37                 diff(x1(2:Np)) = V/Hi * (y1(1:Np-1) - y1(2:Np) + (R * ( x1(3:Np+1) - x1(2:Np) ) / (R+1)));
     38                diff(x1(2:Np))*"s" = V/Hi * (y1(1:Np-1) - y1(2:Np) + (R * ( x1(3:Np+1) - x1(2:Np) ) / (R+1)));
    3839
    3940                "Balanço último prato"
    40                 diff(x1(Np+1)) = V * ( y1(Np) - x1(Np+1) )/Hi;
     41                diff(x1(Np+1))*"s" = V * ( y1(Np) - x1(Np+1) )/Hi;
    4142
    4243                x1  = 1 - x2;
     
    7273                time = [0:0.01:0.1, 0.2:0.1:2.1];
    7374                integration = "index0"; #original, index0 or index 1
    74                 outputLevel = "high";
    7575                relativeAccuracy = 1e-6;
    7676                absoluteAccuracy = 1e-8;
  • mso/sample/miscellaneous/sample_bio.mso

    r1 r32  
    5050        OPTIONS
    5151        time = [0:0.5:10]*"h";
    52         outputLevel = "high";
    5352        LASolver = "dense"; # dense or sparse
    5453end
  • mso/sample/miscellaneous/sample_calc_object.mso

    r2 r32  
    9292
    9393        OPTIONS
    94         outputLevel = "all";
    9594        relativeAccuracy = 1e-6;
    9695        #mode = "steady";
     
    118117       
    119118        OPTIONS
    120         outputLevel = "all";
    121119        relativeAccuracy = 1e-6;
    122120        mode = "steady";
  • mso/sample/miscellaneous/sample_car.mso

    r13 r32  
    7777        OPTIONS
    7878        time = [0:0.01:3];
    79         outputLevel = "high";
    8079        integration = "original";
    8180        DAESolver = "mebdf";
  • mso/sample/miscellaneous/sample_cstr_simple.mso

    r10 r32  
    9797        OPTIONS
    9898        time = [0:10:1200];
    99         outputLevel = "high";
    10099end
  • mso/sample/miscellaneous/sample_if.mso

    r1 r32  
    4242        OPTIONS
    4343        time = [0:0.01:10];
    44         outputLevel = "medium";
    4544end
    4645
  • mso/sample/miscellaneous/sample_methanol.mso

    r13 r32  
    165165                Reactor.Pressure = 120;
    166166        OPTIONS
    167                 outputLevel = "high";
    168167                mode = "steady";
    169168end
  • mso/sample/miscellaneous/sample_streams.mso

    r1 r32  
    7272        OPTIONS
    7373        #mode = "steady";
    74         outputLevel = "high";
    7574end
  • mso/sample/miscellaneous/sample_tanks.mso

    r1 r32  
    4545        OPTIONS
    4646        time = [0:0.1:2] * "h" ;
    47         outputLevel = "high";
    4847end
Note: See TracChangeset for help on using the changeset viewer.