function pdemodel
[pde_fig,ax]=pdeinit;
pdetool('appl_cb',9);
set(ax,'DataAspectRatio',[1 1 1]);
set(ax,'PlotBoxAspectRatio',[1.5 1 1]);
set(ax,'XLim',[-1.5 1.5]);
set(ax,'YLim',[-1 1]);
set(ax,'XTickMode','auto');
set(ax,'YTickMode','auto');

% Geometry description:
pderect([-1.1876391982182628 1.277839643652561 0.87193763919821787 -0.87527839643652561],'R1');
pdeellip(0.14699331848552344,-1.1102230246251565e-016,0.29565701559020052,0.29064587973273948,...
0,'C1');
set(findobj(get(pde_fig,'Children'),'Tag','PDEEval'),'String','R1-C1')

% Boundary conditions:
pdetool('changemode',0)
pdesetbd(8,...
'dir',...
1,...
'1',...
'300')
pdesetbd(7,...
'dir',...
1,...
'1',...
'300')
pdesetbd(6,...
'dir',...
1,...
'1',...
'300')
pdesetbd(5,...
'dir',...
1,...
'1',...
'300')
pdesetbd(4,...
'dir',...
1,...
'1',...
'600')
pdesetbd(3,...
'dir',...
1,...
'1',...
'100')
pdesetbd(2,...
'dir',...
1,...
'1',...
'100')
pdesetbd(1,...
'dir',...
1,...
'1',...
'100')

% Mesh generation:
setappdata(pde_fig,'Hgrad',1.3);
setappdata(pde_fig,'refinemethod','regular');
setappdata(pde_fig,'jiggle',char('on','mean',''));
pdetool('initmesh')
pdetool('refine')
pdetool('refine')
pdetool('refine')

% PDE coefficients:
pdeseteq(1,...
'200',...
'.0',...
'(.0)+(.0).*(0.0)',...
'(1.0).*(1.0)',...
'0:10',...
'0.0',...
'0.0',...
'[0 100]')
setappdata(pde_fig,'currparam',...
['1.0';...
'1.0';...
'200';...
'.0 ';...
'.0 ';...
'0.0'])

% Solve parameters:
setappdata(pde_fig,'solveparam',...
str2mat('0','23232','10','pdeadworst',...
'0.5','longest','0','1E-4','','fixed','Inf'))

% Plotflags and user data strings:
setappdata(pde_fig,'plotflags',[1 1 1 1 1 1 1 1 0 0 0 1 1 0 0 0 0 1]);
setappdata(pde_fig,'colstring','');
setappdata(pde_fig,'arrowstring','');
setappdata(pde_fig,'deformstring','');
setappdata(pde_fig,'heightstring','');

% Solve PDE:
pdetool('solve')
