Create a programming algorithm to calculate the necessary

Assignment Help MATLAB Programming
Reference no: EM133350771

Computational Method for Aerostructures

Problem Statement

You are required to create a programming algorithm to calculate the necessary displacement of nodes for one-dimensional elements. Your program should consist of the following functions that are written as a separate function file:

Table 1: Functions for one-dimensional elements

Function file name

Description

Input

Output

Gauss_Elim.m

To perform gauss elimination on

a square matrix and output the solution

Assuming [A][x] = [b], inputs are [A] and [b]

[x]

Bar_Elem.m

To determine the stiffness matrix and forcing matrix by considering one-dimensional bar elements and calculate the nodal displacement of each

node

A, E, nodal matrix, element connectivity matrix

Nodal displacements

Truss_Elem.m

To determine the stiffness matrix and forcing matrix by considering one-dimensional truss elements and calculate the nodal displacement of each

node

A, E, nodal matrix, element connectivity matrix

Nodal displacements

Beam_Elem.m

To determine the stiffness matrix and forcing matrix by considering one-dimensional beam elements and calculate the nodal displacement of each

node

E, I, nodal matrix, element connectivity matrix

Nodal displacements     / angle

Your Task

You will need to create the functions listed in Table 1. You will need to create the Gauss_Elim.m function first, which solves matrices using the Gauss Elimination method. You will need to call this function every time you are required to solve a matrix. DO NOT use the in-built functions to solve matrices.

For the other three functions, based on the given inputs, your functions should:

1. Be able to accept the inputs listed in Table 1 for any size matrix

2. Determine the stiffness and forcing matrix of each element

3. Form the global stiffness and forcing matrix

4. Based on the boundary conditions, reduce the matrix by removing the rows and columns corresponding to a solution of zero displacements or zero angles.

5. Calculate the nodal displacements or angles and the corresponding deformed coordinates for each node

6. Output the nodal displacements and plot the deformed structure based on the determined deformed coordinates
Note that your program should also have an error detection algorithm to detect incorrect/invalid inputs. For instance, it should be able to detect if a node is missing.

Try to complete the program for one type of element first. For the other types, the code will be somewhat similar. You just have to make a small tweak to it only.

Attachment:- Computational Method for Aerostructures.rar

Reference no: EM133350771

Questions Cloud

How would the ethical decisions of leadership impact : How would the ethical decisions of leadership impact the performance of employees in addressing the problem of crime, and improve employees' ability to address
Statistical significance and null hypothesis : Describe the null hypothesis. Describe the three commonly reported levels for statistical significance when testing the null hypothesis.
How the leadership of the nypd considered the ethical : How the leadership of the NYPD considered the ethical concerns of the community in addressing crime and how were the concerns of internal and external
List four risks of juans problem behavior in the nursing : list four risks of Juan's problem behavior in the nursing home using the ABA procedure setting and why? list four benefits of Juan's problem behavior
Create a programming algorithm to calculate the necessary : MKMF 2013 Computational Method for Aerostructures, University of Technology Malaysia - create a programming algorithm to calculate the necessary displacement
Functionalism are two of three perspectives in sociology : Conflict theory and functionalism are two of the three main perspectives in sociology.
What community service you recommend to give back to society : Describe and say to be a Good, Healthy Role Model for a Young Adult Be Specific about the Characteristics and Values Needed to Be a Good Role Model Include
Forgiveness and reconciliation be dependent on imagination : How could forgiveness and reconciliation be dependent on imagination?What implications does have for role of explaining temptation in interpersonal relationship
What aspects of the research demonstrated their beliefs : What aspects of the research demonstrated their beliefs about race as a concept? In your own opinion, did the authors demonstrate having a biological

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd