how to plot a hexagonal finite element and its shape function?

3 Ansichten (letzte 30 Tage)
JITHA K R
JITHA K R am 24 Okt. 2017
Kommentiert: JITHA K R am 24 Okt. 2017
<p><&lt;/matlabcentral/answers/uploaded_files/92040/Screenshot%20(1).png &lt;/matlabcentral/answers/uploaded_files/92040/Screenshot%20(1).png>>
shape function is given by:
N1 = -0.6429

Antworten (1)

KSSV
KSSV am 24 Okt. 2017
n = 10 ;
eta = linspace(0,1,n) ;
neta = linspace(0,1,n) ;
[X,Y] = meshgrid(eta,neta) ;
N = -0.6429-X+1.1429*X.^2+0.8571*Y.^2+1.5*X.^3+0.8333*X.*Y.^2-1.5238*X.^2.*Y.^2 ;
surf(X,Y,N)
  1 Kommentar
JITHA K R
JITHA K R am 24 Okt. 2017
i wanted to plot hexagon on x y axis and then plot value of N1 at every node of hexagon.also it should give value of 1 at node 1 and all other nodes it should be zero.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by