PashaYa

Untitled

Jan 14th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 1.12 KB | None | 0 0
  1. %Solving not linear task to destroy contact at using finite element method.
  2. %In program uses the rectangular multiplex element.
  3.  
  4. %
  5. %Initial data (input data)
  6.    
  7.     %Parameters material contactive parts
  8.         %сталь 20л/ steel 430A
  9.         mu=0.25;        %(0,24..0,28) Poisson's coeff.
  10.         sigma_cr=216e6; %sigma_0.2
  11.         E=200e9;        %Young's modulus (for this task elastic modulus)
  12.  
  13.     %Body geometry
  14.         L=1;    %length
  15.         H;    %height parts body
  16.    
  17.     %Grid options
  18.         N=11;   %points at length
  19.         M=11;   %points at height part body
  20.  
  21. %
  22. %Elements for the program
  23.    
  24.     element_number = zeros((M-1)*2+1 ,N-1);
  25.     point_global_number_first_part = zeros(N*M ,4);
  26.     point_global_number_second_part = zeros(N*M ,4);
  27.     point_global_number_contact_part = zeros(2*N ,4);
  28.    
  29.     coordinate_first_part = zeros(N*M ,4);
  30.     coordinate_second_part = zeros(N*M ,4);
  31.     coordinate_contact_part = zeros(2*N ,4);
  32.    
  33.     sigma_first_part = zeros(N*M ,4);
  34.     sigma_second_part = zeros(N*M ,4);
  35.     sigma_contact_part = zeros(2*N ,4);
  36.    
  37. %
  38. %Program body
  39.  
  40.     %
Advertisement
Add Comment
Please, Sign In to add comment