Implement the weak form in comsol

Assignment Help Mechanical Engineering
Reference no: EM13859602

Objectives-

• To understand the general procedure of finite element formulation.

• To appreciate convergence and learn error estimation.

A) The 2n° order ODE

(d2u/dx2) + sinx = 0

with boundary conditions u(0) = 0 and u'(2Π) =1 has analytical solution

u(x) = sin x

The Galerkin weak form of this ODE is

0[- (du/dx)(dδu/dx) + sin x δu(x)] dx δu(2Π) = 0,      ∀Su(x)

with essential boundary condition u(0) = 0.

1) Implement the weak form in COMSOL, and experiment on the effect of element size and type. You may control the mesh by selecting "User-controlled mesh" under meshing and specific the maximum element size. For element type, you may open "Discretization" under "Weak form PDC' (if not shown, toggle on the option by clicking on the "eye" icon on top-left of the "Model builder").

Test Lagrange elements of all possible orders.

2) Calculate the L2 error of all cases of your study

||e||L2 = [∫7 (Uapprox -uexact)2dx]1/2

and plot the error of each element type (order) in one curve as a function of the element size.
Use log-log plot to show the general trend. You may evaluate the integral by right click on "ResultskDerived ValuesilntegrationiLine Integration", select the line, and type in the expression (integrand).

3) Re-plot the L2 error against the total number of nodes in each case (copy the results out and plot it in other software, say excel). Which element is more efficient?

4) Plot the distribution of the error of the derivative, e(x) = (du/dx) - cos x, for linear and quadratic elements (by meshing the interval into 1 or 2 element). Where are the results of derivatives more accurate?

B) Now consider the ODE

(d2u/dx2) + (1/4)x3/2= 0

with essential boundary conditions u(0) = 0 and u(1) = 1. Repeat steps (1)-(3) of the last problem for this equation. The exact solution for this equation is

u(x) = x1/2

Reference no: EM13859602

Questions Cloud

Summary or review about this film - kelly loves tony : Watch the Film/video: Kelly Loves Tony. and write an outline. I don't have the resource for this film, you can search the summary or review about this film to do this assignment
Values of the price level : Assume that the long-run aggregate supply curve is vertical at Y = 3,000 while the short-run aggregate supply curve is horizontal at P = 1.0. The aggregate demand curve is Y = 2(M/P) and M = 1,500. If the economy is initially in long-run equilibri..
Discuss the benefits to ups of the corporate sustainability : Discuss the benefits to UPS of the corporate sustainability report
Banning imports of low-wage asian clothing : 1. A representative of the American clothing industry recently made the following statement: "Workers in Asia often work in sweatshop conditions earning only pennies an hour. American workers are more productive and as a result earn higher wages. ..
Implement the weak form in comsol : Implement the weak form in COMSOL, and experiment on the effect of element size and type. You may control the mesh by selecting "User-controlled mesh" under meshing and specific the maximum element size.
Explain the need for full disclosure in financial reporting : Explain the need for full disclosure in financial reporting
Understanding the furiously religious world that we live in : Use our course texts on the Christian, Buddhist, and Islamic traditions to try to convince Dr. Stephen Prothero that his multiple mountain metaphor for studying religious traditions is not a perfect solution to understanding the "furiously religio..
Identify the stressors in john breckenridges life : Identify the stressors in John Breckenridge's life. Which ones could he have prevented?
How is pricing determined in the fulfillment process : How is pricing determined in the fulfillment process? Provide examples of data relevant to pricing.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Calculate the percent energy distribution in a steam

calculate the percent energy distribution in a steam generator that goes into steam losses to flue gases refuse and

  Determine the moment of the force about point b

A 90N force is applied to control rod AB as shown. Knowing the length of the rod is 225mm, determine the moment of the force about point B by resolving the force into components along AB and in direction perpendicular to AB?

  Should electric power plants reject energy by heat transfer

should electric power plants reject energy by heat transfer to large blocks of ice that are maintained by a

  Pin-connected structure consists of a rigid beam

A pin-connected structure consists of a rigid beam ABCD and two supporting bars. Bar (1) is an aluminum alloy [E = 70 GPa] with a cross-sectional area of A1 = 2,400 mm2. Bar (2) is a bronze alloy [E = 100 GPa] with a cross-sectional area of A2 = 6,00..

  Calculate the final temperature and heat transfer

Argon is compressed in a polytropic process with n=1.2 from 120 kPa (P1) and 10 °C (T1) to 800 kPa (P2) in a piston-cylinder device. List all the assumptions. Derive the equation of the boundary work (kJ/kg) in terms of P1, T1, & P1. It should includ..

  The exit pipe goes up an elevation of 80 ft above the water

an pumping system used for irrigation that takes water at a rate of 15 lbms from a well at 65 f and standard

  Neglecting kinetic and potential energy effects determine a

a rigid tank has a volume of 60 liters and initially contains a two-phase liquid-vapor mixture of h2o at a pressure of

  Calculate length from the fulcrum to the resistance force

A first class lever, in static equilibrium, has a 50lb resistance force and 15lb effort force. The lever's effort force is located 4 ft from the fulcrum.3. Using static equilibrium calculations, calculate the length from the fulcrum to the resista..

  Consider a simple brayton cycle using air as the working

consider a simple brayton cycle using air as the working fluid has a pressure ratio of 12 has a maximum cycle temp of

  The two tanks are allowed to reach equilibrium and the

a 5-ft3 tank contains 0.6-gravity natural gas at 700 psia and 60of. this tank is connected to anther tank containing

  A four cylinder four stroke gasoline internal combustion

a four cylinder four stroke gasoline internal combustion engine has a bore of 9.4 cm and a stroke of 8.6 cm. the

  Determine the steady state surface

A thin electric heater is wrapped around a rod of diameter 3 cm. The heater dissipates energy uniformly at a rate of 1300 W/m. Air at 20°C flows normal to the rod with a velocity of 15.6 m/s. Determine the steady state surface temperature of the h..

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