daily pastebin goal
66%
SHARE
TWEET

Untitled

DanchiZZ Jan 20th, 2019 57 in 2 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. % Initial data (input data)
  2.    
  3. % Parameters material contactive parts
  4. % сталь 20л/ steel 430A
  5. mu = 0.25;              %(0,24..0,28) Poisson's coeff.
  6. sigma_critical = 216e4; %sigma_0.2
  7. E = 200e9;              %Young's modulus (for this task elastic modulus)
  8.                
  9. % Parameters contact
  10. Cs = 0.01*E;
  11. Cn = 0.01*E;
  12.  
  13. % Body geometry
  14. L = 1;          %length
  15. H = 1/2;        %height parts body
  16. t = 1/10;
  17.    
  18. % Grid options
  19. N = 11;         %points at length
  20. M = 11;         %points at height part body
  21.  
  22.  
  23. % Program body
  24.  
  25. % Create the initial state and the grid
  26. [point_global_number ,point_coordinate_in_global_numbers] = create_grid(N ,M ,L ,H);
  27.        
  28. % Create the vector of tension
  29. tension = zeros(2*(N-1)*(M-1) ,3);
  30.        
  31. % Create the indication overloaded elements        
  32. overloaded_elements = zeros(2*(N-1)*(M-1) ,1);   %for control elements
  33.        
  34. % Create the indication overloaded point on contact        
  35. overloaded_contact_elements = zeros((N - 1) ,2);   %for overload check at basic elements
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top