Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Mechanical Engineering Expert

Problem specification:

5 kg of air is contained in the piston-cylinder device, initially at a pressure of 2MPa and a specific volume of 0.08m3/kg. The air then expands, as an ideal gas, via a polytropic process, with variable values of n, to a final specific volume of 0.30m3/kg.

Objective:

prepare down a MATLAB code to solve for the pressure and temperature variation all through the expansion process and to compute the work and heat produced in the processes for variable values of n.

Procedure:

A) Start by defining the temperature at initial state and then define the temperature and pressure at final state. Sketch a rough graph of what the process looks like on P-v coordinates. prepare out by hand the equations and steps you would take to find out the actual P, T, and v at all points all along the process. Identify unknowns, equations, constants and calculation orders.

B) By using your hand calculations as a guide, prepare a simple MATLAB m-file to compute the properties at points all along the process (minimum of 20 points, however must be a variable that can be changed) by using one of the values of n (I recommend using n = 1.5).  Plot P-v and T-v diagrams for the process by using the MATLAB.

C) Compute the work performed for the process by integrating the curve of pressure versus specific volume. Use the ‘trapezoidal area method’ for computing the integral.

D) Suppose that the specific internal energy for the air in this problem can be defined as the function of temperature as shown below:

 u(T) = (1.0344 ∗ 10−4) ∗ T2 + (6.4476 ∗ 10−1) ∗ T + (1.3727 ∗ 102)

Add code to your MATLAB program to compute the specific internal energy for the process by using the information of the pressure and specific volume at each and every state.

E) Using conservation of energy and the work computed, find out the amount of heat transferred for each process.

F) prepare a loop in the code to analyze the various values of n, or run the code for the distinct values of n asked for below.

Deliverables:

A) Hand calculations which outline planned MATLAB code.

B) MATLAB code (m-file) which find outs the state variables P, v, T, and u for the defined process, and which find outs the work and heat for each process.

C) On same graph, plot of P-v for this process with 4 different values of n: 1, 1.4, 1.5, 1.8.

D) Plot of P-v and T-v for n=1.5 on a single graph. Use the function plotyy.

E) Table summarizing results of work and heat as a function of n.

F) A brief paragraph detailing what you learned and how useful you think such skills will be for your future as an engineer.

Mechanical Engineering, Engineering

  • Category:- Mechanical Engineering
  • Reference No.:- M9610

Have any Question? 


Related Questions in Mechanical Engineering

Name several ways by which the loss of initial preload can

Name several ways by which the loss of initial preload can be reduced ? Roughly how much embedment relaxation could we expect from new parts used in a non-gasketed, steel joint? Define elastic interactions. How can elast ...

As discussed in section 11 new parameters are oten born out

As discussed in Section 1.1, new parameters are oten born out of the need to explain inconsistencies between experimental results and prevailing theory. In physics, mass is the property that determines the magnitude of t ...

List three ways to control preload directly what are the

List three ways to control preload directly ? What are the advantages of a bonded ultrasonic transducer? What is sometimes cited as a disadvantage? Can torque be used to tighten a 6 in. diameter bolt? If not, why not? Na ...

At the transition temperature of 954degc the enthalpy of

At the transition temperature of 95.4°C, the enthalpy of transition from rhombic to monoclinic sulfur is 0.38 kJ mol -1 . a. Calculate the entropy of transition under these conditions. b. At its melting point, 119°C, the ...

A steel bar of 100mm length tapers from 12mmtimes10mmfrom

A steel bar of 100mm length tapers from 12mm×10mmfrom one end to 30mm×20mm at the other. If the stress in the bar is not to exceed 100mpa,find the magnitude of the axial force. Also find the change in its length. Take E ...

The velocity profile in the annular control volume of

The velocity profile in the annular control volume of Example is approximately linear, varying from a velocity of zero at the outer boundary to a value of ωd/2 at the inner boundary. Develop an expression for the fluid v ...

Water in an open cylindrical tank 15 ft in diameter

Water in an open cylindrical tank 15 ft in diameter discharges into the atmosphere through a nozzle 2 in. in diameter. Neglecting friction and the unsteadiness of the flow, find the time required for the water in the tan ...

A series of calibration tests is conducted on a pressure

A series of calibration tests is conducted on a pressure gage. At a known pressure of 1000 psia it is found that 30 percent of the readings are within 1 psia of the true value. At a known pressure of 500 psia, 40 percent ...

A nut having an effective length of 2 in and a 12-16 un

A nut having an effective length of 2 in. and a 1/2-16 UN thread is snug tightened and then turned 308. How much preload will that create in the bolt? Is that an acceptable preload? Describe the typical torque-turn tight ...

Consider the torsion of a thin-walled tube determine an

Consider the torsion of a thin-walled tube. Determine an approximate expression for the torque if the shear stress must be less than a given working stress τw. Express this result in terms of the tube's mean radius R and ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen