Question: Write a MATLAB function which solves the two - dimensional linear elasticity problem for a singlepatch geometry. The body is assumed to be homogeneous and

Write a MATLAB function which solves the two-dimensional linear elasticity problem for a singlepatch geometry. The body is assumed to be homogeneous and isotropic. Your function should take
the form:
function [d]= Linear_Elasticity(p_1,p_2,n_1,n_2,Xi_1,Xi_2,P,w,n_q,problem)
where d is an array storing the control variables for the discrete displacement field, p_1 and p_2
are the polynomial degrees in directions \xi 1 and \xi 2 respectively, n_1 and n_2 are the number of
basis functions in directions \xi 1 and \xi 2, Xi_1 and Xi_2 are the univariate knot vectors in directions
\xi 1 and \xi 2, P is an array storing the control points for the NURBS surface, w is an array storing
the weights for the NURBS surface, n_q is the number of quadrature points in each direction, and
problem is an integer corresponding to a problem specification. The Youngs modulus E, Poisson
ratio
u , prescribed body force f, prescribed boundary displacements g1 and g2, prescribed boundary
tractions h1 and h2, Dirichlet boundaries \Gamma D1 and \Gamma D2, and Neumann boundaries \Gamma N1 and \Gamma N2
should all be determined by the integer problem. Moreover, the integer problem should determine
whether the body is subject to plane strain or plane stress. For this homework, you should have
three possible values for the integer problem, namely:
problem =
8<:
1 for Problem 3
2 for Problem 4, Part 1
3 for Problem 4, Part 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!