|
[Sponsors] |
January 19, 2012, 13:52 |
grid generation finite difference
|
#1 |
New Member
Armin Gh.
Join Date: Sep 2010
Location: Aachen,Germany
Posts: 29
Rep Power: 15 |
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. |
|
January 19, 2012, 13:58 |
|
#2 | |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
Quote:
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 |
||
January 19, 2012, 14:29 |
|
#3 |
New Member
Armin Gh.
Join Date: Sep 2010
Location: Aachen,Germany
Posts: 29
Rep Power: 15 |
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 ?? |
|
January 19, 2012, 15:28 |
|
#4 |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
I probably have some Matlab code from my students somewhere....if this would be of help, send me your email by PN!
|
|
January 22, 2012, 17:02 |
|
#5 |
Senior Member
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18 |
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 |
|
January 22, 2012, 18:50 |
|
#6 |
New Member
Armin Gh.
Join Date: Sep 2010
Location: Aachen,Germany
Posts: 29
Rep Power: 15 |
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?
|
|
January 22, 2012, 19:00 |
|
#7 |
Senior Member
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18 |
Yes, that's why they call it experience ;-)
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com Blog: http://blog.pointwise.com/ on Twitter: @jchawner |
|
January 22, 2012, 20:39 |
|
#8 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
Quote:
thank you very much for the link. I have handbook of grid generation, so it would be nice addition to it. |
||
January 23, 2012, 06:23 |
|
#9 |
Senior Member
Join Date: Oct 2011
Posts: 239
Rep Power: 16 |
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 |
|
April 12, 2012, 04:01 |
C-grid problem...
|
#10 |
New Member
fatimah
Join Date: Sep 2011
Posts: 5
Rep Power: 14 |
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.. |
|
|
|
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 11:32 |
finite difference formulae for variable grid size | yfyap | Main CFD Forum | 3 | March 14, 2006 12:01 |
structured grid generation | pertup | Main CFD Forum | 0 | November 2, 2004 03:05 |
finite difference method for navier-stokes problem | dallybird | Main CFD Forum | 5 | February 17, 2003 22:00 |
Finite Volume Vs Finite Difference | Mukkarum | Main CFD Forum | 3 | February 8, 2003 11:16 |