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

Using a grid generator

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 21, 2009, 12:04
Default Using a grid generator
  #1
New Member
 
Fernando Herrera
Join Date: Mar 2009
Posts: 18
Rep Power: 7
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

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
Structured Airfoil Grid Generator A.S. Main CFD Forum 1 September 30, 2008 18:29
3D structured curvilinear grid generator George Main CFD Forum 0 May 29, 2006 06:29
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 04:59
grid generator Edwin Munts Main CFD Forum 2 December 4, 2000 14:54
Grid generator for structured grids Tore Myhrvold Main CFD Forum 5 January 21, 1999 08:09


All times are GMT -4. The time now is 18:26.