|
[Sponsors] |
April 21, 2009, 13:04 |
Using a grid generator
|
#1 |
New Member
Fernando Herrera
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
Hi,
I hope you can help me with a small question about grid generators. I am working a small CFD code in C++. It is a structured grid on two dimensions, nothing special about it. My code works with objects, this means that I have defined an object that stores all the variables that I want to solve in the system, e.g. Temperature or concentration. Then, I store all the objects in a vector and then I access them according to a row,column index. What I need help to understand is, how does a grid generator knows how many variables you are going to be working with? Does it create objects that store all the variables inside them, or does it create different arrays for the variables? Meaning, does it creates an array for the cells and another for the variables (temperature, concentration, velocity)? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Structured Airfoil Grid Generator | A.S. | Main CFD Forum | 1 | September 30, 2008 19:29 |
3D structured curvilinear grid generator | George | Main CFD Forum | 0 | May 29, 2006 07:29 |
Combustion Convergence problems | Art Stretton | Phoenics | 5 | April 2, 2002 06:59 |
grid generator | Edwin Munts | Main CFD Forum | 2 | December 4, 2000 15:54 |
Grid generator for structured grids | Tore Myhrvold | Main CFD Forum | 5 | January 21, 1999 09:09 |