|
[Sponsors] |
February 3, 2009, 19:23 |
multigrid for laplace equation
|
#1 |
Guest
Posts: n/a
|
has any one attempted to write code for multigrid method for laplace equation ?
|
|
February 16, 2009, 18:42 |
Re: multigrid for laplace equation
|
#2 |
Guest
Posts: n/a
|
Yes. I wrote already.
|
|
February 16, 2009, 18:50 |
Re: multigrid for laplace equation
|
#3 |
Guest
Posts: n/a
|
ok..dats great how many state v cycle is it?
and which language u have used? can you send it to me on my mail address?? devalpandya@hotmail.com/ and btw where are you from? as in some university or company? |
|
February 16, 2009, 18:59 |
Re: multigrid for laplace equation
|
#4 |
Guest
Posts: n/a
|
You don't need to write for several cycles. You need to put it in a loop and repeat the cycles untill converges. I wrote it in a new version of Fortran (fortran 95, or 2003). You need to use recursive subroutine (not exist in fortran 77). It can be V-cycle or W cycle, based on your parameter. If gamma=1 , it will be V cycle, 2 or more, will be W. Because of some copyright restrictions, I am not allowed to send the code. But if you have any problem, pls feel free to ask.
|
|
February 16, 2009, 19:06 |
Re: multigrid for laplace equation
|
#5 |
Guest
Posts: n/a
|
ya thank you so much.. i have to write 7 stage v cycle code, its just a project in my multigrid class. once i start with it will as you .. can you give me ur email address.. i'd be writing it in matlab..
|
|
February 16, 2009, 19:09 |
Re: multigrid for laplace equation
|
#6 |
Guest
Posts: n/a
|
It is possible to write several stages, but it is really not necessary. You can put a loop from 1 to 7, replacing of writing 7 stages. email: mohamednabi@hotmail.com
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 06:27 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 08:56 |
Multigrid for Euler's equation | srinath | Main CFD Forum | 0 | August 17, 2008 13:58 |
Multigrid Method for Euler Equation | Vidhyashankar.N | Main CFD Forum | 2 | March 23, 2008 21:14 |