Filter löschen
Filter löschen

Finite Element method (FEM) for fft and alanyze it

1 Ansicht (letzte 30 Tage)
biniam tsegai
biniam tsegai am 1 Dez. 2020
can you please look at this code, I am not sure what is wrong with the code,
clear all;colordef white;clf
% materials
E = 10e7; poisson = 0.30;
% matriz C
C=E/(1-poisson^2)*[1 poisson 0;poisson 1 0;0 0 (1-poisson)/2];
% load
P = 1e6;
%Mesh generation
Lx=5;
Ly=1;
numberElementsX=20;
numberElementsY=10;
numberElements=numberElementsX*numberElementsY;
[nodeCoordinates, elementNodes] = ...
rectangularMesh(Lx,Ly,numberElementsX,numberElementsY);
xx=nodeCoordinates(:,1);
yy=nodeCoordinates(:,2);
drawingMesh(nodeCoordinates,elementNodes,'Q4','k-');
numberNodes=size(xx,1);
% GDof: global number of degrees of freedom
GDof=2*numberNodes;

Antworten (0)

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by