Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
How to apply loads(forces and Moment) in certain positions of nodes? If i have 8 elements, no. of nodes per element=3,no. of Degree of freedom per node=9,total no of nodes=17,Total no. of degree of freedom(ELTSIZE)=153?Attached a lookalikeC program.
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
float r_matrix[ELTSIZE], x_mat[ELTSIZE];
  int non_zero, i_z;
for (i = 0; i < ELTSIZE; i++)
    r_matrix[i] = 0;
  scanf (" %d", &non_zero);
  for (i = 0; i < non_zero; i++)
    {
      scanf (" %d", &i_z);
      scanf (" %f", &r_matrix[i_z - 1]);
    }
  printf ("%d %5.4f,i_z,r_matrix[i_z-1]\n\n", i_z, r_matrix[i_z - 1]);
The values of loading and their respectable positions is as follows:
3(non_zero)
Positions of node                    Value of load
26                                         -1000000.000
60                                         2000000.000
128                                         1000000.000
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!