1 function res = multiscale_buckley_leverett(step)
2 %
function performing the multiscale buckley leverett experiments
4 % step 1: simply call Frederikes test
5 % step 2: generate rbmatlab micromodel and run detailed simulation
6 % as nonlin_evol
for different parameters and visualization
9 % step 3: generate approximation: empirical interpolation
10 % step 4: check empirical_interpolated detailed simulation
11 % step 5: generate reduced model: reduced basis
12 % step 6: reduced simulations and error to detailed one
16 % B. Haasdonk 4.5.2010
25 case 1 % step 1: simply call Frederikes test
26 err = test(3*10^(-3),0.75,10,300)
27 case 2 % call micromodel as nonlin-evol model
29 model_data = gen_model_data(model);
31 model = model.set_mu(model,mu);
32 sim_data = detailed_simulation(model,model_data);
35 error('step number unknown')