source: issm/oecreview/Archive/16133-16554/ISSM-16471-16472.diff@ 16556

Last change on this file since 16556 was 16556, checked in by Mathieu Morlighem, 11 years ago

NEW: added Archive/16133-16554

File size: 5.0 KB
  • ../trunk-jpl/test/NightlyRun/test325.py

     
    1414md.extrude(3,1.)
    1515md=setflowequation(md,'SSA','all')
    1616md.timestepping.time_step=0.
    17 md.cluster=generic('name',oshostname(),'np',3)
    1817md.initialization.waterfraction=numpy.zeros((md.mesh.numberofvertices,1))
    1918md.initialization.watercolumn=numpy.zeros((md.mesh.numberofvertices,1))
    20 md=solve(md,EnthalpySolutionEnum())
     19md.thermal.isenthalpy = 1
     20md.thermal.isdynamicbasalspc = 1
    2121
     22md.cluster=generic('name',oshostname(),'np',3)
     23md=solve(md,ThermalSolutionEnum())
     24
    2225#Fields and tolerances to track changes
    2326field_names     =['Enthalpy','Waterfraction','Temperature']
    2427field_tolerances=[1e-13,1e-13,1e-13]
    2528field_values=[\
    26         md.results.EnthalpySolution.Enthalpy,\
    27         md.results.EnthalpySolution.Waterfraction,\
    28         md.results.EnthalpySolution.Temperature,\
     29        md.results.ThermalSolution.Enthalpy,\
     30        md.results.ThermalSolution.Waterfraction,\
     31        md.results.ThermalSolution.Temperature,\
    2932        ]
  • ../trunk-jpl/test/NightlyRun/test120.m

     
    44md=extrude(md,3,1.);
    55md=setflowequation(md,'SSA','all');
    66md.timestepping.time_step=0;
    7 md.cluster=generic('name',oshostname(),'np',3);
    87md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
    98md.initialization.watercolumn=zeros(md.mesh.numberofvertices,1);
    10 md=solve(md,EnthalpySolutionEnum());
     9md.thermal.isenthalpy = 1;
     10md.thermal.isdynamicbasalspc = 1;
    1111
     12md.cluster=generic('name',oshostname(),'np',3);
     13md=solve(md,ThermalSolutionEnum());
     14
    1215%Fields and tolerances to track changes
    1316field_names     ={'Enthalpy','Waterfraction','Temperature'};
    1417field_tolerances={1e-13,1.45e-10,1e-13};
    1518field_values={...
    16         (md.results.EnthalpySolution.Enthalpy),...
    17         (md.results.EnthalpySolution.Waterfraction),...
    18         (md.results.EnthalpySolution.Temperature),...
     19        (md.results.ThermalSolution.Enthalpy),...
     20        (md.results.ThermalSolution.Waterfraction),...
     21        (md.results.ThermalSolution.Temperature),...
    1922        };
  • ../trunk-jpl/test/NightlyRun/test325.m

     
    44md=extrude(md,3,1.);
    55md=setflowequation(md,'SSA','all');
    66md.timestepping.time_step=0.;
    7 md.cluster=generic('name',oshostname(),'np',3);
    87md.initialization.waterfraction=zeros(md.mesh.numberofvertices,1);
    98md.initialization.watercolumn=zeros(md.mesh.numberofvertices,1);
    10 md=solve(md,EnthalpySolutionEnum());
     9md.thermal.isenthalpy = 1;
     10md.thermal.isdynamicbasalspc = 1;
    1111
     12md.cluster=generic('name',oshostname(),'np',3);
     13md=solve(md,ThermalSolutionEnum());
     14
    1215%Fields and tolerances to track changes
    1316field_names     ={'Enthalpy','Waterfraction','Temperature'};
    1417field_tolerances={1e-13,1e-13,1e-13};
    1518field_values={...
    16         (md.results.EnthalpySolution.Enthalpy),...
    17         (md.results.EnthalpySolution.Waterfraction),...
    18         (md.results.EnthalpySolution.Temperature),...
     19        (md.results.ThermalSolution.Enthalpy),...
     20        (md.results.ThermalSolution.Waterfraction),...
     21        (md.results.ThermalSolution.Temperature),...
    1922        };
  • ../trunk-jpl/test/NightlyRun/test411.py

     
    1414md.extrude(3,2.)
    1515md=setflowequation(md,'HO','all')
    1616md.cluster=generic('name',oshostname(),'np',3)
    17 md.timestepping.time_step=0
     17md.timestepping.time_step=0.
    1818md=solve(md,SteadystateSolutionEnum())
    1919
    2020#Fields and tolerances to track changes
  • ../trunk-jpl/test/NightlyRun/test120.py

     
    1414md.extrude(3,1.)
    1515md=setflowequation(md,'SSA','all')
    1616md.timestepping.time_step=0
    17 md.cluster=generic('name',oshostname(),'np',3)
    1817md.initialization.waterfraction=numpy.zeros(md.mesh.numberofvertices)
    1918md.initialization.watercolumn=numpy.zeros(md.mesh.numberofvertices)
    20 md=solve(md,EnthalpySolutionEnum())
     19md.thermal.isenthalpy = 1;
     20md.thermal.isdynamicbasalspc = 1;
    2121
     22md.cluster=generic('name',oshostname(),'np',3)
     23md=solve(md,ThermalSolutionEnum())
     24
    2225#Fields and tolerances to track changes
    2326field_names     =['Enthalpy','Waterfraction','Temperature']
    2427field_tolerances=[1e-13,1.45e-10,1e-13]
    2528field_values=[\
    26         md.results.EnthalpySolution.Enthalpy,\
    27         md.results.EnthalpySolution.Waterfraction,\
    28         md.results.EnthalpySolution.Temperature,\
     29        md.results.ThermalSolution.Enthalpy,\
     30        md.results.ThermalSolution.Waterfraction,\
     31        md.results.ThermalSolution.Temperature,\
    2932        ]
Note: See TracBrowser for help on using the repository browser.