CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

multigrid for laplace equation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 3, 2009, 19:23
Default multigrid for laplace equation
  #1
deval
Guest
 
Posts: n/a
has any one attempted to write code for multigrid method for laplace equation ?
  Reply With Quote

Old   February 16, 2009, 18:42
Default Re: multigrid for laplace equation
  #2
Nabi
Guest
 
Posts: n/a
Yes. I wrote already.
  Reply With Quote

Old   February 16, 2009, 18:50
Default Re: multigrid for laplace equation
  #3
deval
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?
  Reply With Quote

Old   February 16, 2009, 18:59
Default Re: multigrid for laplace equation
  #4
Nabi
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.
  Reply With Quote

Old   February 16, 2009, 19:06
Default Re: multigrid for laplace equation
  #5
deval
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..
  Reply With Quote

Old   February 16, 2009, 19:09
Default Re: multigrid for laplace equation
  #6
Nabi
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

  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Multigrid for Euler's equation srinath Main CFD Forum 0 August 17, 2008 13:58
Calculation of the Governing Equations Mihail CFX 5 July 25, 2008 17:29
Multigrid Method for Euler Equation Vidhyashankar.N Main CFD Forum 2 March 23, 2008 22:14


All times are GMT -4. The time now is 06:23.