%% FEATool Multiphysics Version 1.12.5, Build 20.09.258, Model M-Script file.
%% Created on 16-Sep-2020 14:26:38 with MATLAB 9.8.0.1359463 (R2020a) Update 1 PCWIN64.


%% Starting new model.
fea.sdim = { 'x', 'y', 'z' };
fea.geom = struct;
fea = addphys( fea, @conductivemediadc, { 'V' } );

%% Geometry operations.
gobj = gobj_block( [0], [1], [0], [1], [0], [1], 'B1' );
fea = geom_add_gobj( fea, gobj );
gobj = gobj_cone( [0  .5  0.5], [.4], [.2], [.3], [-1 0 0], 'C1' );
fea = geom_add_gobj( fea, gobj );
fea = geom_extrude_face( fea, 'C1', 6, 1.5204, [-1  0  0] );
fea = geom_apply_fillet( fea, { 'C1', 'EXT1' }, 0.1 );
fea.geom.objects([2]) = [];
fea.geom = geom_update_tags( fea.geom );
fea.geom = geom_revert_object( fea.geom, 'F2' );
gobj = gobj_cone( [0 .5 .5], [.4], [.2], [.3], [-1 0 0], 'C1' );
fea = geom_add_gobj( fea, gobj );
fea = geom_apply_fillet( fea, { 'EXT1' }, 0.1 );
fea.geom = geom_revert_object( fea.geom, 'F1' );
fea = geom_apply_chamfer( fea, { 'EXT1' }, 0.1 );
fea.geom = geom_revert_object( fea.geom, 'CH1' );
fea = geom_split_object( fea, { 'EXT1' }, [-1.5  0.5  0.5], [1 0 0] );
fea = geom_apply_chamfer( fea, { 'SP2' }, 0.04 );
fea.geom = geom_revert_object( fea.geom, 'CH1' );
fea = geom_apply_fillet( fea, { 'SP2' }, 0.2 );
fea.geom = geom_revert_object( fea.geom, 'F1' );
fea = geom_apply_fillet( fea, { 'SP2' }, 0.1 );
fea.geom = geom_revert_object( fea.geom, 'F1' );
fea = geom_apply_fillet( fea, { 'SP2' }, 0.21 );
fea = geom_apply_fillet( fea, { 'SP2' }, 0.2 );
fea.geom = geom_revert_object( fea.geom, 'F1' );
fea.geom = geom_revert_object( fea.geom, 'SP1' );
fea.geom = geom_revert_object( fea.geom, 'SP2' );
fea = geom_apply_fillet( fea, { 'EXT1' }, 0.2 );

