Info

This question is closed. Reopen it to edit or answer.

Want to divide the element into mesh and to get the data of nodes and elements. But its showing error

1 view (last 30 days)
if true
% code
end%Density_of_mesh = input('Enter the Mesh Density (max:5): ');
Density_of_mesh = 4;
Thickness_of_material = 1 ;% (mm)
Thickness = [5 10 5]; % thicknesses of the layers from bottom
len_width = [0 0 80] ;% width of layers ; TOTAL width = 80mm
thk_div = Density_of_mesh*[3 3 2] ;% no. of division for each layer
len_div = Density_of_mesh*8; % no. of division along length
% Material Properties
youngs_Modulus = [200000 500 2200]; % for t1, t2, t3, t4, t4, t3, t3, t2, t1 resp. mu = 0.3 ; % poisson’s ratio for all materials
if true
% code
end
%**************************************************************************
[CORD_OF_NODE, convty_elem, no_of_nodes, no_of_elem, el_mat_id] = mesh(Thickness,thk_div,len_width,len_div);
Error Error using mesh Too many output arguments.
Error in Assignment (line 24) [CORD_OF_NODE, convty_elem, no_of_nodes, no_of_elem, el_mat_id] = mesh(Thickness,thk_div,len_width,len_div);

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!