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

Using a grid generator

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2009, 13:04
Default Using a grid generator
  #1
New Member
 
Fernando Herrera
Join Date: Mar 2009
Posts: 18
Rep Power: 17
Benzaa is on a distinguished road
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)?
Benzaa is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 07:03.