u/w142236
Did dunkey react to the latest direct?
Does he stream anymore?
Least-Squares Finite Element Method?
Is anyone here familiar with this discipline element methods? Any good books on it?
I asked earlier about finding the a stable weak form of
du/dx = fu
where I originally tried finding a standard Galerkin by convoluting both sides with test function, v, but this weak form produced unstable solutions which went to infinity everywhere.
So, on a whim, I decided to ask AI to see what it thought. It came up with a form it says it derived from “Least-Squares Finite Element Method”. I had not heard of this before, but the form it provided was stable and produced accurate solutions, so I wanted to see if anyone here knew about this, and could provide a resource to look further into.
___
Here is what it came up with:
Function to minimize: J(u) = 1/2 ||R(u)||^2 = 1/2 ∫_0^L [(du/dx-f)^2 ]dx
Take the variation: lim_ϵ→0 d/dϵ[J(u+ϵv)]
This resulted in
bilinear term: a(u,v) = ∫_0^L [du/dx dv/dx]dx
Linear term: L(u) = ∫_0^L [f dv/dx] dx
Weak form: a = L. This weak form I tested in Fenics, and the results came back perfectly accurate for my examples, so it seems to have come up with something that works, but it didn’t show any of its sources, so I can’t take this as fact without opening up a book or resource to verify it for myself.
Is there a weak form for first-order differential eauations?
Something like the ODE du/dx = f(x), or the PDE ∂u/∂x=f(x,y).
For the 2nd-order PDE, being Poisson’s Equation, we simply convolute both sides with a test function, and the solutions using this form are stable. But, if we try to do the same for these 1st-order differential equations, the solutions are unstable and diverge. Are there weak forms for these problems that yield stable solutions?
Could someone explain the concept of a solution being “single-valued”?
I also don’t know what it means for a solution to be “multi-valued” either, or its implications. The term(s) came up near the end of my Partial Differential Equations textbook, but it didn’t go into depth explaining the term(s). They came up in the chapters for linear and quasilinear waves, and another dispersive waves.
What is Average_K talking about? This is Money Man’s greatest hit, Shenmue II
Also, this is a pizza 👉🍕
Yuo neeed to get out o tge vehicle and do whats right 😤😠
When is the next stream?
It’s been a while since he streamed last. Or maybe he doesn’t stream on youtube anymore?
What is the cause/source of this unusually dry pocket of lower level air over San Diego?
This lower level (around the 1km elevation mark) layer of unusually dry air has been hanging over San Diego for several days now and the minimum dewpoint temp has been steadily dropping over time.
Hi it’s me Reggie. I took a break from playing Animal Crossing New Leaf to share some gameplay footage of Mario Kart Double Dash with me and the fam. We hope you all enjoy!
Why no Dunkey in title? He used to put Dunkey in title to let us know it a Dunkey video. Why did he stop?
Is anyone here familiar with a problem like this? I’ve never seen a PDE problem where we refine a solution using residuals and/or corrections.
Here’s a breakdown of the images:
- First image: Formula relating exact V\_h and the exact potentials which create it, formulas for nth-order approximations of the potentials, the goal, and a flowchart. Also, I forgot to include the residual formulas is δ**V**_h^(n) = **V**_h - **V**_h^(n)
Images 2-5 are the flowchart and relevant formulas expanded with the boundary conditions explicitly defined
- Second image: 0th-order approximation problem for psi_h with inhomogeneous Dirichlet boundary condition defined
- Third image: 0th-order approximation problem for chi\_h with inhomogeneous Dirichlet boundary condition defined with indication that these boundary conditions depend on 0th-order psi_h
- Fourth image: 0th-order approximation of Vh is computed using 0th-order approximation solutions of potentials, then 1st-order residual of **V**_h is computed, 1st-order correction of psi\_h problem is setup using 1st-order residual to determine boundary conditions, and 1st-order correction of chi_h problem is setup using 1st-order residual and 1st-order correction of psi_h solution to determine boundary conditions.
The general form for the nth-order boundary correction formulas for the nth-order potential correction problems are
- Δψ_h^(n) (s) = Δψ_h^(n) (s_0) - ∫\_{s_0}^s [δV_h^(n) • **n**]d.s.
• Δψ\_h\^(n) (0,0) = 0
- Δχ_h^(n) (s) = Δχ_h^(n) (s_0) + ∫_{s_0}^s [δV_h^(n) • s]ds - ∫_{s_0}^s [∇(Δχ_h^(n) ) • **n**]ds
• Δχ_h^(n) (0,0) = 0
- Fifth image: 1st-order approximations of psi_h and chi_h are computed using 1st-order corrections, these first-order potentials have then been used to construct the 1st-order approximation of **V**_h, and the cycle becomes visible as we compute 2nd-order corrections from the 2nd-order residuals (using the definitions for the nth-order boundary corrections), then 2nd-order approximations of potentials are obtained and used to determine 2nd-order approximation of **V**_h, and then lastly that is used to obtain the 3rd-order residual of **V**_h.
This cycle of computing nth-order corrections, nth-order approximations, and (n+1)th-order residuals continues until we arbitrarily decide to stop.
___
I want to know if there’s a name for this repeated residual-correction process used to refine a solution. Maybe what fields you might have seen it in as well.
Supposedly this process reduces the error of the approximation of **V**_h with each iteration, however when I tried it symbolically in Python, my error actually increased after 1 or 2 iterations, and I don’t know why. So, if I could just get a name for this process, I can more easily find literature into the methodology, and that will help me figure out where I went wrong.
If anyone would like, I can also provide my Python code.
He's spawn camping now
Was just a YouTube thumbnail I saw. Thought it deserved a laugh.