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

grid generation finite difference

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2012, 14:52
Default grid generation finite difference
  #1
New Member
 
Armin Gh.
Join Date: Sep 2010
Location: Aachen,Germany
Posts: 29
Rep Power: 15
Armin is on a distinguished road
Hi everyone,

It's been a while since I used the forum, here is the question,

I have been writing a finite difference code in python and I have reached the part, where I want to generate a more general mesh generation than just
a normal rectangular grid, is there any kind of road map, as how I could proceed? I'm interested in curvelinear coordinates as well with stretching etc.

So Is there any paper or some kind of a new approach? Any comment would be highly appreciated.
Armin is offline   Reply With Quote

Old   January 19, 2012, 14:58
Default
  #2
Senior Member
 
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20
cfdnewbie is on a distinguished road
Quote:
Originally Posted by Armin View Post
Hi everyone,

It's been a while since I used the forum, here is the question,

I have been writing a finite difference code in python and I have reached the part, where I want to generate a more general mesh generation than just
a normal rectangular grid, is there any kind of road map, as how I could proceed? I'm interested in curvelinear coordinates as well with stretching etc.

So Is there any paper or some kind of a new approach? Any comment would be highly appreciated.

A pretty good reference is the Tannehill and Pletcher book, is has a good chapter about elliptic grid generation for curvilinear domain. A student of mine build a C-grid generator after reading the chapter, so I assume it must have been helpful!

Cheers
cfdnewbie is offline   Reply With Quote

Old   January 19, 2012, 15:29
Default
  #3
New Member
 
Armin Gh.
Join Date: Sep 2010
Location: Aachen,Germany
Posts: 29
Rep Power: 15
Armin is on a distinguished road
Thanks alot , I will check that out.

Is there also any code snippets around to get an idea where to actually start and save time ??
Armin is offline   Reply With Quote

Old   January 19, 2012, 16:28
Default
  #4
Senior Member
 
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20
cfdnewbie is on a distinguished road
I probably have some Matlab code from my students somewhere....if this would be of help, send me your email by PN!
cfdnewbie is offline   Reply With Quote

Old   January 22, 2012, 18:02
Default
  #5
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18
jchawner is on a distinguished road
Armin: I recommend the classic text (available online) by Thompson, Warsi, and Mastin: http://www.erc.msstate.edu/publications/gridbook/
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Old   January 22, 2012, 19:50
Default
  #6
New Member
 
Armin Gh.
Join Date: Sep 2010
Location: Aachen,Germany
Posts: 29
Rep Power: 15
Armin is on a distinguished road
Thank you very much for your answer, I just downloaded the book. I also lack the programming experience, but I think it comes as I work through it , right?
Armin is offline   Reply With Quote

Old   January 22, 2012, 20:00
Default
  #7
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18
jchawner is on a distinguished road
Yes, that's why they call it experience ;-)
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Old   January 22, 2012, 21:39
Default
  #8
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,273
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by jchawner View Post
Armin: I recommend the classic text (available online) by Thompson, Warsi, and Mastin: http://www.erc.msstate.edu/publications/gridbook/

thank you very much for the link. I have handbook of grid generation, so it would be nice addition to it.
arjun is offline   Reply With Quote

Old   January 23, 2012, 07:23
Default
  #9
Senior Member
 
Join Date: Oct 2011
Posts: 239
Rep Power: 16
naffrancois is on a distinguished road
Hello !

You could also have a look to the Blazek's book, it comes along with some useful compact fortran codes for 2d elliptic grid generation

Blazek, Computational fluids dynamics: Principles and applications

good luck !
François
naffrancois is offline   Reply With Quote

Old   April 12, 2012, 05:01
Default C-grid problem...
  #10
New Member
 
fatimah
Join Date: Sep 2011
Posts: 5
Rep Power: 14
imah is on a distinguished road
HI..

I has problem with 2d euler.. I try to solve airfoil by using C-grid.. I used TVD scheme but i cant sucssesfully run the code.. before this, i use same programme to another problem, it sucssesfull run.. I though maybe some mistake i cant figure out..
1. im not sure the bounday condition for double connected grid...
2. because of using Finite differen method, maybe the grid generation not very good..

hope any suggestion for my problem.. thanks..


imah is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finite difference schemes on non uniform grid charlie ryan Main CFD Forum 3 October 18, 2007 12:32
finite difference formulae for variable grid size yfyap Main CFD Forum 3 March 14, 2006 13:01
structured grid generation pertup Main CFD Forum 0 November 2, 2004 04:05
finite difference method for navier-stokes problem dallybird Main CFD Forum 5 February 17, 2003 23:00
Finite Volume Vs Finite Difference Mukkarum Main CFD Forum 3 February 8, 2003 12:16


All times are GMT -4. The time now is 02:49.