%% FEATool Multiphysics Version 1.12.4, Build 20.08.221, Model M-Script file.
%% Created on 30-Aug-2020 23:58:20 with MATLAB 9.8.0.1359463 (R2020a) Update 1 PCWIN64.
disp ("Begin with objects:");
print_each_objects_tag (fea.geom)

fea.geom = geom_split_object( fea.geom, 'CJ1' );
fea.geom = geom_split_object( fea.geom, 'CS1' );
fea.geom = geom_split_object( fea.geom, 'CJ2' );
fea.geom = geom_split_object( fea.geom, 'CS1' );

disp ("Results in objects:");
print_each_objects_tag (fea.geom);

disp ("see FEATool gui window for grid slice...");

% Clear FEATool plot area
delete(setdiff(findall( ...
    findall(findall(0,'tag','featool_gui_main_window'),'type','axes')), ...
    findall(findall(0,'tag','featool_gui_main_window'),'type','axes')))
plotgrid( fea.grid, 'selcells', selcells(fea.grid, 'x>0.5') );


