html5-img
1 / 65

Variation and weighted residual formulation

Variation and weighted residual formulation. Chapter 2. General concepts. Governing equation inΩ Boundary condition Approximate solution :

conor
Download Presentation

Variation and weighted residual formulation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Variation and weighted residual formulation Chapter 2

  2. General concepts • Governing equation inΩ • Boundary condition • Approximate solution : • Ni(x) is the basis or trial function that must satisfy the BCs • R is amount of error or residual • The better approximation, the lower error or residual • Better accuracy could be obtain by higher order approximation • Better accuracy could be obtain by using more basis functions

  3. Problem Definition heat source Q Distance along rod, x X=0 X=1 T=0 T=0 X Insulation around periphery of bar

  4. The variational method We try to find a function T(x) that minimizes or maximized integrals of The variational formulation of the problem in example (4-1) become

  5. The variational method • The idea is to find the function T(x) that extremizes I • The function T(x) satisfies the original differential equation and boundary conditions • the variational form may be used to obtain solutions to problems that are not readily admitted by the differential formulation • The variational formulation of a physical problem is often referred to as the the weak formulation

  6. Example : • Solving problem posed in the given example by the variational method • Solution • If a mimimum has been found • If a maximum has been found

  7. Example :

  8. Variational method 50 40 30 20 10 Comparison of approximate solution to problem posed in the given example Tempreture. T Ritz method ------- Variational method 0 0.2 0.4 0.6 0.8 1.0 Distance along rod, x

  9. Variational calculus • The weighted- residual methods are far easier to apply and can be used even when no variational formulation exists • All variational formulation have a corresponding differential formulation, but, unfortunately , the converse is not true: some differential formulation have no classical variational principle

  10. Variational calculus y B y(x) • The curve that results in the shortest length connecting A and B is shown along with the variation and curve y(x) A x

  11. Variational calculus • The shortest curve that connects two given points • First, we must set an integral I that represents the length of the curve. • An element are length ds from the phythagorean theorem is given by

  12. Variational calculus • a family of curves that connects points A and B in the plane of the figure. • By minimizing the integral I, we will obtian the equation of the line that results in the shortest possible length. y B ds dy A dx total length of the curve from x=a at point A to x=b at point B x=a x=b x

  13. Variational calculus • Function F must satisfy the following differential equation:

  14. Variational calculus • By using the boundary conditions:

  15. Integration by parts • Taylor’s series

  16. The differential of a function • Variation of a function F(x,y,yx) , δx=0

  17. The commutative properties • The commutative property of differentiation and variation operators • Another commutative property is

  18. Miscellaneous Rules of variational calculus • Y and z be any continuous and differentiable functions.

  19. THE EULER-LAGRANGE EQUATIONGEOMETRIC AND NATURAL BOUDARY CONDITIONS • The necessary condition for the existence of an extremum of the functional • Is that its first variation must be zero, or

  20. THE EULER-LAGRANGE EQUATION:GEOMETRIC AND NATURAL BOUDARY CONDITIONS • Rewrite • Therefore becomes

  21. THE EULER-LAGRANGE EQUATION:GEOMETRIC AND NATURAL BOUDARY CONDITIONS • Fixed boundary conditions • Natural boundary conditions EULER-LAGRANGE EQUATION

  22. Example : Variational formulation for the given differential equation • For the problem posed in example 4-1, show that the functional to be extremized • solution

  23. Example : • The value of T is to be held fixed at either end of the interval ,the variation of T or must be zero at these two point • Condition T(0)=0 and T(1)=0, since at these points. This type of boundary condition is referred to as a geometric boundary condition • When on the boundary, we have a natural boundary condition.

  24. Example : Variational formulation for the given differential equation (1)

  25. Example : Variational formulation for the given differential equation (2) • By starting with • For the problem stated in example 4-1 drive I

  26. solution • This may be broken into two separate integrals to give:

  27. solution

  28. solution • We have T=0 at x=0  x=1 • Could be satisfied is when dT/dxis zero on the boundaries, i.e., at x=0 and x=1 in this problem. • dT/dx is zero when insulation is present. • The condition that ∂F/∂Tx is also referred to as a natural boundary condition

  29. Euler-Lagrange equation • The Euler-Lagrange equation was introduced for the class of problems whose functional F providing we also satisfy

  30. One set of natural boundary conditions must be given by While from We must have As another boundary condition geometric boundary condition are given by

  31. Variational formulation Variational formulations exist for only those problems whose differential formulations do not contain odd-ordered derivatives

  32. Weighted Residuals • The method of weighted residuals provides an analyst with a very powerful approximate solution procedure that is applicable to a wide variety of problems, it is the existence of the various weighted residual methods that makes it unnecessary to search for variational formulations to nonstructural problems in order to apply the finite element method to these problems.

  33. General concepts of weighted residuals • Governing equation • Boundary conditions

  34. General concepts of weighted residuals Unknown (but constant) parameters Trial function N arbitrary weighting functions

  35. General concepts of weighted residuals Point collocation Sub domain collocation Most popular weighted-residual methods Least squares Galerkin

  36. Problem Definition heat source Q Distance along rod, x X=0 X=1 T=0 T=0 X Insulation around periphery of bar

  37. The ritz method • R is the residual or error • Trial (basis) function Satisfy the boundary condition Does not grossly violate the physics of problem

  38. The ritz method the first – order approximation T:

  39. Point Collocation • weighting function wi(x) (x-xi) • Defined

  40. Point Collocation

  41. Example : • Using the trial function assumed in example 4-1, determine an approximate solution to the problem posed in that example by the point collocation method • Solution Only one trail function is used Only one parameter(namely, a1) Choose the collocation point x1to be in the middle of the domain, or x1=1/2

  42. Example : • Must evaluate this residual at the collocation point or at x1=1/2 and set the result to zero, or • Solving for a1 • Number of unknown parameters must be equal to the number of collocation points

  43. Subdomain Collocation • the weighting functions are chosen to be unity over a portion of the domain and zero elsewhere. Mathematically, the wi(x) are given by

  44. Subdomain Collocation • N integral equations • The different integration domains should be noted • Number of unknowns must be equal to number of integrals or number of subdomains

  45. Subdomain Collocation • Collocation weighted-residual method for three subdomains 1 w3 (x) 0 Ω1 x 1 w2 (x) 0 Ω2 x 1 w1 (x) 0 x Ω3 Ω

  46. Example : • Repeat example 4-1 by using the subdomain collocation method with the same trial function • Since only one parameter is unknown so only one domain must be used which is Ω=[0 1]

  47. Least Squares • The method of least squares requires that the integral I of the square of the residual R be minimized. the integral I is given by

  48. Least Squares

  49. Least Squares

  50. Example : • Resolve (approximately) the problem in example 4-1 by using the least-squares method and the same trail function • There is only one unknown parameter a1

More Related