Changeset 18177
- Timestamp:
- 06/23/14 16:39:50 (11 years ago)
- Location:
- issm/trunk-jpl/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test701.m
r17762 r18177 34 34 md.stressbalance.spcvx(find(vertexflags(md.mesh,4)))=0; 35 35 md.stressbalance.spcvy(find(vertexflags(md.mesh,4)))=0; 36 %md.stressbalance.spcvx(find(vertexflags(md.mesh,4) | vertexflags(md.mesh,2)))=0;37 %md.stressbalance.spcvy(find(vertexflags(md.mesh,4) | vertexflags(md.mesh,2)))=0;38 36 39 37 %Misc 40 38 md=setflowequation(md,'FS','all'); 41 md.flowequation.fe_FS='TaylorHood';42 39 md.stressbalance.abstol=NaN; 40 md.stressbalance.FSreconditioning=1; 41 md.flowequation.XTH_r=10000; 43 42 md.miscellaneous.name = 'flowline'; 43 md.cluster=generic('np',2); 44 44 45 45 %Go solve 46 md.cluster=generic('np',2); 47 md=solve(md,StressbalanceSolutionEnum()); 48 49 %Fields and tolerances to track changes 50 field_names ={'Vx','Vy','Vel','Pressure'}; 51 field_tolerances={5e-10,2e-9,2e-9,1e-10}; 52 field_values={... 53 (md.results.StressbalanceSolution.Vx),... 54 (md.results.StressbalanceSolution.Vy),... 55 (md.results.StressbalanceSolution.Vel),... 56 (md.results.StressbalanceSolution.Pressure)}; 46 field_names={}; 47 field_tolerances={}; 48 field_values={}; 49 for i={'MINI','MINIcondensed','TaylorHood','XTaylorHood','CrouzeixRaviart'} 50 disp(' '); 51 disp([' ===== Testing ' i{1} ' Full-Stokes Finite element =====']); 52 md.flowequation.fe_FS=i{1}; 53 md=solve(md,StressbalanceSolutionEnum()); 54 field_names ={field_names{:},['Vx' i{1}],['Vy' i{1}],['Vel' i{1}],['Pressure' i{1}]}; 55 field_tolerances={field_tolerances{:},5e-10,2e-9,2e-9,1e-10}; 56 field_values={field_values{:},... 57 (md.results.StressbalanceSolution.Vx),... 58 (md.results.StressbalanceSolution.Vy),... 59 (md.results.StressbalanceSolution.Vel),... 60 (md.results.StressbalanceSolution.Pressure),... 61 }; 62 end
Note:
See TracChangeset
for help on using the changeset viewer.