Partial differential equation discretization. HELP D:

maistral
Messages
235
Reaction score
17
So figuratively, I'm trying to win a nuclear war with a stick. :smile: I did not take any course in PDEs, I just self-studied some of them, and now I'm toast. :smile:

First, please feel free to hurl rocks at me if my simplification is incorrect:

https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/t1/q71/1545789_719161698116788_1463986171_n.jpg

Second, how do you discretize ∂2u/(∂x∂y)? Is it:

(ux+1,y - 2ux,y + ux-1,y)(ux,y+1 - 2ux,y + ux,y-1)/((xi+1 - xi)(yi+1 - yi))

I might have a few more questions after this. Sorry if everything I'm saying is incorrect, please don't be harsh. I'm telling the truth when I say that we didn't cover this in our numerical methods class and I didn't take a PDE course. Thanks!
 
Physics news on Phys.org
First:
Your equations looks right as long as \mu does not depend on x…
(If \mu does depend on x, they might still be a decent approximation if \mu does not vary much, but I don't know what problem you are working on... )

Second:

Last section of: http://en.wikipedia.org/wiki/Finite_difference . ;)

I don't have any PDE courses either, so not sure exactly how to derive it. I think you can derive it straight from the definiton of the taylor series of a function of two variables and dropping higher order terms :)
 
Last edited:
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top