Changeset 20592


Ignore:
Timestamp:
05/05/16 21:30:43 (9 years ago)
Author:
ayfeng
Message:

Fixed errors with 102,104,106, translated 103,105,107-109

Location:
issm/trunk-jpl/test/NightlyRun
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test102.js

    r20591 r20592  
     1//Test Name: SquareShelfConstrainedStressSSA3d
    12var md = new model();
    23triangle(md,square[0],180000.);
    3 setmask(md, 'all', '');
     4setmask(md,'all','');
    45parameterize(md);
    5 md.extrude(md, 3, 2.);
    6 setflowequation(md, 'SSA', 'all');
    7 //md.cluster = new generic('name', oshostname(), 'np', 3); //oshostname
    8 md=solve(md, StressbalanceSolutionEnum(), 'checkconsistency', 'no');
     6md.extrude(md,3,2.);
     7setflowequation(md,'SSA','all');
     8//md.cluster=generic('name',oshostname(),'np',3);
     9md=solve(md,StressbalanceSolutionEnum());
    910
    10 var field_names      = ['Vx','Vy','Vz','Vel','Pressure'];
    11 var field_tolerances = [1e-13,1e-13,1e-13,1e-13,1e-13];
    12 var field_values = [
    13     md.results.StressbalanceSolution.Vx,
    14     md.results.StressbalanceSolution.Vy,
    15     md.results.StressbalanceSolution.Vz,
    16     md.results.StressbalanceSolution.Vel,
    17     md.results.StressbalanceSolution.Pressure
    18 ];
    19 
    20 plotmodel(md, 'data', md.results.StressbalanceSolution[0].Vel);
     11//Fields and tolerances to track changes
     12field_names     =['Vx','Vy','Vz','Vel','Pressure'];
     13field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13];
     14field_values=[
     15        (md.results.StressbalanceSolution[0].Vx),
     16        (md.results.StressbalanceSolution[0].Vy),
     17        (md.results.StressbalanceSolution[0].Vz),
     18        (md.results.StressbalanceSolution[0].Vel),
     19        (md.results.StressbalanceSolution[0].Pressure),
     20        ];
  • issm/trunk-jpl/test/NightlyRun/test104.js

    r20591 r20592  
    11//Test Name: SquareShelfConstrainedStressFS
    22var md = new model();
    3 triangle(md, square[0], 180000.);
    4 setmask(md, 'all', '');
     3triangle(md,square[0],180000.);
     4setmask(md,'all','');
    55parameterize(md);
    6 md.extrude(md, 3, 2.);
    7 setflowequation(md, 'FS', 'all');
    8 md.cluster = new generic('name', oshostname(), 'np', 3);
    9 md = solve(md, StressbalanceSolutionEnum());
     6md.extrude(md,3,2.);
     7setflowequation(md,'FS','all');
     8//md.cluster=generic('name',oshostname(),'np',3);
     9md=solve(md,StressbalanceSolutionEnum());
    1010
    1111//Fields and tolerances to track changes
    12 var field_names      = ['Vx','Vy','Vz','Vel','Pressure'];
    13 var field_tolerances = [1e-08,1e-08,1e-06,1e-08,1e-08];
    14 var field_values = [
    15     md.results.StressbalanceSolution.Vx,
    16     md.results.StressbalanceSolution.Vy,
    17     md.results.StressbalanceSolution.Vz,
    18     md.results.StressbalanceSolution.Vel,
    19     md.results.StressbalanceSolution.Pressure
    20 ];
     12field_names     =['Vx','Vy','Vz','Vel','Pressure'];
     13field_tolerances=[1e-08,1e-08,1e-06,1e-08,1e-08];
     14field_values=[
     15        (md.results.StressbalanceSolution[0].Vx),
     16        (md.results.StressbalanceSolution[0].Vy),
     17        (md.results.StressbalanceSolution[0].Vz),
     18        (md.results.StressbalanceSolution[0].Vel),
     19        (md.results.StressbalanceSolution[0].Pressure),
     20        ];
  • issm/trunk-jpl/test/NightlyRun/test106.js

    r20591 r20592  
    22var md = new model();
    33triangle(md,square[0],150000.);
    4 meshconvert(md); // meshconvert not implemented yet @TODO
    5 setmask(md, 'all', '');
     4meshconvert(md);
     5setmask(md,'all','');
    66parameterize(md);
    7 setflowequation(md, 'SSA', 'all');
    8 md.cluster=generic('name', oshostname(), 'np', 3);
     7setflowequation(md,'SSA','all');
     8//md.cluster=generic('name',oshostname(),'np',3);
    99md.masstransport.stabilization=3;
    1010md.masstransport.spcthickness=md.geometry.thickness;
    11 md=solve(md, MasstransportSolutionEnum());
     11md=solve(md,MasstransportSolutionEnum());
    1212
    13 var field_names = ['Thickness'];
    14 var field_tolerances = [1e-13];
    15 var field_values = [md.results.MasstransportSolution.Thickness];
     13//Fields and tolerances to track changes
     14field_names     =['Thickness'];
     15field_tolerances=[1e-13];
     16field_values=[
     17        (md.results.MasstransportSolution[0].Thickness),
     18        ];
Note: See TracChangeset for help on using the changeset viewer.