Register to reply 
Solving Poisson Equation by using FDM 
Share this thread: 
#1
Jun812, 01:25 AM

P: 4

I need help from any one urgently,
I need C code for Solving Poisson Equation has known source with Neumann condition by using FDM (finite difference method) in 2D problem. 


#2
Jun812, 08:24 AM

P: 1,666

1. Helps if you show effort rather than just ask for a handout. 2. Helps if you don't say urgent. Kinda' offensive like we gonna' stop what we're doing and help you cus' you said urgent. 3. Try and work on simple ones first just to get the hang of using this method. Work on a simple one you already know the answer so you can check your work. Any PDE text will have a section on numerical methods. Forget about Poission's equation for now and just go over the simple examples in the book. 4. You phrased your question in terms of code. Usually we don't do code in here expecially C cus' Mathematica is way easier. If you need help with code, we have subforums below under "Mathematical Software" that may be more appropriate for your question. 5. Try and remember whenever you have a tough problem you can't solve, put it on the backburner and work on a simpler, related one first, get that one right, then build up the problem to the one on the backburner. For example solve Laplace's equation numerically first. Then for example if the nonhomogeneous component of Poission's equation is complicated, just solve it for say a constant term or just f=x for starters then build it back up to the equation you wish to solve. 6. Don't doublepost: don't make an identical post in the Mathematics Software forum. You'll just tick them off more. So here's my best advice: Make some genuine effort on say a simple problem, preferably in Mathematica code. Then go to the Mathematics Software forum, read some of them to get a hang of the dialog. Write up some Mathemtaica code to show effort, then ask for help on that problem (since it's not this one it's not a doublepost). Those guys in that forum are really good. 


#3
Jun812, 09:19 AM

P: 834

I don't think anyone is just going to give you code here. Write the Poisson equation as a partial differential equation, and just replace the partial derivatives by differences between neighboring points/timeslices.



#4
Jun812, 05:23 PM

P: 2

Solving Poisson Equation by using FDM
I can't post a link, since this forum will not let me. But if you go to my web site and click on the Mathematica applets page near the top, you'll see the poisson applet there. Just google my name (Nasser Abbasi). I have to make 10 posts here for this forum to let me post a link it seems. Source code is there. Feel free to translate it to C. Many differenent methods. Pick the solver you like. Poisson 2D, Supports Neumman and Dirichlet boundary conditions. Different grid size on each dimension. The Mathematica Applet is there that you can run from your browser. Nasser 


#5
Jun1212, 09:01 AM

P: 4

Sorry for late reply and thank you jackmell for your advices. I have just started to use this forum, so I have no about how the discussion should be here. The aim of my post to know if there is somebody can help me in solving poison problem, if i get reply, I can then ask precisely about what I want to solve. I did effort to solve the problem of course and i got some problems and this why I want to discuss here to find the solution. I will write that in another reply post. Anyway, thank you for the advice and showing me the way, and I hope you get the aim of my post.



#6
Jun1212, 09:09 AM

P: 4

Great thanks nasser_abbasi for your help by sending me your web site showing the Mathematica code. I will search and study them. If i have a problem, I will send again.



#7
Jun1212, 09:11 AM

P: 4

Thank you for your reply and I will try to work on your advice.



Register to reply 
Related Discussions  
Solving Poisson's equation with the help of Greens function  Classical Physics  4  
Gummel method solving the ntype semiconductor(Poisson equation)  Atomic, Solid State, Comp. Physics  2  
Solving fluid's Poisson equation for periodic problem or more easy way?  Classical Physics  0  
Integral involved in solving Poisson's equation  Calculus & Beyond Homework  1  
Solving Poisson's equation  Advanced Physics Homework  9 