Тёмный

Approximate Solutions - The Galerkin Method 

Good Vibrations with Freeball
Подписаться 38 тыс.
Просмотров 41 тыс.
50% 1

Finding approximate solutions using The Galerkin Method. Showing an example of a cantilevered beam with a UNIFORMLY DISTRIBUTED LOAD.
Governing Equations: Weak Forms vs Strong Forms:
• Governing Equations: W...
The Ritz Method:
• Approximate Solutions ...
Download notes for THIS video HERE: bit.ly/3H5qKcv
Download notes for my other videos: bit.ly/37OH9lX
0:00 Introduction
1:00 The Method of Weighted Residuals
8:14 The Galerkin Method - Explanation
13:37 Orthogonal Projection of Error
20:49 The Galerkin Method - Step-By-Step
23:26 Example: Cantilever beam with uniformly distributed load using Galerkin's Method - Shape Functions
28:53 Example: Cantilever beam with uniformly distributed load using Galerkin's Method - Solving for the Constants
31:22 Example: Cantilever beam with uniformly distributed load using Galerkin's Method - Solution
32:57 Quick recap

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 102   
@pauloedmachado9137
@pauloedmachado9137 2 года назад
Nice video, but I just don't get how the load f(x) was taken out of the integral as a constant, if it's a function of x
@Freeball99
@Freeball99 2 года назад
I realize that I wasn't clear enough about this, but I made the assumption that f(x) was constant (at the time when I took it out of the integral) - so this is the result for a constantly distributed load. I should have made a point of mentioning that! Thanks for catching it.
@pauloedmachado9137
@pauloedmachado9137 2 года назад
@@Freeball99 oh ok Thanks!
@Stone2home
@Stone2home 2 года назад
@@Freeball99 I had the same question; now I can quit scritching my head.
@jpsmathematicsworld9883
@jpsmathematicsworld9883 Год назад
Good explanation, but I was having the same question that initially he took f as a function of x and finally converted it into constant without explanation. But he answered you so.....
@veal4
@veal4 4 месяца назад
I have a feeling distributed load in real life also depends on displacement: f = f(x, w)
@nickgenin21
@nickgenin21 8 месяцев назад
the best video on this topic here in RU-vid. Great job, professor. You make it so clear and really easy to understand
@blackguardian89
@blackguardian89 2 года назад
The day just become better! A long waited video and I hope that there will be many more! Thank you!
@Freeball99
@Freeball99 2 года назад
I hope so too!
@omarsaleem1352
@omarsaleem1352 Год назад
Your Videos are awesome. I spent this weekend watching and applying the tutorials in which you explained coding by python. I can't find the right words to describe how much I'm impressed with your work. Thanks a lot for your efforts and time and I hope you will add more in the direction of python coding.
@POPO-kk6nh
@POPO-kk6nh 9 месяцев назад
Fantastic explanation!!! I couldn't resist waiting for the end of the video to leave a comment. It couldn't be more explicit and I REALLY needed to learn this method. Thank you very much.
@delfipotters3161
@delfipotters3161 Год назад
Incredible video. I have been searching through textbooks to find an explanation for why we would want our basis functions to be orthogonal to the residual, and I couldn't find anything. Thank you so much. I understand the concept so much better now.
@Freeball99
@Freeball99 Год назад
From my experience, almost nobody seems to explain this.
@arunperiyal320
@arunperiyal320 2 года назад
I have been waiting for more of your videos.😍
@zillenjunge
@zillenjunge Год назад
The reference to the weighted residuals was really helpful. Interesting generalization of collocation and least squares methods, which were familiar to me.
@behzadtaghipour6394
@behzadtaghipour6394 11 месяцев назад
Thanks alot! specially the explanation of the concept of orthogonality. that was what i was looking for great job!
@AmericanDream_VNPride
@AmericanDream_VNPride 6 месяцев назад
Thank you Sir! This is a beautiful explanation that I could not ask for more. It clears my mind and give an aha moment! Salute.
@jimmypostwala8741
@jimmypostwala8741 8 месяцев назад
You saved so much of my time … I heard my professor for weeks strong form weak form …. Dint understand at all what is he tryna accomplish…. What a breadth of fresh air !
@Freeball99
@Freeball99 7 месяцев назад
For more on weak forms and strong forms, watch this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4f1601w4syI.html
@iuryt
@iuryt 4 месяца назад
I am really impressed on how pedagogical this is
@johnsmithsu310
@johnsmithsu310 2 года назад
Explanation was Awestruck!!! I hope in future video you will share us about explanation and problem solving Space Frame 🙏
@JavArButt
@JavArButt Год назад
Now I understand what I was reading for some time - thank you for this lecture
@kenankenan6371
@kenankenan6371 10 месяцев назад
Your explanation methods your approach is brilliant!!! Thank you dear professor!
@Freeball99
@Freeball99 10 месяцев назад
You are most welcome!
@minnimau1
@minnimau1 2 года назад
That really helps me for my exam! Watching the video makes it so much clear and when Im now reading the chapter in the book everything makes sense! Keep it up!!
@rezamadoliat2074
@rezamadoliat2074 2 года назад
Thank you very much for your comprehensive and complete explanation.
@xino951
@xino951 Год назад
I really really should search explanations in RU-vid, I needed this 3 weeks ago for my finals!
@wangAo-gw4xu
@wangAo-gw4xu Год назад
THANKS FOR YOUR SPEECH!
@twa5010
@twa5010 6 месяцев назад
Hello thank you for great visually explanation of orthogonality
@frannieves8495
@frannieves8495 3 месяца назад
Fantastic video; congratulations and many thanks.
@Freeball99
@Freeball99 3 месяца назад
Glad you enjoyed it
@lujqian
@lujqian 3 месяца назад
Very nice video and the great lecturer. Explained clearly. Thanks a lot.
@Freeball99
@Freeball99 3 месяца назад
Glad you liked it
@nellyclg8038
@nellyclg8038 Год назад
Great video, thank you so much !
@uqyge
@uqyge 9 месяцев назад
brilliant.every stem student should take a look. best on garlerkin method
@NguyenDinh23
@NguyenDinh23 Год назад
That's great video. Thank you so much
@Freeball99
@Freeball99 Год назад
You are welcome!
@cp3408
@cp3408 Год назад
Keep it up!!
@ibrahimozturk0671
@ibrahimozturk0671 Год назад
THIS IS GOLD
@masoudmirzaei8243
@masoudmirzaei8243 7 месяцев назад
Excellent
@ghufranullahkhan7479
@ghufranullahkhan7479 2 года назад
Thanks a lot for this. It will be great if we get videos on the finite element implementation in Matlab or python.
@Freeball99
@Freeball99 2 года назад
We're going to get to finite element theory soon in the context of variational principles. However, in the meantime, I do have a playlist with some introductory FEM videos and Python code to accompany it. ru-vid.com/group/PL2ym2L69yzkaue8Ly2Oz51LALRzUV8LZ0
@nicolasramirez3944
@nicolasramirez3944 2 года назад
Awesome! Just took a finite element course last semester, and this explanation was wonderful
@nicolasramirez3944
@nicolasramirez3944 2 года назад
Thank you for working out the example, but this is only the solution for a constant load f correct? The discussion on orthogonality was helpful.
@Freeball99
@Freeball99 2 года назад
Yes. The final result is for a uniformly distributed load. I make this assumption at 29:35 where I take f outside of the integral because it is constant. Up to that point, it is valid for any distributed load.
@nicolasramirez3944
@nicolasramirez3944 2 года назад
@@Freeball99 Thank you!
@PATHMINDER
@PATHMINDER 2 года назад
Thanks in advance.
@SeverSpanulescu
@SeverSpanulescu Год назад
Execllent tutorial, I would recommend this to all students. Just a small correction (non-important here): at 7:02, the Dirac function is not 1 at x=xn. You intended to say that Its integral from minus to plus inf is 1.And the integral of a function multiplied by Dirac function gives the value othe function in xn. This gives indeeed the well-known relation 4.
@Freeball99
@Freeball99 Год назад
Yes, you're exactly right! I misspoke. I should have said that the integral of the function is 1. The math, however, is correct.
@jv2781
@jv2781 2 года назад
Great video as always. Are you using the "Solid Mechanics a Variational Approach" by Clive and Shames for this like your previous videos?
@Freeball99
@Freeball99 Год назад
Nope. I found Dym [sic] and Shames to be somewhat lacking in their explanation of the Galerkin Method. For this video I used a combination of my class notes and some articles that I found online. I didn't follow a single source, but rather just gathered a bunch of information from various places and tried to include what I thought were the best parts.
@riadelhamoud8224
@riadelhamoud8224 2 года назад
Thanks a lot !!! Your videos are short but very important. Could you at the end some references, so i can dig more 😁
@Freeball99
@Freeball99 2 года назад
Try Dym & Shames, "Solid Mechanics. A Variational Approach"
@Shivankaes
@Shivankaes 3 месяца назад
Fantastic Video, Can you suggest some of the books where i can find these type of crux and make my knowledge of FEM stronger.
@Freeball99
@Freeball99 2 месяца назад
For classical FEM, anything by Klaus-Jurgen Bathe and for more modern approaches, meshless methods, etc. I'd recommend the books by Satya Atluri.
@rezamadoliat2074
@rezamadoliat2074 2 года назад
many thanks for your excellent explanations. hopefully, the extension of your Galerkin's method for a real problem will appear later. I mean those problems which do not have exact solutions. for the solved problem, how we can use a trial solution of lower degrees such as a third-order polynomial. In finite elements, we mainly look for an approximate solution. getting a higher-order degree polynomial would be fine, but what about considering the lower-order polynomial?
@Freeball99
@Freeball99 2 года назад
I will certainly be making additional video showing examples of the Galerkin Method. Was impossible to cram all of it into one video. So I began with something simple for which we knew an exact result and will extend it from there. This will include (likely next) showing how to solve this same problem using a weak formulation (including 1st order shape functions) and also the effect of increasing the number of terms in the approximation of the displacement. Will also include a video showing example(s) for which exact results are not possible. Just trying to break this all down into bite-sized chunks.
@bettercallsha0
@bettercallsha0 Год назад
Great content! In orthogonal projection part, the explanation seems to correspond better to least square method and more assumptions are necessary to connect the dots to galerkin. In the projection examples, the residual is linearly dependant on the shape function (basis vectors), thus least square and galerkin are identical. In the strong form of the beam equation, the residual is linearly dependent on the 4th x derivative of the shape function, thus least square demands we use d(w_xxxx)/d(a_i) as the basis vectors as those are the linearly contributing components to the residual, which makes perfect sense to me. But galerkin instead uses d(w)/d(a_i) as the basis, the reason for this substitution is unclear in the explanation (also unclear to me). I assume some additional assumptions are made about the nature of the beam equation? I hope I am making sense😅 Thank you for the great content!
@Freeball99
@Freeball99 Год назад
Yes, your comment makes sense. I am unsure too how Galerkin arrived at his choice of shape function. Since his paper was written in Russian (which I don't understand), and since I have not found any suitable translations or explanations for why he chose this weight function, I too don't have the answer to this. Interestingly, I haven't been able to find any articles or papers that explain it. All of them seem to just accept it rather than offer an explanation as to why it is. I tried working through it mathematically where I assumed that the weight could be treated as the variation of the displacement (even though all the texts tell us that the Method of Weighted Residuals is not based on a variational principle). I seemed to get close to proving that using Galerkin's weighting method was the equivalent to converting the Method of Weighted Residuals into a variational method (like the Ritz Method), but I couldn't quite get the math to work out. This is why, the best answer I could arrive at is that the shape functions provide a basis to the space and that the orthogonal error projection means there is no error in the directions of each basis vector and thus no error within that space spanned by the basis vectors. BTW - I don't believe this has to do with assumptions regarding the nature of the beam since this method can be used for solving differential equations in general for all sorts of problems - not just beams. Thanks for your feedback. If you manage to figure it out, I would love to hear about it.
@mihkelkorgesaar4368
@mihkelkorgesaar4368 Год назад
How was this video made? It seems that you have prewritten the slide and here u somehow show the specific equations while recording your voice? Or did you use some video making software (premiere pro?). Whst soft are u making notes? I am asking cause i need to do the same with min effort. I did premiere pro once but this was quire an effort… anyway great job, love the videos
@Freeball99
@Freeball99 Год назад
The app is called "Paper" by WeTransfer. It is running on an iPad Pro 13 inch and I am using an Apple Pencil. Parts of the slide can be deleted and then recovered by using the "undo" function. By selectively deleting pieces of the slide (in reverse order) and then undoing this, the pieces of the slide can be displayed as I present it. I am using Quicktime to capture the screen recordings and audio and then I edit the videos using iMovie to allow them to flow. Pro Tip: Make sure to duplicate your slides before attempting this. The app can be a little buggy at times and quit midway - in which case the deleted parts of the slide cannot be undone and remain deleted and you can end up losing your slide.
@mohamedat5169
@mohamedat5169 Год назад
Great video At 17:28, why do we care that the residual which is in terms of forces, be orthogonal to our functions for displacement which describe space? Intuitively it would make more sense if we had the difference between the true solution and our approximate solution be orthogonal to our approxmate solution. Could you clear this up?
@Freeball99
@Freeball99 Год назад
We are attempting to solve the equations of motion, which is why we apply the orthogonality condition there. As a result, we get a constraint on the derivatives of the approximate solution (4th derivative in this case). This is actually a more (much much more) stringent constraint than any constraint involving simply w itself. This is because differentiating an approximate solution increases the error and integrating it smooths out the error.
@steveshaver4000
@steveshaver4000 2 года назад
Hi! What are the units of the third derivative? Can you explain how you obtain shear from approximate displacement? Also, what are the units of the other derivatives?
@Freeball99
@Freeball99 Год назад
With each derivative, you are effectively dividing by distance. The unit of displacement is the unit of distance (like m or ft). So w, x is the slope and has units of radians (which are dimensionless). The 2nd derivative w, xx has units of "per unit length", but really it's radians/length and is a measure of curvature. When multiplying by EI (which has units like Force x distance^2), then this becomes a moment (force x distance). Taking the 3rd derivative of the displacement, w,xxx gives us units of radians/(length^2) and multiplying this by EI give us the shear force. So we get from the approximate displacement to the shear force by taking the 3rd derivative and multiplying by EI.
@gloryforthehord6575
@gloryforthehord6575 Год назад
Hi ! Thank you for this video, it helped a lot ☺ There's something I still don't understand, though. It is quite clear to me that we want the residual R(x) to be orthogonal to the function basis in which we express the force F\tilde, but I don't understand why this can be extended to the function basis phi_i(x) in which we express the approximated displacement W\tilde. I would rather have R(x) orthogonal to the psi_i(x) basis which is the basis used to approximate F\tilde. But then, how can we link the psi_i(x) basis to the phi_i(x) basis ?
@Freeball99
@Freeball99 Год назад
It's hard to know exactly why Galerkin came up with this method because I haven't yet found a translation of his paper nor an explanation in English. My understanding, however, is that since we are finding an approximate solution, which exists in the function space defined by the shape functions used in the response, it seems that by ensuring that R(x) is orthogonal to the shape functions, it means that R(x) does not appear in the solution/response space. By adding more shape functions to the response, we thereby drive the residual error to zero.
@nebiyoukassahun618
@nebiyoukassahun618 8 месяцев назад
Dear sir this method checks not only orthogonality of two function but co linearity of two functions as long as they dont make up an area in between them, they will satisfy this equation.
@Freeball99
@Freeball99 8 месяцев назад
Not sure I follow this. How does this check for co-linearity?
@meysamjafari
@meysamjafari 4 месяца назад
This course has been incredibly enlightening! 🌟At 24:15, just to clarify, when we introduce w tilde, does it imply that x, x^2, x^3, and x^4 are our shape functions?Instead, it appears that we're making assumptions about its functional form based on the number of boundary conditions, as highlighted in the steps. Then, we proceed to determine its coefficients in terms of one of these conditions. Subsequently, utilizing d(w tilde) / d(ai), we derive the Phi'i. But do we predefine Phi's or derive them? It's a fascinating process! 🤔💡
@Andy-hy8px
@Andy-hy8px 4 месяца назад
No, x, x^2, x^3, and x^4 are not our shape functions because our shape functions need to satisfy ALL the boundary conditions. Instead I am showing here how one can easily find a shape function using a polynomial approach and then applying the boundary conditions to determine (some of) the constants. Since we have 4 boundary conditions, we need at least 5 constants; 4 of them in order to satisfy the BC's and then at least one more which will be determined using the Galerkin Method. After substituting the boundary conditions to eliminate 4 of the constants, I arrived at the form in equation 25 (27:35). This now in the form of a constant multiplied by a shape function (which satisfies all BCs).
@meysamjafari
@meysamjafari 4 месяца назад
Thank you for the explanations and for taking the time to share your insights! Much appreciated! 🙏 @@Andy-hy8px
@nicolasramirez3944
@nicolasramirez3944 2 года назад
Any suggested further reading on orthogonality of functions? I am TOTALLY with you in your "analogy" of minimizing error when it's thought of as a vector resulting in an orthogonal projection... But to make the jump into functions I just follow by faith. Is this a lienar algebra topic?
@Freeball99
@Freeball99 2 года назад
Yes, it is a linear algebra topic. Try to find something on function spaces.
@Freeball99
@Freeball99 Год назад
This might be of interest... math.stackexchange.com/questions/1209408/why-is-a-function-space-considered-to-be-a-vector-space-when-its-elements-are
@maxip.4380
@maxip.4380 4 месяца назад
Great video. I got lost in the beginning. What is phi_i? And what does it stand for?
@Freeball99
@Freeball99 4 месяца назад
The φ_i's are the shape functions. The process begins by assuming an approximate displacement field consisting of constants and shape functions - i.e. w_approx = a_1 φ_1 + a_2 φ_2 + a_3 φ_3 +... with the φ_i's satisfing the boundary conditions.
@andyvald3s
@andyvald3s Год назад
What books are good for introducing both the Galerkin method, the variational method and weighted residue?
@Freeball99
@Freeball99 Год назад
For Variational Calculus, you can try Dym & Shames, "Solid Mechanics: A Variational Approach" I don't really have any good ones for Galerkin and weighted residuals on the top of my head. Many textbooks explain this stuff rather poorly, which is why I wanted to make a video - although it's going to require several more to really cover the topic well. Perhaps your could try KJ Bathe's "Finite Element Procedures" if you can find a copy of it somewhere. Anything by Bathe on the subject should be good.
@insainsin
@insainsin 2 года назад
The dirac delta function is equal to infinity, not 1, at x=x_i.
@Freeball99
@Freeball99 2 года назад
I misspoke. I should have said that the integral of the function is 1.
@legendary_egg
@legendary_egg Год назад
I believe that once you move the residual outside the integral in Eq. 29 (with the assumption of a constant f) the entire integral could have been cancelled right away. I assume that you performed the subsequent calculations for pedagogical reasons? Also, thank you for the excellent videos!
@Freeball99
@Freeball99 Год назад
Yes. I was trying to demonstrate that the integral did, in fact, go to zero as it's supposed to.
@mayureshsalunkhe3732
@mayureshsalunkhe3732 Год назад
How to solve coupled differential equations in 2-D using the Galerkin method, which contains two dependent variables and two independent variables?
@Freeball99
@Freeball99 Год назад
I will need to make a video on this. It's going to be impossible to explain it in the comments I'm afraid.
@christosgeorgiadis
@christosgeorgiadis Год назад
I'm a little bit confused. What's the difference between mode shape and shape function? Are these two concepts related in a manner?
@Freeball99
@Freeball99 Год назад
Using a shape function is a technique to distribute the nodal displacements of the beam along its length. In general, these shape functions need to satisfy exactly the boundary conditions, but beyond that they simply approximate the displacement at all other points along the beam - ie it provides a spatial representation of the displacement and other properties at every point along the beam. The mode shape can be thought of as a special case of the shape function which represents the EXACT distribution of the displacement over the length of the beam. While using the mode shape will always give more accurate (exact) results, it is often hard to find. For this reason, we use shape functions that simply satisfy the boundary conditions in order to provide approximate solutions.
@barrysilver2075
@barrysilver2075 Год назад
are you from SA ? greetings from an ex-toti character ...great video and nice explanation
@Freeball99
@Freeball99 Год назад
Ja. From Durbs originally.
@barrysilver2075
@barrysilver2075 Год назад
@@Freeball99 Lekker by die see ! ... on a more serious note ...do you know of any nice and easy reference books etc that could help me with recasting PDE's into variational form
@Freeball99
@Freeball99 Год назад
@@barrysilver2075 My goto text on Calculus of Variations is "Solid Mechanics: A Variational Approach" by Dym & Shames. You can probably find a PDF online. Not sure that it specifically shows how to cast PDEs into variational form, but there's likely enough background on variational principles in there to allow you to figure it out.
@SuperDeadparrot
@SuperDeadparrot Год назад
What if you just subtract lines 1/ from 2/? That gives E I ( W,xxxx - W~,xxxx ) = -R( x ) and work from there?
@Freeball99
@Freeball99 Год назад
Sorry for the delayed response, but I somehow missed this until here... The problem with this is that we do not know what w is. This is why we are trying to find an approximate solution.
@user-eq6te1mw8e
@user-eq6te1mw8e 2 года назад
Can we see the method on a problem that requires a numeric solution?
@Freeball99
@Freeball99 2 года назад
Yes. I will be showing several additional examples using the Galerkin Method.
@Ed-of8rf
@Ed-of8rf 7 месяцев назад
Great video, but unnecessary parameter changes have made a simple equation confusing. When using ai, you may not change it to ci, or wi, etc.
@Freeball99
@Freeball99 7 месяцев назад
The a's and c's are just dummy variables which is why they can be readily interchanged.
@user-tj4pk2kw3y
@user-tj4pk2kw3y 9 месяцев назад
Orthognal in vectors is diffrent with functions i don't under stand
@Freeball99
@Freeball99 9 месяцев назад
Try to find a book or articles on function spaces (which is a topic of linear algebra). Here is an example math.stackexchange.com/questions/1209408/why-is-a-function-space-considered-to-be-a-vector-space-when-its-elements-are
@fawgawtten9515
@fawgawtten9515 4 месяца назад
Please be my professor
@wangAo-gw4xu
@wangAo-gw4xu Год назад
THANKS FOR YOUR SPEECH!
Далее
Timoshenko Beam Theory Part 1 of 3: The Basics
24:13
Просмотров 11 тыс.
47 - Discontinuous Galerkin methods - Introduction
24:19
He turned a baseball into a stylish shoe😱
00:59
Просмотров 1,1 млн
The Man Who Solved the World’s Hardest Math Problem
11:14
Finite element method - Gilbert Strang
11:42
Просмотров 242 тыс.
Governing Equations: Weak Forms Versus Strong Forms
16:34
The Brachistochrone Problem
20:44
Просмотров 60 тыс.
Deriving Hamilton's Principle
23:57
Просмотров 59 тыс.
Understanding the Finite Element Method
18:36
Просмотров 1,6 млн