Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A partially complete MATLAB function m file is shown for computing the element stiffness matrix for a four-noded quadrilateral clement. Write out the six missing

image text in transcribed
A partially complete MATLAB function m file is shown for computing the element stiffness matrix for a four-noded quadrilateral clement. Write out the six missing lines of MATLAB code. (13 Marks) function estice stitips (node, ndime, nevab, ngaus, lelem, inods, coord, young poiss, thick) 3 Initialise stiffness matrix estiti nevab, 1:nevab) = $ Set integration positions and weights [posgp, weigpl - gaussa Set element local coords eleod ( from global coordinates coord for in 1:nnode Missing code line 1 end Enter Gauss integration loop for igaus-i:ngaus: Set local coordinates xi and eta at the current gauss point position Missing code line 2 (2 statements) Shape functions, derivatives, Jacobian, elemental volume Ishape, deriv]-shapes (xi,etal ac, jaci, dets, cartd) - Jacob (ndime, nnode, elcod, xi, eta, shape, derivi: Missing code line 3 B and D matrices dmatx-amatps young, poiss)! bmatx-bmatps (ndime, nnode, cartd Form DB matrix and element stiftness matrix Missing code linea Missing code line 5 Missing code line 6 end [25 Marks for 03] A partially complete MATLAB function m file is shown for computing the element stiffness matrix for a four-noded quadrilateral clement. Write out the six missing lines of MATLAB code. (13 Marks) function estice stitips (node, ndime, nevab, ngaus, lelem, inods, coord, young poiss, thick) 3 Initialise stiffness matrix estiti nevab, 1:nevab) = $ Set integration positions and weights [posgp, weigpl - gaussa Set element local coords eleod ( from global coordinates coord for in 1:nnode Missing code line 1 end Enter Gauss integration loop for igaus-i:ngaus: Set local coordinates xi and eta at the current gauss point position Missing code line 2 (2 statements) Shape functions, derivatives, Jacobian, elemental volume Ishape, deriv]-shapes (xi,etal ac, jaci, dets, cartd) - Jacob (ndime, nnode, elcod, xi, eta, shape, derivi: Missing code line 3 B and D matrices dmatx-amatps young, poiss)! bmatx-bmatps (ndime, nnode, cartd Form DB matrix and element stiftness matrix Missing code linea Missing code line 5 Missing code line 6 end [25 Marks for 03]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel 2024 In 7 Days

Authors: Alan Dinkins

1st Edition

B0CJ3X98XK, 979-8861224000

More Books

Students also viewed these Databases questions

Question

Complexity of linear search is O ( n ) . Your answer: True False

Answered: 1 week ago