Changeset 4993


Ignore:
Timestamp:
08/04/10 19:42:13 (15 years ago)
Author:
Eric.Larour
Message:

Added circles to test for 0 mass flux with constant velocity

Location:
issm/trunk/test/Verification/test29_MassFlux
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/Verification/test29_MassFlux/Lrel29.m

    r4956 r4993  
    99md.responses.rf (end+1)=response_function('MassFlux2',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);
    1010md.responses.rf (end+1)=response_function('MassFlux3',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);
     11md.responses.rf (end+1)=response_function('MassFlux4',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);
     12md.responses.rf (end+1)=response_function('MassFlux5',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);
     13md.responses.rf (end+1)=response_function('MassFlux6',[],[0.0001 0.001 0.01 0.25 0.5 0.75 0.99 0.999 0.9999]);
    1114
    1215%mass flux profiles
    13 md.qmu_mass_flux_profiles={'MassFlux1.exp','MassFlux2.exp','MassFlux3.exp'};
     16md.qmu_mass_flux_profiles={'MassFlux1.exp','MassFlux2.exp','MassFlux3.exp','MassFlux4.exp','MassFlux5.exp','MassFlux6.exp'};
    1417md.qmu_mass_flux_profile_directory=pwd;
    1518
  • issm/trunk/test/Verification/test29_MassFlux/README

    r4980 r4993  
    11Qmu sensitivity analysis on MassFlux response.
     2MassFlux1, Massflux2 and Massflux3 are 3 sides of a triangle. MassFlux1 + MassFlux2 should be equal to MassFlux3
     3MassFlux4 to 6 are circles, 10,100 and 1000 grids, .4,.3 and .2 radius. Mass flux for thoses circlyes should be 0.
  • issm/trunk/test/Verification/test29_MassFlux/length_profiles.m

    r4956 r4993  
    1 for i=1:3,
    2         a=md.qmu_mass_flux_segments{i};
    3         %sum(sqrt((a(:,3)-a(:,1)).^2+ (a(:,4)-a(:,2)).^2))
    4         [sum(a(:,3)-a(:,1)) sum(a(:,4)-a(:,2))]
     1num=2;
     2
     3
     4if num==1,
     5        for i=1:length(md.qmu_mass_flux_segments),
     6                a=md.qmu_mass_flux_segments{i};
     7                %sum(sqrt((a(:,3)-a(:,1)).^2+ (a(:,4)-a(:,2)).^2))
     8                [sum(a(:,3)-a(:,1)) sum(a(:,4)-a(:,2))]
     9        end
    510end
     11
     12
     13if num==2,
     14        hold on;
     15        %for i=1:length(md.qmu_mass_flux_segments),
     16        for i=4:length(md.qmu_mass_flux_segments),
     17                a=md.qmu_mass_flux_segments{i};
     18                for j=1:length(a),
     19                        plot([a(j,1) a(j,3)],[a(j,2) a(j,4)]);
     20                end
     21        end
     22end
  • issm/trunk/test/Verification/test29_MassFlux/testpostsolve.m

    r4957 r4993  
    66%also, check that the stddev are 0.
    77
    8 md.results.dakota.importancefactors=[md.results.dakota.dresp_out(1).mean md.results.dakota.dresp_out(2).mean md.results.dakota.dresp_out(3).mean md.results.dakota.dresp_out(4).mean ...
    9                                      md.results.dakota.dresp_out(1).stddev md.results.dakota.dresp_out(2).stddev md.results.dakota.dresp_out(3).stddev md.results.dakota.dresp_out(4).stddev];
     8md.results.dakota.importancefactors=[];
     9for i=1:7,
     10        md.results.dakota.importancefactors=[md.results.dakota.importancefactors md.results.dakota.dresp_out(i).mean];
     11end
     12for i=1:7,
     13        md.results.dakota.importancefactors=[md.results.dakota.importancefactors md.results.dakota.dresp_out(i).stddev];
     14end
Note: See TracChangeset for help on using the changeset viewer.