rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
demo_rb_richards_fv.m
Go to the documentation of this file.
1 % A small script demonstrating the online phase of the two models from the
2 % diploma thesis "Reduzierte-Basis Methoden für unges\"{a}ttigte
3 % Grundwasserstr\"{o}mungen"
4 %
5 
7 
8 disp('==================================================================');
9 disp(' ');
10 disp('First example:');
11 disp('Linear heat equation with parabolic geometry transformation');
12 disp(' ');
13 disp('==================================================================');
14 
15 load richards_fv_detailed_interpol
16 % detailed_data.grid = construct_grid(model);
17 % model_data = gen_model_data(model);
18 % detailed_data.model_data = model_data;
19 % model.newton_solver = 0;
20 % model.implicit_nonlinear = 0;
21 % model.local_stencil_size = 2;
22 % model.get_rb_size = @get_rb_size_default;
23 % model.enable_error_estimator = 0;
24 % save('/home/mdroh_01/projects/diss/nonlin_evol/rbmatlab/demos/datafiles/richards_fv_detailed_interpol.mat', 'model', 'detailed_data', 'plot_params');
25 
26 demo_rb_gui(model,detailed_data,[],plot_params);
27 
28 disp('Press any key to continue...');
29 pause
30 
31 disp('=================================================================');
32 disp(' ');
33 disp('Second example:');
34 disp('Nonlinear Richards equation with affine geometry transformation');
35 disp(' ');
36 disp('=================================================================');
37 
38 load richards_affine_detailed_interpol
39 % detailed_data.grid = construct_grid(model);
40 % model_data = gen_model_data(model);
41 % detailed_data.model_data = model_data;
42 % model.newton_solver = 0;
43 % model.implicit_nonlinear = 0;
44 % model.local_stencil_size = 2;
45 % model.get_rb_size = @get_rb_size_default;
46 % model.enable_error_estimator = 0;
47 % save('/home/mdroh_01/projects/diss/nonlin_evol/rbmatlab/demos/datafiles/richards_affine_detailed_interpol.mat', 'model', 'detailed_data', 'plot_params');
48 
49 
50 demo_rb_gui(model,detailed_data,[],plot_params);
51 
function demo_rb_gui(varargin)
reduced basis demo with sliders
Definition: demo_rb_gui.m:17
function demo_rb_richards_fv()
A small script demonstrating the online phase of the two models from the diploma thesis "Reduzierte-B...