%% Mesh Curved U-Bend
%  Create a curved U-bend shape with lengths of 10 m, 2 m, and 10 m, and widths of
%   2 m.

curvedubend = ubendCurved('Length',[10 2 10],'Width',[2 2 2]);

%
% Mesh the bend with a maximum edge length of 1 m.

mesh(curvedubend,'MaxEdgeLength',1)

% Copyright 2020 The MathWorks, Inc.